summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-06-02 11:42:39 +0000
committerfoobar <sniper@php.net>2003-06-02 11:42:39 +0000
commit8282bd01175e8cd54feb1bcc41c5740134a1487f (patch)
tree4f65e376fe1720654fcbaa8bd118b23a258fc107 /ext/mysqli/mysqli_api.c
parent0346fb6a8929ee42ffa2ed1281150836f860a425 (diff)
downloadphp-git-8282bd01175e8cd54feb1bcc41c5740134a1487f.tar.gz
- No c++ comments in c code..
Diffstat (limited to 'ext/mysqli/mysqli_api.c')
-rw-r--r--ext/mysqli/mysqli_api.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index 3dcff81226..48fd12e662 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;
}