diff options
author | unknown <tomas@poseidon.mysql.com> | 2007-02-05 13:21:18 +0700 |
---|---|---|
committer | unknown <tomas@poseidon.mysql.com> | 2007-02-05 13:21:18 +0700 |
commit | dd01c46f364a06d01d2e0a78015c243c82a826f9 (patch) | |
tree | a82d12bef210b751495f44174162f67c06b86910 /sql/ha_ndbcluster_binlog.h | |
parent | c101bc1f4ca9e81b5f3a110f0aca3ca967798fb7 (diff) | |
download | mariadb-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_binlog.h')
-rw-r--r-- | sql/ha_ndbcluster_binlog.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/ha_ndbcluster_binlog.h b/sql/ha_ndbcluster_binlog.h index 44183c6de9d..00fc689f061 100644 --- a/sql/ha_ndbcluster_binlog.h +++ b/sql/ha_ndbcluster_binlog.h @@ -208,11 +208,6 @@ inline void free_share(NDB_SHARE **share, bool have_lock= FALSE) ndbcluster_free_share(share, have_lock); } -inline void real_free_share(NDB_SHARE **share) -{ - ndbcluster_real_free_share(share); -} - inline Thd_ndb * get_thd_ndb(THD *thd) { return (Thd_ndb *) thd->ha_data[ndbcluster_hton->slot]; } |