summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/deer.(none) <>2006-10-24 17:19:02 +0500
committerholyfoot/hf@mysql.com/deer.(none) <>2006-10-24 17:19:02 +0500
commitd0ef58b6a481134610640857ec54d0259f151669 (patch)
tree15b5251cf1b2339c2a889b5a6e552e9e9e6fcd1d /sql/sql_class.h
parent0612a212d129501436025403787c48f74879b00a (diff)
downloadmariadb-git-d0ef58b6a481134610640857ec54d0259f151669.tar.gz
Bug #23427 (incompatible ABI change)
the incompatibility was caused by current_stmt member added to the MYSQL structure. It's possible to move it to THD structure instead which saves ABI
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index cc90de2a6ea..ed161de55de 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -686,6 +686,12 @@ public:
char *extra_data;
ulong extra_length;
String query_rest;
+ /*
+ In embedded server it points to the statement that is processed
+ in the current query. We store some results directly in statement
+ fields then.
+ */
+ struct st_mysql_stmt *current_stmt;
#endif
NET net; // client connection descriptor
MEM_ROOT warn_root; // For warnings and errors