summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.h
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.mysql.com>2007-02-05 13:21:18 +0700
committerunknown <tomas@poseidon.mysql.com>2007-02-05 13:21:18 +0700
commitdd01c46f364a06d01d2e0a78015c243c82a826f9 (patch)
treea82d12bef210b751495f44174162f67c06b86910 /sql/ha_ndbcluster.h
parentc101bc1f4ca9e81b5f3a110f0aca3ca967798fb7 (diff)
downloadmariadb-git-dd01c46f364a06d01d2e0a78015c243c82a826f9.tar.gz
Bug #26021 - valgrind reports error regarding handle_trailing_share and client thread share usage
- add ndb_share connect_count to decide if share can be reused to setup replication sql/ha_ndbcluster.cc: add additional logging info remove inline real_free_share (not needed) and confuses valgrind printout sql/ha_ndbcluster.h: add connect_count to ndb_share to enable checking for version of share sql/ha_ndbcluster_binlog.cc: use ndb_share connect_count to decide if share can be reused to setup replication - share will be created early if table is accessed prior to handler setting up binlog stuff, see bug 26021 sql/ha_ndbcluster_binlog.h: remove inline real_free_share (not needed) and confuses valgrind printout
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r--sql/ha_ndbcluster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h
index 5b6900766b6..63665fde0f8 100644
--- a/sql/ha_ndbcluster.h
+++ b/sql/ha_ndbcluster.h
@@ -108,6 +108,7 @@ typedef struct st_ndbcluster_share {
char *table_name;
Ndb::TupleIdRange tuple_id_range;
#ifdef HAVE_NDB_BINLOG
+ uint32 connect_count;
uint32 flags;
NdbEventOperation *op;
NdbEventOperation *op_old; // for rename table