diff options
author | Andrey Hristov <andrey@php.net> | 2011-10-25 23:01:49 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-10-25 23:01:49 +0000 |
commit | 845d8fa10c30f68acf425e20a69d3f33fc565e41 (patch) | |
tree | de8a39dbc4aad0c5cd72cf687de48929132dac80 /ext/mysqli/mysqli_mysqlnd.h | |
parent | 5e8bcbb08ac9b63ec33a69638ea6517a05a66bb6 (diff) | |
download | php-git-845d8fa10c30f68acf425e20a69d3f33fc565e41.tar.gz |
Move from directly referencing an aggregated structure to using a
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
Diffstat (limited to 'ext/mysqli/mysqli_mysqlnd.h')
-rw-r--r-- | ext/mysqli/mysqli_mysqlnd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_mysqlnd.h b/ext/mysqli/mysqli_mysqlnd.h index de10bb83ca..b6d23d9ef1 100644 --- a/ext/mysqli/mysqli_mysqlnd.h +++ b/ext/mysqli/mysqli_mysqlnd.h @@ -32,7 +32,7 @@ #define mysqli_result_is_unbuffered(r) ((r)->unbuf) #define mysqli_result_is_unbuffered_and_not_everything_is_fetched(r) ((r)->unbuf && !(r)->unbuf->eof_reached) -#define mysqli_server_status(c) (c)->upsert_status.server_status +#define mysqli_server_status(c) mysqlnd_get_server_status((c)) #define mysqli_stmt_get_id(s) ((s)->data->stmt_id) #define mysqli_stmt_warning_count(s) mysqlnd_stmt_warning_count((s)) #define mysqli_stmt_server_status(s) mysqlnd_stmt_server_status((s)) |