• unknown's avatar
    Bug #26021 - valgrind reports error regarding handle_trailing_share and client thread share usage · dd01c46f
    unknown authored
    - 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
    dd01c46f
ha_ndbcluster_binlog.h 6.92 KB