summaryrefslogtreecommitdiff
path: root/mysql-test/r/handler_myisam.result
diff options
context:
space:
mode:
authorunknown <davi@moksha.local>2007-08-29 18:32:19 -0300
committerunknown <davi@moksha.local>2007-08-29 18:32:19 -0300
commit30678bc067ee0b1658281619cb701ecbf7a1da4e (patch)
tree7d677ca4adcecf96571628b42dbd9e113eeaa7fb /mysql-test/r/handler_myisam.result
parent26aadd2175f2faf1b2c48691806855c034a3089e (diff)
parent34ded629086fa8e1ddd3b73ffb3531b10452d46f (diff)
downloadmariadb-git-30678bc067ee0b1658281619cb701ecbf7a1da4e.tar.gz
Merge moksha.local:/Users/davi/mysql/push/bugs/old/30632-5.0
into moksha.local:/Users/davi/mysql/push/bugs/30632-5.1 sql/sql_handler.cc: Auto merged mysql-test/include/handler.inc: Auto merged mysql-test/r/handler_myisam.result: Auto merged
Diffstat (limited to 'mysql-test/r/handler_myisam.result')
-rw-r--r--mysql-test/r/handler_myisam.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/handler_myisam.result b/mysql-test/r/handler_myisam.result
index 5d04604959b..5a9b2824232 100644
--- a/mysql-test/r/handler_myisam.result
+++ b/mysql-test/r/handler_myisam.result
@@ -522,3 +522,16 @@ handler t1 open;
ERROR HY000: Table storage engine for 't1' doesn't have this option
--> client 1
drop table t1;
+drop table if exists t1;
+create table t1 (a int);
+handler t1 open as t1_alias;
+handler t1_alias read a next;
+ERROR HY000: Key 'a' doesn't exist in table 't1_alias'
+handler t1_alias READ a next where inexistent > 0;
+ERROR 42S22: Unknown column 'inexistent' in 'field list'
+handler t1_alias read a next;
+ERROR HY000: Key 'a' doesn't exist in table 't1_alias'
+handler t1_alias READ a next where inexistent > 0;
+ERROR 42S22: Unknown column 'inexistent' in 'field list'
+handler t1_alias close;
+drop table t1;