summaryrefslogtreecommitdiff
path: root/mysql-test/t/user_var.test
diff options
context:
space:
mode:
authoriggy@rolltop.ignatz42.dyndns.org <>2006-10-04 10:49:39 -0400
committeriggy@rolltop.ignatz42.dyndns.org <>2006-10-04 10:49:39 -0400
commitd96be311cbd55b853641ec679fe203eb64490a25 (patch)
tree24ad13753a014c0116769605e30b9e4f7e951c7a /mysql-test/t/user_var.test
parente89c10e99c6932a73bdb313b7167c3d40b4835f7 (diff)
downloadmariadb-git-d96be311cbd55b853641ec679fe203eb64490a25.tar.gz
Bug #19024- SHOW COUNT(*) WARNINGS not return Errors
The server variable warning_count should include the number of warnings, errors and notes according to the manual
Diffstat (limited to 'mysql-test/t/user_var.test')
-rw-r--r--mysql-test/t/user_var.test10
1 files changed, 9 insertions, 1 deletions
diff --git a/mysql-test/t/user_var.test b/mysql-test/t/user_var.test
index 644ca506eba..65ca1b2c1b7 100644
--- a/mysql-test/t/user_var.test
+++ b/mysql-test/t/user_var.test
@@ -144,6 +144,8 @@ select @@version;
--replace_column 1 #
select @@global.version;
+--echo End of 4.1 tests
+
# Bug #6598: problem with cast(NULL as signed integer);
#
@@ -210,4 +212,10 @@ select @var:=f2 from t1 group by f1 order by f2 desc limit 1;
select @var;
drop table t1;
-# End of 4.1 tests
+#
+# Bug#19024 - SHOW COUNT(*) WARNINGS not return Errors
+#
+--error 1064
+insert into city 'blah';
+SHOW COUNT(*) WARNINGS;
+SHOW COUNT(*) ERRORS;