summaryrefslogtreecommitdiff
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
commit702ae31a1afa6a043620b655872a7c41b09fb812 (patch)
treef5260251d8ef99f3fe918c81c263a9949e78feae
parent423bb6c2f594390701fb6e7c432e9868b0e5719b (diff)
downloadmariadb-git-702ae31a1afa6a043620b655872a7c41b09fb812.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
-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);