summaryrefslogtreecommitdiff
path: root/mysql-test/t/lock.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/lock.test')
-rw-r--r--mysql-test/t/lock.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/lock.test b/mysql-test/t/lock.test
index 26fc4e32bda..80da2cad192 100644
--- a/mysql-test/t/lock.test
+++ b/mysql-test/t/lock.test
@@ -53,8 +53,8 @@ check table t1;
# Check error message
lock tables t1 write;
check table t2;
---error 1100
-insert into t1 select nr from t1;
+--error 1143
+insert into t1 select index1,nr from t1;
unlock tables;
lock tables t1 write, t1 as t1_alias read;
insert into t1 select index1,nr from t1 as t1_alias;