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:
committed by
Sergei Golubchik
parent
fc71746a6a
commit
b126c3f3fa
@ -2228,6 +2228,7 @@ SET @sav_slow_query_log= @@session.slow_query_log;
|
||||
SET @@session.slow_query_log= ON;
|
||||
SELECT current_timestamp(6),fn_sleep_before_now() INTO @ts_cur, @ts_func;
|
||||
|
||||
--enable_prepare_warnings
|
||||
SELECT a FROM t_ts LIMIT 1 into @ts_func;
|
||||
SELECT a FROM t_trig LIMIT 1 into @ts_trig;
|
||||
if (!`SELECT @ts_cur = @ts_func and @ts_func = @ts_trig`)
|
||||
@ -2243,6 +2244,8 @@ SET @@session.slow_query_log= OFF;
|
||||
SELECT current_timestamp(6),fn_sleep_before_now() INTO @ts_cur, @func_ts;
|
||||
SELECT a FROM t_ts LIMIT 1 into @ts_func;
|
||||
SELECT a FROM t_trig LIMIT 1 into @ts_trig;
|
||||
--disable_prepare_warnings
|
||||
|
||||
if (!`SELECT @ts_cur = @ts_func and @ts_func = @ts_trig`)
|
||||
{
|
||||
SELECT @ts_cur, @ts_func, @ts_trig;
|
||||
|
Reference in New Issue
Block a user