summaryrefslogtreecommitdiff
path: root/sql/rpl_injector.cc
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2006-03-11 06:58:48 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2006-03-11 06:58:48 +0100
commit435e084481f56879ba633d9633e5b8a2cbb3ab0b (patch)
tree38ed6335c091e2a32f3454e532b00e7f96cb89d4 /sql/rpl_injector.cc
parent29c9ca33b7c07d582d04d2efbb501100c10035ff (diff)
downloadmariadb-git-435e084481f56879ba633d9633e5b8a2cbb3ab0b.tar.gz
wl#3023 ndb to return correct tables for initial table maps
+ removed extra binlog events generated by drop table schema ops to produce predictable test cases storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: ndb: dict use define for number of pages in table definition
Diffstat (limited to 'sql/rpl_injector.cc')
-rw-r--r--sql/rpl_injector.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/rpl_injector.cc b/sql/rpl_injector.cc
index a69dea9a158..bf40ead070c 100644
--- a/sql/rpl_injector.cc
+++ b/sql/rpl_injector.cc
@@ -43,6 +43,9 @@ injector::transaction::transaction(MYSQL_LOG *log, THD *thd)
injector::transaction::~transaction()
{
+ if (!good())
+ return;
+
/* Needed since my_free expects a 'char*' (instead of 'void*'). */
char* const the_memory= const_cast<char*>(m_start_pos.m_file_name);