sniper Mon Jun 2 07:42:39 2003 EDT Modified files: /php4/ext/mysqli mysqli_api.c Log: - No c++ comments in c code.. Index: php4/ext/mysqli/mysqli_api.c diff -u php4/ext/mysqli/mysqli_api.c:1.28 php4/ext/mysqli/mysqli_api.c:1.29 --- php4/ext/mysqli/mysqli_api.c:1.28 Sat May 31 18:03:57 2003 +++ php4/ext/mysqli/mysqli_api.c Mon Jun 2 07:42:39 2003 @@ -15,7 +15,7 @@ | Author: Georg Richter <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mysqli_api.c,v 1.28 2003/05/31 22:03:57 helly Exp $ + $Id: mysqli_api.c,v 1.29 2003/06/02 11:42:39 sniper Exp $ */ #ifdef HAVE_CONFIG_H @@ -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; } @@ -1710,7 +1710,8 @@ 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; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php