summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-04-09 11:06:28 +0500
committerunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-04-09 11:06:28 +0500
commit6d9a796944c865afd9aab40711e1b134cb2245bc (patch)
tree867839be03578eb93d1ee9eb5925df65a31a3c92 /sql/sql_table.cc
parenta978d84cbc24178b804a0adea51be08cc7c660d9 (diff)
parentddaeead8fc3bf96b87c1f755c226a251c0732bb9 (diff)
downloadmariadb-git-6d9a796944c865afd9aab40711e1b134cb2245bc.tar.gz
Merge bk@192.168.21.1:mysql-5.0
into mysql.com:/d2/hf/mrg/mysql-5.0-opt sql/sql_table.cc: Auto merged
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