summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorHiroshi Inoue2004-01-06 09:58:22 +0000
committerHiroshi Inoue2004-01-06 09:58:22 +0000
commit01d10c233df6a83597f89e66b5481636bdcf8f3c (patch)
tree00c88bdedfbc5d476387cb8a63059d028cc4e9e3 /options.c
parentbd80a030e7f8b8a532a89e8ee418dc3834d9ee5b (diff)
1) Correct the handling of SQL_C_ULONG (for *nix).
2) Prevent plan deallocation errors when the transaction is in abort status. 3) Avoid a connection failure when notice message arrives. 4) Improve the handling of mutex(critical section). 5) Correct the cursor open check. 6) Change the Unicode driver to set the NULL terminator of SQL_C_WCHAR type data properly. 7) Add some m(re)alloc error check. 8) Add proper cleanup steps for some functions. 9) Return proper min & max scale for timestamp data type. 10) Return proper scale for timestamp data fields. 11) Fix the bug that .009 numeric generates .9 output. (George A.J)
Diffstat (limited to 'options.c')
-rw-r--r--options.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/options.c b/options.c
index 0a8a4d9..3bf5519 100644
--- a/options.c
+++ b/options.c
@@ -249,8 +249,9 @@ set_statement_option(ConnectionClass *conn,
conn->stmtOptions.use_bookmarks = vParam;
break;
- case 1227:
- case 1228:
+ case 1204: /* SQL_COPT_SS_PRESERVE_CURSORS ? */
+ case 1227: /* SQL_SOPT_SS_HIDDEN_COLUMNS ? */
+ case 1228: /* SQL_SOPT_SS_NOBROWSETABLE ? */
if (stmt)
{
SC_set_error(stmt, STMT_OPTION_NOT_FOR_THE_DRIVER, "The option may be for MS SQL Server(Set)");