mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- fix one warning
- fix some commit by accident? # did someone here mix c and php code ?
This commit is contained in:
parent
9e4286112e
commit
cc629666e8
1 changed files with 2 additions and 2 deletions
|
@ -1303,7 +1303,7 @@ PHP_FUNCTION(mysqli_prepare)
|
|||
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 @@ PHP_FUNCTION(mysqli_real_connect)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue