summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-12-01 14:26:46 +0400
committerunknown <ramil@mysql.com>2005-12-01 14:26:46 +0400
commit506a2b6b9d7f0a09576eb0e4a50c98d361c37a6b (patch)
tree0e07e79eba1743235ab80eee39f51e0bfda3787b /sql/sql_class.h
parenta43a84d7f6a071e3caf5127e0f6ea551fc63d9e6 (diff)
downloadmariadb-git-506a2b6b9d7f0a09576eb0e4a50c98d361c37a6b.tar.gz
Fix for bug #14304: auto_increment field incorrect set from within stored procedure (insert select).
sql/sp_head.cc: Fix for bug #14304: auto_increment field incorrect set from within stored procedure (insert select). - call thd->cleanup_after_query() to clean next_insert_id. sql/sql_class.cc: Fix for bug #14304: auto_increment field incorrect set from within stored procedure (insert select). - save/restore clear_next_insert_id sql/sql_class.h: Fix for bug #14304: auto_increment field incorrect set from within stored procedure (insert select). - clear_next_insert_id added
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 33be70ee674..0a5a615fe64 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1090,7 +1090,7 @@ public:
ha_rows cuted_fields, sent_row_count, examined_row_count;
ulong client_capabilities;
uint in_sub_stmt;
- bool enable_slow_log, insert_id_used;
+ bool enable_slow_log, insert_id_used, clear_next_insert_id;
my_bool no_send_ok;
SAVEPOINT *savepoints;
};