Changeset: 873c0e0d5815 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=873c0e0d5815
Modified Files:
clients/odbc/driver/SQLBindParameter.c
clients/odbc/driver/SQLExecute.c
Branch: Aug2011
Log Message:
The server does do tinyint.
diffs (32 lines):
diff --git a/clients/odbc/driver/SQLBindParameter.c
b/clients/odbc/driver/SQLBindParameter.c
--- a/clients/odbc/driver/SQLBindParameter.c
+++ b/clients/odbc/driver/SQLBindParameter.c
@@ -200,7 +200,7 @@ SQLBindParameter_(ODBCStmt *stmt,
/* case SQL_WVARCHAR: */
/* case SQL_WLONGVARCHAR: */
case SQL_BIT:
-/* case SQL_TINYINT: */
+ case SQL_TINYINT:
case SQL_SMALLINT:
case SQL_INTEGER:
case SQL_BIGINT:
@@ -229,7 +229,6 @@ SQLBindParameter_(ODBCStmt *stmt,
case SQL_WCHAR:
case SQL_WVARCHAR:
case SQL_WLONGVARCHAR:
- case SQL_TINYINT:
case SQL_GUID:
/* Optional feature not implemented */
addStmtError(stmt, "HYC00", NULL, 0);
diff --git a/clients/odbc/driver/SQLExecute.c b/clients/odbc/driver/SQLExecute.c
--- a/clients/odbc/driver/SQLExecute.c
+++ b/clients/odbc/driver/SQLExecute.c
@@ -61,7 +61,7 @@ static struct msql_types {
{"table", 0},
{"time", SQL_TYPE_TIME},
{"timestamp", SQL_TYPE_TIMESTAMP},
-/* {"tinyint", SQL_TINYINT}, */
+ {"tinyint", SQL_TINYINT},
/* {"ubyte", SQL_TINYINT}, */
{"varchar", SQL_VARCHAR},
{"wrd", SQL_BIGINT},
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list