summaryrefslogtreecommitdiff
path: root/mysql-test/r/update.result
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2005-09-22 02:38:14 +0400
committerevgen@moonbone.local <>2005-09-22 02:38:14 +0400
commit2ba1eb1486b96cdaed1d9b5685f39ead5bdaddee (patch)
tree71b068067c4b4596c15b8b53424e74567733d64f /mysql-test/r/update.result
parenta5a4c412f10f3d64d0d3605e1092ac446e779b95 (diff)
parentb7e8c8b1126e50442f6de02d257d7ab6c020930c (diff)
downloadmariadb-git-2ba1eb1486b96cdaed1d9b5685f39ead5bdaddee.tar.gz
Manual merge
Diffstat (limited to 'mysql-test/r/update.result')
-rw-r--r--mysql-test/r/update.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/update.result b/mysql-test/r/update.result
index 42fb8064044..9ca6370dff6 100644
--- a/mysql-test/r/update.result
+++ b/mysql-test/r/update.result
@@ -251,3 +251,15 @@ f1 f2
1 1
2 2
drop table t1,t2;
+create table t1(f1 int);
+select DATABASE();
+DATABASE()
+test
+update t1 set f1=1 where count(*)=1;
+ERROR HY000: Invalid use of group function
+select DATABASE();
+DATABASE()
+test
+delete from t1 where count(*)=1;
+ERROR HY000: Invalid use of group function
+drop table t1;