mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/home/ram/work/5.0.b10339 mysql-test/r/variables.result: Auto merged mysql-test/t/variables.test: Auto merged sql/set_var.cc: Auto merged
This commit is contained in:
@ -515,3 +515,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
|
||||
|
@ -387,3 +387,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;
|
||||
|
Reference in New Issue
Block a user