Browse Source

* sqlite datasets adapted to also take BIGINT as ftlargeint type as per
sqlite docs. Mantis #18649

git-svn-id: trunk@18045 -

marco 14 years ago
parent
commit
5bc46002b9

+ 1 - 1
packages/fcl-db/src/sqlite/sqlite3ds.pas

@@ -204,7 +204,7 @@ begin
     end else if (ColumnStr = 'DATE') then
     begin
       AType := ftDate;
-    end else if (ColumnStr = 'LARGEINT') then
+    end else if (ColumnStr = 'LARGEINT') or (ColumnStr = 'BIGINT') then
     begin
       AType := ftLargeInt;
     end else if (ColumnStr = 'TIME') then

+ 1 - 1
packages/fcl-db/src/sqlite/sqliteds.pas

@@ -168,7 +168,7 @@ begin
     end else if (ColumnStr = 'TIME') then
     begin
       AType := ftTime;
-    end else if (ColumnStr = 'LARGEINT') then
+    end else if (ColumnStr = 'LARGEINT') or (ColumnStr = 'BIGINT') then
     begin
       AType := ftLargeInt;
     end else if (ColumnStr = 'TEXT') then