diff options
author | iggy@rolltop.ignatz42.dyndns.org <> | 2006-10-04 10:49:39 -0400 |
---|---|---|
committer | iggy@rolltop.ignatz42.dyndns.org <> | 2006-10-04 10:49:39 -0400 |
commit | d96be311cbd55b853641ec679fe203eb64490a25 (patch) | |
tree | 24ad13753a014c0116769605e30b9e4f7e951c7a /mysql-test/t/user_var.test | |
parent | e89c10e99c6932a73bdb313b7167c3d40b4835f7 (diff) | |
download | mariadb-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.test | 10 |
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; |