summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-06-07 14:19:49 +0300
committerMichael Widenius <monty@askmonty.org>2011-06-07 14:19:49 +0300
commit8d7f81089444e20526685b3ffe36b72d5ecdc157 (patch)
tree490b3363b21ed051c82a01af549a826ec0bef6f2 /sql
parent2740edcf5680bc03a318378514f88fefa67d5923 (diff)
downloadmariadb-git-8d7f81089444e20526685b3ffe36b72d5ecdc157.tar.gz
Upgraded to latest handlersocket code. This fixed LP:766870 "Assertion `next_insert_id == 0' failed with handlersocket"
sql/handler.cc: Added DBUG_ code
Diffstat (limited to 'sql')
-rw-r--r--sql/handler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 8debc61f9d0..c49b6bfc290 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -2687,6 +2687,7 @@ void handler::get_auto_increment(ulonglong offset, ulonglong increment,
void handler::ha_release_auto_increment()
{
+ DBUG_ENTER("ha_release_auto_increment");
release_auto_increment();
insert_id_for_cur_row= 0;
auto_inc_interval_for_cur_row.replace(0, 0, 0);
@@ -2700,6 +2701,7 @@ void handler::ha_release_auto_increment()
*/
table->in_use->auto_inc_intervals_forced.empty();
}
+ DBUG_VOID_RETURN;
}