cvs: php4(PHP_4_3) /ext/odbc php_odbc.c

From: Date: Fri, 24 Jan 2003 22:43:43 +0000
Subject: cvs: php4(PHP_4_3) /ext/odbc php_odbc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18150@lists.php.net to get a copy of this message
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,

« previous php.cvs (#18150) next »