diff options
author | Georg Richter <georg@php.net> | 2004-02-26 08:27:24 +0000 |
---|---|---|
committer | Georg Richter <georg@php.net> | 2004-02-26 08:27:24 +0000 |
commit | 5ffccfffdaefd76706df6d9776e195880b65d7a4 (patch) | |
tree | 6bad7f7a244905fe8c78ff62075bb30b8e689790 /ext/mysqli/mysqli_prop.c | |
parent | 1085c6c7f1da7b23821184ba2a0f35043bfd0f2b (diff) | |
download | php-git-5ffccfffdaefd76706df6d9776e195880b65d7a4.tar.gz |
removed blocking calls to mysql_set_server_option (MYSQLI_DISABLE_MQ)
added mysqli_multi_query to function table
changed stmt->affected_rows property (http://bugs.mysql.com/?id=2247) for 4.1.2
Diffstat (limited to 'ext/mysqli/mysqli_prop.c')
-rw-r--r-- | ext/mysqli/mysqli_prop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli_prop.c b/ext/mysqli/mysqli_prop.c index 80fe16a9fe..8e134183d3 100644 --- a/ext/mysqli/mysqli_prop.c +++ b/ext/mysqli/mysqli_prop.c @@ -177,7 +177,11 @@ MYSQLI_MAP_PROPERTY_LONG_LONG(result_num_rows_read, MYSQL_RES, row_count); /* statement properties */ +#if MYSQL_VERSION_ID < 40102 MYSQLI_MAP_PROPERTY_LONG_LONG(stmt_affected_rows_read, STMT, stmt->mysql->last_used_con->affected_rows); +#else +MYSQLI_MAP_PROPERTY_LONG_LONG(stmt_affected_rows_read, STMT, stmt->affected_rows); +#endif MYSQLI_MAP_PROPERTY_LONG_LONG(stmt_num_rows_read, STMT, stmt->result->row_count); MYSQLI_MAP_PROPERTY_STRING(stmt_query_read, STMT, stmt->query); MYSQLI_MAP_PROPERTY_LONG(stmt_param_count_read, STMT, stmt->param_count); |