diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-12 14:20:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-20 15:43:46 +0200 |
commit | ed9c3239f4a795cd5778a4f76788b9980177b846 (patch) | |
tree | 3135a007840707f7a35700f39e8e79f9fd9ad061 /odb/options.cli | |
parent | 557d156ec9c45ed105f7213e1748dc4aad78ebb2 (diff) |
Change short data max and default string sizes for SQL Server
Now the default short data max is 1024, non-key string size is 512
characters, and key string size is 256 characters. Also add default
mapping for std::wstring.
Diffstat (limited to 'odb/options.cli')
-rw-r--r-- | odb/options.cli | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/options.cli b/odb/options.cli index ce7f837..4287231 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -430,7 +430,7 @@ class options // SQL Server-specific options. // - unsigned int --mssql-short-limit = 900 + unsigned int --mssql-short-limit = 1024 { "<size>", "Specify the short data size limit. If character, national character, @@ -443,9 +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 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." + data limit is 1024 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." }; // |