a fix (bug #10339: Incorrect error is displayed if try to set value of internal ' warning_count ').

This commit is contained in:
ramil@mysql.com 2005-05-13 16:18:27 +05:00
commit 122c72e248
4 changed files with 19 additions and 0 deletions

View file

@ -526,3 +526,7 @@ show warnings;
Level Code Message
Warning 1329 No data to FETCH
drop table t1;
set @@warning_count=1;
ERROR HY000: Variable 'warning_count' is a read only variable
set @@global.error_count=1;
ERROR HY000: Variable 'error_count' is a read only variable