summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_statement.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-04-19 11:41:04 +0000
committerfoobar <sniper@php.net>2005-04-19 11:41:04 +0000
commit0e57528666990120621cc1317f35b696e6ebbd5f (patch)
tree709f9fbdf6d4c5d6105a8719a4f90222d6ba453a /ext/pdo_mysql/mysql_statement.c
parentcb0c9ac022f8c4112b8309d03261f6ac0f8f365e (diff)
downloadphp-git-0e57528666990120621cc1317f35b696e6ebbd5f.tar.gz
No c++ comments in C code
Diffstat (limited to 'ext/pdo_mysql/mysql_statement.c')
-rwxr-xr-xext/pdo_mysql/mysql_statement.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo_mysql/mysql_statement.c b/ext/pdo_mysql/mysql_statement.c
index 11d81136f2..48137dff38 100755
--- a/ext/pdo_mysql/mysql_statement.c
+++ b/ext/pdo_mysql/mysql_statement.c
@@ -67,8 +67,8 @@ static int pdo_mysql_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC)
row_count = mysql_affected_rows(H->server);
if (row_count == (my_ulonglong)-1) {
- // we either have a query that returned a result set or an error occured
- // lets see if we have access to a result set
+ /* we either have a query that returned a result set or an error occured
+ lets see if we have access to a result set */
S->result = mysql_use_result(H->server);
if (NULL == S->result) {
pdo_mysql_error_stmt(stmt);
@@ -82,7 +82,7 @@ static int pdo_mysql_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC)
S->fields = mysql_fetch_fields(S->result);
}
} else {
- // this was a DML or DDL query (INSERT, UPDATE, DELETE, ...
+ /* this was a DML or DDL query (INSERT, UPDATE, DELETE, ... */
stmt->row_count = row_count;
}