summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/odbcapi.c
diff options
context:
space:
mode:
authorHiroshi Inoue2002-02-18 03:16:11 +0000
committerHiroshi Inoue2002-02-18 03:16:11 +0000
commit3c16d095b5b395560a567db8ae8cfa06899150f9 (patch)
tree35c051e30bea40eb4003f2749117cb6ab627f1d0 /src/interfaces/odbc/odbcapi.c
parentb6db89a02d187a42e33fc3af8170749f22fdac99 (diff)
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.
Diffstat (limited to 'src/interfaces/odbc/odbcapi.c')
-rw-r--r--src/interfaces/odbc/odbcapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/odbc/odbcapi.c b/src/interfaces/odbc/odbcapi.c
index a87c35850c4..0527b21c38b 100644
--- a/src/interfaces/odbc/odbcapi.c
+++ b/src/interfaces/odbc/odbcapi.c
@@ -84,8 +84,8 @@ SQLColumns(HSTMT StatementHandle,
{
mylog("[SQLColumns]");
return PGAPI_Columns(StatementHandle, CatalogName, NameLength1,
- SchemaName, NameLength2, TableName, NameLength3,
- ColumnName, NameLength4);
+ SchemaName, NameLength2, TableName, NameLength3,
+ ColumnName, NameLength4, 0);
}
@@ -218,7 +218,7 @@ SQLFetch(HSTMT StatementHandle)
RETCODE SQL_API
SQLFreeConnect(HDBC ConnectionHandle)
{
- mylog("[SQLFreeStmt]");
+ mylog("[SQLFreeConnect]");
return PGAPI_FreeConnect(ConnectionHandle);
}