List:Commits« Previous MessageNext Message »
From:jwinstead Date:July 22 2008 11:05pm
Subject:Connector/ODBC 3.51 commit: r1131 - branches/guffert/driver
View as plain text  
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/driverjwinstead22 Jul