Modified:
branches/guffert/driver/catalog.c
Log:
Fix checking of whether catalog was specified in SQLTables()
Modified: branches/guffert/driver/catalog.c
===================================================================
--- branches/guffert/driver/catalog.c 2008-07-14 22:05:50 UTC (rev 1130)
+++ branches/guffert/driver/catalog.c 2008-07-22 21:05:05 UTC (rev 1131)
@@ -286,7 +286,7 @@
if (type_len == SQL_NTS)
type_len= type ? strlen((char *)type) : 0;
- if (catalog && !schema_len && !table_len)
+ if (catalog_len && !schema_len && !table_len)
{
pthread_mutex_lock(&stmt->dbc->lock);
{
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r1131 - branches/guffert/driver | jwinstead | 22 Jul |