From 3c16d095b5b395560a567db8ae8cfa06899150f9 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Mon, 18 Feb 2002 03:16:11 +0000 Subject: The version is now 7.01.0010. 1) Handle parameter array. 2) Allow re-use of the connection handle after SQLDisconnect. 3) Reject NULL if no indicator specified. 4) Improve the handling of '_' in table name. 5) Unify internal begin/commit/abort operations. 6) Change SQLTables() to return null not "" for the table_owner. 7) Fix a bug about parameter handling reported by Benoit Menendez. 8) Add cast in handling ODBC date/time escape sequences. 9) Fix a bug about cache_size handing in declare/fetch mode. [ODBC3.0 related] 10) Improve the handling of descriptor handles(ODBC3.0). 11) Improve the type handling of some types for ODBC3.0. [Thanks to Marcelo Aceto for his useful patches] 12) Allow nested ODBC escape. 13) Allow changing autocommit on/off inside the transaction block. 14) Improve the handling of ODBC scalar functions. --- src/interfaces/odbc/bind.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/interfaces/odbc/bind.c') diff --git a/src/interfaces/odbc/bind.c b/src/interfaces/odbc/bind.c index e9f5cc34827..f3fb3537357 100644 --- a/src/interfaces/odbc/bind.c +++ b/src/interfaces/odbc/bind.c @@ -134,6 +134,8 @@ PGAPI_BindParameter( stmt->parameters[ipar].EXEC_buffer = NULL; } + if (pcbValue && stmt->options.param_offset_ptr) + pcbValue += (*stmt->options.param_offset_ptr >> 2); /* Data at exec macro only valid for C char/binary data */ if (pcbValue && (*pcbValue == SQL_DATA_AT_EXEC || *pcbValue <= SQL_LEN_DATA_AT_EXEC_OFFSET)) -- cgit v1.2.3