diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2008-11-13 17:06:48 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2008-11-13 17:06:48 +0400 |
commit | c049fc6bd62f9ef3b836a04be49ddc0fd0e4edc0 (patch) | |
tree | f87cbdce3aebd6bf8a45d0243ccd8127d458adc2 /sql/sql_table.cc | |
parent | 60d5e900891bc849d7a6180b708290fe7a3e93ab (diff) | |
download | mariadb-git-c049fc6bd62f9ef3b836a04be49ddc0fd0e4edc0.tar.gz |
Bug#39541 CHECK TABLE on information_schema myisam tables produces error
issue 'The storage engine for the table doesn't support check' note for I_S tables
mysql-test/r/mysqlcheck.result:
test result
mysql-test/t/mysqlcheck.test:
test case
sql/sql_table.cc:
issue 'The storage engine for the table doesn't support check' note for I_S tables
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 1724513eb8f..8baeca9ccf7 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -2322,6 +2322,12 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables, goto send_result; } + if (table->schema_table) + { + result_code= HA_ADMIN_NOT_IMPLEMENTED; + goto send_result; + } + if ((table->table->db_stat & HA_READ_ONLY) && open_for_modify) { char buff[FN_REFLEN + MYSQL_ERRMSG_SIZE]; |