1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

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
parent 187ee4712b
commit 122c72e248
4 changed files with 19 additions and 0 deletions

View File

@@ -395,3 +395,11 @@ select a into @x from t1;
show warnings;
drop table t1;
#
# Bug #10339: read only variables.
#
--error 1238
set @@warning_count=1;
--error 1238
set @@global.error_count=1;