summaryrefslogtreecommitdiff
path: root/mysql-test/r/check.result
diff options
context:
space:
mode:
authorgluh@mysql.com <>2005-05-07 12:17:54 +0000
committergluh@mysql.com <>2005-05-07 12:17:54 +0000
commitd76be7ab3fa02c60b68420a439b569d669af7d22 (patch)
tree5d75e8db40388fb0326d76b9cb4393631918921e /mysql-test/r/check.result
parent82f4a0b021d68b30112d5f0c33118b6412e62d69 (diff)
downloadmariadb-git-d76be7ab3fa02c60b68420a439b569d669af7d22.tar.gz
Fix for bug#9897: Views: 'Check Table' crashes MySQL, with a view and a table in the statement
thd->lex->derived_tables should be zero(it may be changed if we open a view)
Diffstat (limited to 'mysql-test/r/check.result')
-rw-r--r--mysql-test/r/check.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/check.result b/mysql-test/r/check.result
index ecaa13642bd..4c565f4f1b1 100644
--- a/mysql-test/r/check.result
+++ b/mysql-test/r/check.result
@@ -5,3 +5,12 @@ insert into t1 values (200000);
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
+Create table t1(f1 int);
+Create table t2(f1 int);
+Create view v1 as Select * from t1;
+Check Table v1,t2;
+Table Op Msg_type Msg_text
+test.v1 check status OK
+test.t2 check status OK
+drop view v1;
+drop table t1, t2;