summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/hfmain.(none) <>2007-04-09 11:06:28 +0500
committerholyfoot/hf@mysql.com/hfmain.(none) <>2007-04-09 11:06:28 +0500
commit65535824bac9df000e95d765ae0e648c35885944 (patch)
tree867839be03578eb93d1ee9eb5925df65a31a3c92 /sql/sql_table.cc
parent1bc1eecd42e563a2bb1abe7a0e6cb61d321f5309 (diff)
parentc282dd3715e8be3e4a7753587e7b452b97ebbb85 (diff)
downloadmariadb-git-65535824bac9df000e95d765ae0e648c35885944.tar.gz
Merge bk@192.168.21.1:mysql-5.0
into mysql.com:/d2/hf/mrg/mysql-5.0-opt
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 607fc4c5040..57da29e2646 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -2091,7 +2091,9 @@ static int prepare_for_repair(THD* thd, TABLE_LIST *table_list,
/*
Check if this is a table type that stores index and data separately,
- like ISAM or MyISAM
+ like ISAM or MyISAM. We assume fixed order of engine file name
+ extentions array. First element of engine file name extentions array
+ is meta/index file extention. Second element - data file extention.
*/
if (!ext[0] || !ext[1])
goto end; // No data file