summaryrefslogtreecommitdiff
path: root/mysql-test/r/handler.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/handler.result')
-rw-r--r--mysql-test/r/handler.result8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/handler.result b/mysql-test/r/handler.result
index 4e0153006f8..78ccf941b88 100644
--- a/mysql-test/r/handler.result
+++ b/mysql-test/r/handler.result
@@ -167,3 +167,11 @@ handler t1 read first;
a
6
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);
+ERROR 42S22: Unknown column 'W' in 'field list'
+handler t1 read a=(a);
+ERROR HY000: Wrong arguments to HANDLER ... READ
+drop table t1;