cvs: php4 /ext/odbc php_odbc.c

From: Date: Fri, 05 Jan 2001 22:01:22 +0000
Subject: cvs: php4 /ext/odbc php_odbc.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3395@lists.php.net to get a copy of this message
fmk Fri Jan 5 14:01:22 2001 EDT Modified files: /php4/ext/odbc php_odbc.c Log: Adding hack to allow odbc_tables to work on Access databases Index: php4/ext/odbc/php_odbc.c diff -u php4/ext/odbc/php_odbc.c:1.68 php4/ext/odbc/php_odbc.c:1.69 --- php4/ext/odbc/php_odbc.c:1.68 Thu Dec 28 11:23:09 2000 +++ php4/ext/odbc/php_odbc.c Fri Jan 5 14:01:22 2001 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_odbc.c,v 1.68 2000/12/28 19:23:09 kalowsky Exp $ */ +/* $Id: php_odbc.c,v 1.69 2001/01/05 22:01:22 fmk Exp $ */ #include "php.h" #include "php_globals.h" @@ -2505,6 +2505,9 @@ efree(result); RETURN_FALSE; } + + /* This hack is needed to access table information in Access databases (fmk) */ + if (table && strlen(table) && schema && !strlen(schema)) schema = NULL; rc = SQLTables(result->stmt, cat, SAFE_SQL_NTS(cat),

« previous php.cvs (#3395) next »