kalowsky                Fri Jan 24 17:40:39 2003 EDT

  Modified files:              
    /php4/ext/odbc      php_odbc.c 
  Log:
  Patch for bug #21844
  
  
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.152 php4/ext/odbc/php_odbc.c:1.153
--- php4/ext/odbc/php_odbc.c:1.152      Sat Jan 18 16:31:07 2003
+++ php4/ext/odbc/php_odbc.c    Fri Jan 24 17:40:38 2003
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_odbc.c,v 1.152 2003/01/18 21:31:07 iliaa Exp $ */
+/* $Id: php_odbc.c,v 1.153 2003/01/24 22:40:38 kalowsky Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -2878,6 +2878,11 @@
                efree(result);
                RETURN_FALSE;
        }
+
+       /* 
+        * Needed to make MS Access happy
+        */
+       if (table && strlen(table) && schema && !strlen(schema)) schema = NULL;
 
        rc = SQLColumns(result->stmt, 
                        cat, cat_len,



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to