diff options
author | msvensson@neptunus.(none) <> | 2005-03-21 11:07:31 +0100 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-03-21 11:07:31 +0100 |
commit | a5bb4810ff33e89e160e340e9ab56cbb2fa5c605 (patch) | |
tree | f6d659d9c150bcf26329f8c51e45d6cdcb99b442 /mysql-test/r/warnings.result | |
parent | 517544590b5cafe910250b4a3256f2698b7de83f (diff) | |
download | mariadb-git-a5bb4810ff33e89e160e340e9ab56cbb2fa5c605.tar.gz |
BUG#9072 'Max_error_count' system variable cannot be set to zero
- Chaned min value in mysqld.cc
- Added testcase to warnings.test
Diffstat (limited to 'mysql-test/r/warnings.result')
-rw-r--r-- | mysql-test/r/warnings.result | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/r/warnings.result b/mysql-test/r/warnings.result index e03d72351d1..d1d96afa153 100644 --- a/mysql-test/r/warnings.result +++ b/mysql-test/r/warnings.result @@ -142,6 +142,25 @@ Warning 1265 Data truncated for column 'b' at row 10 select @@warning_count; @@warning_count 50 +set max_error_count=0; +show variables like 'max_error_count'; +Variable_name Value +max_error_count 0 +update t1 set b='hi'; +Warnings: +select @@warning_count; +@@warning_count +50 +show warnings; +Level Code Message +set max_error_count=65535; +show variables like 'max_error_count'; +Variable_name Value +max_error_count 65535 +set max_error_count=10; +show variables like 'max_error_count'; +Variable_name Value +max_error_count 10 drop table t1; create table t1 (id int) engine=isam; Warnings: |