summaryrefslogtreecommitdiff
path: root/mysql-test/r/handler.result
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-07-03 20:57:51 +0500
committerunknown <hf@deer.(none)>2003-07-03 20:57:51 +0500
commit8d7eb4a0e5b7d71e09c689fcc0318382c780302e (patch)
treed26249584a7ab19505e0e38ce81473b88f0e4a2b /mysql-test/r/handler.result
parentfd0ecf1e47baca9e288e8cf038ca731962afdf14 (diff)
downloadmariadb-git-8d7eb4a0e5b7d71e09c689fcc0318382c780302e.tar.gz
Proposed fix for #751
Fields in key_expr (mysql_ha_read) wasn't linked to tables. Hmm. How did it work at all? mysql-test/r/alias.result: It's better to delete table after the test mysql-test/r/handler.result: appropriate result mysql-test/t/alias.test: it's better to drop table after test mysql-test/t/handler.test: test case for #751 sql/sql_handler.cc: fix_fields called
Diffstat (limited to 'mysql-test/r/handler.result')
-rw-r--r--mysql-test/r/handler.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/handler.result b/mysql-test/r/handler.result
index 3be24305e09..525fd1a4495 100644
--- a/mysql-test/r/handler.result
+++ b/mysql-test/r/handler.result
@@ -146,3 +146,9 @@ alter table t1 type=MyISAM;
handler t2 read first;
Unknown table 't2' in HANDLER
drop table t1;
+create table t1(a int, index(a));
+insert into t1 values (1), (2), (3);
+handler t1 open;
+handler t1 read a=(W);
+Unknown column 'W' in 'field list'
+drop table t1;