From 8282bd01175e8cd54feb1bcc41c5740134a1487f Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 2 Jun 2003 11:42:39 +0000 Subject: [PATCH] - No c++ comments in c code.. --- ext/mysqli/mysqli_api.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 3dcff81226b..48fd12e6622 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -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; } @@ -1710,7 +1710,8 @@ PHP_FUNCTION(mysqli_select_db) int dbname_len; PR_MYSQL *prmysql; -// if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &mysql_link, mysqli_link_class_entry, &dbname, &dbname_len) == FAILURE) { +/* if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &mysql_link, mysqli_link_class_entry, &dbname, &dbname_len) == FAILURE) { +*/ if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &mysql_link, mysqli_link_class_entry, &dbname, &dbname_len) == FAILURE) { return; }