kalowsky                Fri Jan 24 17:43:43 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /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.143.2.1 php4/ext/odbc/php_odbc.c:1.143.2.2
--- php4/ext/odbc/php_odbc.c:1.143.2.1  Tue Dec 31 11:35:04 2002
+++ php4/ext/odbc/php_odbc.c    Fri Jan 24 17:43:42 2003
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_odbc.c,v 1.143.2.1 2002/12/31 16:35:04 sebastian Exp $ */
+/* $Id: php_odbc.c,v 1.143.2.2 2003/01/24 22:43:42 kalowsky Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -2921,6 +2921,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