cvs: php4 /ext/odbc php_odbc.c

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

« previous php.cvs (#18149) next »