Modified:
trunk/test/include/odbctap.h
Log:
fixed declaration of var
Modified: trunk/test/include/odbctap.h
===================================================================
--- trunk/test/include/odbctap.h 2007-03-21 16:56:35 UTC (rev 256)
+++ trunk/test/include/odbctap.h 2007-03-21 20:42:17 UTC (rev 257)
@@ -161,12 +161,13 @@
SQLCHAR sqlstate[6], message[SQL_MAX_MESSAGE_LENGTH];
SQLINTEGER native_error;
SQLSMALLINT length;
+ SQLRETURN drc;
/** @todo map rc to SQL_SUCCESS_WITH_INFO, etc */
printf("# %s = %d\n", text, rc);
/** @todo Handle multiple diagnostic records. */
- SQLRETURN drc= SQLGetDiagRec(htype, handle, 1, sqlstate, &native_error,
+ drc= SQLGetDiagRec(htype, handle, 1, sqlstate, &native_error,
message, SQL_MAX_MESSAGE_LENGTH - 1, &length);
if (SQL_SUCCEEDED(drc))
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r257 - trunk/test/include | jbalint | 21 Mar |