diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-12-22 11:23:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-20 15:43:45 +0200 |
commit | 3bda8a75778eaad3096a2b2e36560d3edabc6d24 (patch) | |
tree | 6c3129bae4fb0c747e1c6d4b8d75fa86ea527ecf | |
parent | bf122510c89d80380277ab3fb374e647bd3e2ac8 (diff) |
Change short data limit to match that of object id
Object id must never be treated as long data.
-rw-r--r-- | odb/options.cli | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/odb/options.cli b/odb/options.cli index a8ff86d..ce7f837 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -430,7 +430,7 @@ class options // SQL Server-specific options. // - unsigned int --mssql-short-limit = 256 + unsigned int --mssql-short-limit = 900 { "<size>", "Specify the short data size limit. If character, national character, @@ -443,7 +443,9 @@ class options in chunks using the \cb{SQLGetData()}/\cb{SQLPutData()} ODBC functions. While the long data approach reduces the amount of memory used by the application, it may require greater CPU resources. The default short - data limit is 256 bytes." + data limit is 900 bytes. When setting a custom short data limit make + sure that it is sufficiently large so that no character object id + in the application is treated as long data." }; // |