summaryrefslogtreecommitdiff
path: root/mysql-test/t/handler.test
diff options
context:
space:
mode:
authorhf@deer.(none) <>2003-07-03 20:57:51 +0500
committerhf@deer.(none) <>2003-07-03 20:57:51 +0500
commitdbb95326b0c15ec92be949d24b1998f18eb92147 (patch)
treed26249584a7ab19505e0e38ce81473b88f0e4a2b /mysql-test/t/handler.test
parentb2769e279239cca52c3f264724286b052357ed14 (diff)
downloadmariadb-git-dbb95326b0c15ec92be949d24b1998f18eb92147.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?
Diffstat (limited to 'mysql-test/t/handler.test')
-rw-r--r--mysql-test/t/handler.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/handler.test b/mysql-test/t/handler.test
index 7020a4ab3d3..b1902c213bf 100644
--- a/mysql-test/t/handler.test
+++ b/mysql-test/t/handler.test
@@ -80,3 +80,13 @@ alter table t1 type=MyISAM;
handler t2 read first;
drop table t1;
+#
+#test for #751
+#
+create table t1(a int, index(a));
+insert into t1 values (1), (2), (3);
+handler t1 open;
+--error 1054
+handler t1 read a=(W);
+drop table t1;
+