Browse Source

* Allow string-parameters of more then 8000 characters, bug #13530

git-svn-id: trunk@13100 -
joost 16 years ago
parent
commit
67dcd3be0b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-db/src/sqldb/odbc/odbcconn.pas

+ 1 - 1
packages/fcl-db/src/sqldb/odbc/odbcconn.pas

@@ -365,7 +365,7 @@ begin
           if AParams[ParamIndex].DataType = ftString then
             begin
             CType:=SQL_C_CHAR;
-            SqlType:=SQL_CHAR;
+            SqlType:=SQL_LONGVARCHAR;
             end
           else // ftBlob, ftMemo
             begin