1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-16708: fixed issue with handling of the directive --enable-prepared-warnings in mysqltest

This commit is contained in:
Dmitry Shulga
2021-06-07 00:39:15 +07:00
committed by Sergei Golubchik
parent fc71746a6a
commit b126c3f3fa
50 changed files with 141 additions and 7 deletions

View File

@ -522,6 +522,7 @@ select @@session.max_heap_table_size|
--disable_warnings
create table t3 (a char(255)) engine=InnoDB|
--enable_warnings
--enable_prepare_warnings
create procedure bug14210_fill_table()
begin
declare table_size, max_table_size int default 0;
@ -533,6 +534,7 @@ begin
select count(*)*255 from t3 into table_size;
until table_size > max_table_size*2 end repeat;
end|
--disable_prepare_warnings
--disable_warnings
call bug14210_fill_table()|
--enable_warnings