diff options
author | Andrey Hristov <andrey@php.net> | 2010-03-16 12:36:57 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-03-16 12:36:57 +0000 |
commit | 7496cc761ea31bfae22842811020039d1ea25030 (patch) | |
tree | f1062c57ceefa6c55b062cc435c60fb352555249 /ext/mysqli/mysqli_libmysql.h | |
parent | da538251c17e6ad8609f9c6c11388c8dcae4db3c (diff) | |
download | php-git-7496cc761ea31bfae22842811020039d1ea25030.tar.gz |
decouple the methods in MYSQLND_STMT from the data,
needed to move to a new structure MYSQLND_STMT. Makes
the code cleaner and less error-prone.
Also fix PDO/MySQL which directly touch mysqlnd internals
instead of using API calls.
Diffstat (limited to 'ext/mysqli/mysqli_libmysql.h')
-rw-r--r-- | ext/mysqli/mysqli_libmysql.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli_libmysql.h b/ext/mysqli/mysqli_libmysql.h index 84fb7c81ae..8e0c735b1a 100644 --- a/ext/mysqli/mysqli_libmysql.h +++ b/ext/mysqli/mysqli_libmysql.h @@ -31,6 +31,7 @@ #define mysqli_result_is_unbuffered(r) ((r)->handle && (r)->handle->status == MYSQL_STATUS_USE_RESULT) #define mysqli_server_status(c) (c)->server_status +#define mysqli_stmt_get_id(s) ((s)->stmt_id) #define mysqli_stmt_warning_count(s) mysql_warning_count((s)->mysql) #define mysqli_stmt_server_status(s) (s)->mysql->server_status #define mysqli_stmt_get_connection(s) (s)->mysql |