ha_innobase.cc:

  Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny
parent 6d0e43c7
...@@ -649,6 +649,7 @@ innobase_close_connection( ...@@ -649,6 +649,7 @@ innobase_close_connection(
(thd->transaction.all.innobase_tid)); (thd->transaction.all.innobase_tid));
trx_free_for_mysql((trx_t*) trx_free_for_mysql((trx_t*)
(thd->transaction.all.innobase_tid)); (thd->transaction.all.innobase_tid));
thd->transaction.all.innobase_tid = NULL;
} }
return(0); return(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment