[Commits] Rev 2909: Fix incorrect DBUG_ASSERT(). in http://bazaar.launchpad.net/~maria-captains/maria/5.2

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Wed Jan 26 15:25:34 EET 2011


At http://bazaar.launchpad.net/~maria-captains/maria/5.2

------------------------------------------------------------
revno: 2909
revision-id: knielsen at knielsen-hq.org-20110126132534-ecdxlxgtwwm2xmcc
parent: knielsen at knielsen-hq.org-20110113131507-j9snfp7gwqqp3rre
committer: knielsen at knielsen-hq.org
branch nick: work-5.2-percona
timestamp: Wed 2011-01-26 14:25:34 +0100
message:
  Fix incorrect DBUG_ASSERT().
=== modified file 'sql/log_event.cc'
--- a/sql/log_event.cc	2011-01-11 08:06:54 +0000
+++ b/sql/log_event.cc	2011-01-26 13:25:34 +0000
@@ -9210,7 +9210,7 @@ int Rows_log_event::find_key()
   KEY *key, *best_key;
   ulong best_rec_per_key, tmp;
   DBUG_ENTER("Rows_log_event::find_key");
-  DBUG_ASSERT(m_table && m_table->in_use != NULL);
+  DBUG_ASSERT(m_table);
 
   best_key_nr= MAX_KEY;
   LINT_INIT(best_key);



More information about the commits mailing list