summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <magnus@shellback.(none)>2004-09-26 16:11:24 +0200
committerunknown <magnus@shellback.(none)>2004-09-26 16:11:24 +0200
commit5077ba47ad95f166b107dd4da29ae595516e85ab (patch)
tree1d3702820ede0b06dd2271c41fe8c3d78c8afe5c /sql/handler.h
parent0609dba34abe2513afeca29462b48ad930bdbdb8 (diff)
downloadmariadb-git-5077ba47ad95f166b107dd4da29ae595516e85ab.tar.gz
WL#1424 Updated after review
* 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
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index fea03c5080e..9806d2e7499 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -566,7 +566,7 @@ int ha_change_key_cache(KEY_CACHE *old_key_cache,
int ha_discover(THD* thd, const char* dbname, const char* name,
const void** frmblob, uint* frmlen);
int ha_find_files(THD *thd,const char *db,const char *path,
- const char *wild, bool dir);
+ const char *wild, bool dir,List<char>* files);
int ha_table_exists(THD* thd, const char* db, const char* name);