helly Sat May 31 18:03:57 2003 EDT
Modified files:
/php4/ext/mysqli mysqli_api.c
Log:
- fix one warning
- fix some commit by accident?
# did someone here mix c and php code ?
Index: php4/ext/mysqli/mysqli_api.c
diff -u php4/ext/mysqli/mysqli_api.c:1.27 php4/ext/mysqli/mysqli_api.c:1.28
--- php4/ext/mysqli/mysqli_api.c:1.27 Sat May 31 03:05:34 2003
+++ php4/ext/mysqli/mysqli_api.c Sat May 31 18:03:57 2003
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: mysqli_api.c,v 1.27 2003/05/31 07:05:34 georg Exp $
+ $Id: mysqli_api.c,v 1.28 2003/05/31 22:03:57 helly Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1303,7 +1303,7 @@
MYSQL *mysql;
STMT *stmt;
PR_MYSQL *prmysql;
- PR_STMT *prstmt;
+ PR_STMT *prstmt = NULL;
char *query = NULL;
unsigned int query_len;
zval *mysql_link;
@@ -1436,7 +1436,7 @@
MYSQLI_FETCH_RESOURCE(mysql, MYSQL *, prmysql, PR_MYSQL *, &mysql_link,
"mysqli_link");
/* remove some insecure options */
- $flags ^= CLIENT_MULTI_QUERIES; // don't allow multi_queries via connect
parameter
+ flags ^= CLIENT_MULTI_QUERIES; // don't allow multi_queries via connect
parameter
if (PG(open_basedir) && strlen(PG(open_basedir))) {
flags ^= CLIENT_LOCAL_FILES;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php