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