summaryrefslogtreecommitdiff
path: root/mysql-test/suite/period/t/update.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/period/t/update.test')
-rw-r--r--mysql-test/suite/period/t/update.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/period/t/update.test b/mysql-test/suite/period/t/update.test
index 3f4dd2bdc68..fd67dc328c1 100644
--- a/mysql-test/suite/period/t/update.test
+++ b/mysql-test/suite/period/t/update.test
@@ -123,7 +123,7 @@ update t for portion of apptime from @s to g() set t.id= t.id + 5;
--echo # success
update t for portion of apptime from @s to h() set t.id= t.id + 5;
---echo # select value is cached
+--error ER_NOT_CONSTANT_EXPRESSION
update t for portion of apptime from (select s from t2 limit 1) to h() set t.id= t.id + 5;
--echo # auto_inrement field is updated