From 7496cc761ea31bfae22842811020039d1ea25030 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Tue, 16 Mar 2010 12:36:57 +0000 Subject: 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. --- ext/mysqli/mysqli_libmysql.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/mysqli/mysqli_libmysql.h') 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 -- cgit v1.2.1