Skip to content

Commit

Permalink
Update fix for Bug#36380711, Tests failing due to removal of deprecat…
Browse files Browse the repository at this point in the history
…ed features.

Change-Id: I6561e4bdfb5e07c4497d2d3e43f8d737632be631
  • Loading branch information
fjssilva committed Mar 9, 2024
1 parent b1da962 commit 5f2383d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4002,6 +4002,13 @@ private byte[][] getTypeInfo(String mysqlTypeName) throws SQLException {
case TINYINT_UNSIGNED:
rowVal[11] = s2b("true"); // Auto Increment
break;
case DOUBLE:
case DOUBLE_UNSIGNED:
case FLOAT:
case FLOAT_UNSIGNED:
boolean supportsAutoIncrement = !this.session.versionMeetsMinimum(8, 4, 0);
rowVal[11] = supportsAutoIncrement ? s2b("true") : s2b("false"); // Auto Increment
break;
default:
rowVal[11] = s2b("false"); // Auto Increment
break;
Expand Down

0 comments on commit 5f2383d

Please sign in to comment.