Browse Source

* Map text field on ftMemo, since string has limited length. Fixes issue #40686

(cherry picked from commit f0e34e8fabafd121ee2a7e4f6e3f005727a271f7)
Michaël Van Canneyt 1 year ago
parent
commit
3f8bf07d54
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/fcl-db/src/sqldb/sqlite/sqlite3conn.pp

+ 3 - 1
packages/fcl-db/src/sqldb/sqlite/sqlite3conn.pp

@@ -537,7 +537,9 @@ begin
         stInteger: FT:=ftLargeInt;
         stFloat:   FT:=ftFloat;
         stBlob:    FT:=ftBlob;
-        else       FT:=ftString;
+        stText:    FT:=ftMemo; 
+      else       
+        FT:=ftString;
       end;
     // handle some specials.
     size1:=0;