• unknown's avatar
    WL#1424 Updated after review · 0e315ff7
    unknown authored
    * Changed the implementation of ndbcluster_find_files to be more efficient, using only one mutex lock
    * Moved ha_find_files to end of mysql_find_files so that it can be passed the list that we are interested to find. 
    
    
    mysql-test/t/ndb_autodiscover.test:
      Added a new test case, disabled for now, waiting for mysql-test-run to set a NDB_CONNECTSTRING
    sql/ha_ndbcluster.cc:
      Rewrite of ndbcluster_find_files to remove and delete files using only one mutex lock. 
      This version only discover files that fulfill wildcard.
    sql/ha_ndbcluster.h:
      Add list of files as parameter
    sql/handler.cc:
      Add list of files as parameter
    sql/handler.h:
      Add list of files as parameter
    sql/sql_show.cc:
      Moving the ha_find_files to end of function, so that the file lista can be passsed to it.
    BitKeeper/etc/logging_ok:
      Logging to logging@openlogging.org accepted
    0e315ff7
handler.cc 43.3 KB