summaryrefslogtreecommitdiff
path: root/sql/sql_admin.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2016-06-25 20:55:43 +0200
committerSergei Golubchik <serg@mariadb.org>2016-06-30 11:43:02 +0200
commit2fe8dd0f90e2bbe0180e30c36ebc9132fcdd4b06 (patch)
tree4d84b1ddb3e0af4660d52c0ac1792e85c652fc0d /sql/sql_admin.cc
parentdb7edfed17efe6bc3684b0fbacc0b0249e4f0fa2 (diff)
downloadmariadb-git-2fe8dd0f90e2bbe0180e30c36ebc9132fcdd4b06.tar.gz
various cleanups
Diffstat (limited to 'sql/sql_admin.cc')
-rw-r--r--sql/sql_admin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index 4414f11ecd4..e76e5d830c9 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -163,7 +163,7 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
- Run a normal repair using the new index file and the old data file
*/
- if (table->s->frm_version != FRM_VER_TRUE_VARCHAR &&
+ if (table->s->frm_version < FRM_VER_TRUE_VARCHAR &&
table->s->varchar_fields)
{
error= send_check_errmsg(thd, table_list, "repair",