summaryrefslogtreecommitdiff
path: root/mysql-test/r/repair.result
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-05-07 22:18:34 +0200
committerSergei Golubchik <serg@mariadb.org>2015-05-07 22:18:34 +0200
commit0014bdc7eef141dcd66930e853242b3be4960831 (patch)
tree6138b45e08fe9cbe817b03e4a8707b4da99075e3 /mysql-test/r/repair.result
parent8350ea05141c55c17807e9654c61cad481542480 (diff)
downloadmariadb-git-0014bdc7eef141dcd66930e853242b3be4960831.tar.gz
MDEV-8115 mysql_upgrade crashes the server with REPAIR VIEW
on REPAIR don't do table-specific stuff for views (because even if the view has a temp table opened for it, it's not opened all the way down the engine. In particular, Aria crashes in maria_status() because MARIA_HA* info - that is table->table->file->file - is NULL)
Diffstat (limited to 'mysql-test/r/repair.result')
-rw-r--r--mysql-test/r/repair.result7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/repair.result b/mysql-test/r/repair.result
index 52ae9c38792..51c3374602d 100644
--- a/mysql-test/r/repair.result
+++ b/mysql-test/r/repair.result
@@ -207,3 +207,10 @@ check table t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
+create table t1 (a blob);
+create view v1 as select * from t1;
+repair view v1;
+Table Op Msg_type Msg_text
+test.v1 repair status OK
+drop view v1;
+drop table t1;