diff options
author | tomas@poseidon.ndb.mysql.com <> | 2004-10-03 21:39:04 +0000 |
---|---|---|
committer | tomas@poseidon.ndb.mysql.com <> | 2004-10-03 21:39:04 +0000 |
commit | f6ad058388e40f467eace3cb09d6712e6b3eb598 (patch) | |
tree | aba1618cac773466e58a7ff45f66bb205fe52130 /sql/sql_show.cc | |
parent | fbf2a6ac0ca6f15c137cf2ea19a67fe7808c6a64 (diff) | |
parent | 673dc109b41784843d2f26c826ddfb77ea8bd12c (diff) | |
download | mariadb-git-f6ad058388e40f467eace3cb09d6712e6b3eb598.tar.gz |
Merge
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 714fb0a2efe..413de53f4bc 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -374,6 +374,7 @@ mysql_find_files(THD *thd,List<char> *files, const char *db,const char *path, if (wild && !wild[0]) wild=0; + bzero((char*) &table_list,sizeof(table_list)); if (!(dirp = my_dir(path,MYF(MY_WME | (dir ? MY_WANT_STAT : 0))))) @@ -445,6 +446,9 @@ mysql_find_files(THD *thd,List<char> *files, const char *db,const char *path, } DBUG_PRINT("info",("found: %d files", files->elements)); my_dirend(dirp); + + VOID(ha_find_files(thd,db,path,wild,dir,files)); + DBUG_RETURN(0); } |