Browse Source

* Reinstate ftlongword support, accidentally removed. Fixes issue #41014

Michaël Van Canneyt 8 months ago
parent
commit
8c8bef492f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-db/src/sqldb/mysql/mysqlconn.inc

+ 2 - 0
packages/fcl-db/src/sqldb/mysql/mysqlconn.inc

@@ -898,6 +898,8 @@ begin
       begin
       if AField^.flags and AUTO_INCREMENT_FLAG <> 0 then
         NewType := ftAutoInc
+      else if AField^.flags and UNSIGNED_FLAG <> 0 then
+        NewType := ftLongWord
       else
         NewType := ftInteger;
       end;