summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2002-05-29 14:04:19 +0300
committerunknown <heikki@hundin.mysql.fi>2002-05-29 14:04:19 +0300
commit336d94bcec2a2e6426d4386e590187104c0211ea (patch)
treef5260251d8ef99f3fe918c81c263a9949e78feae /sql
parent940a8a4020442f0d19d0137a8a847429af3f8a05 (diff)
downloadmariadb-git-336d94bcec2a2e6426d4386e590187104c0211ea.tar.gz
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 sql/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
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_innobase.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc
index a741ffefbb5..5ce7869e3f8 100644
--- a/sql/ha_innobase.cc
+++ b/sql/ha_innobase.cc
@@ -649,6 +649,7 @@ innobase_close_connection(
(thd->transaction.all.innobase_tid));
trx_free_for_mysql((trx_t*)
(thd->transaction.all.innobase_tid));
+ thd->transaction.all.innobase_tid = NULL;
}
return(0);