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

MDEV-22263: main.func_debug fails on a valgrind build with wrong result

Patches of interest:374dae3ecc49, 374dae3ecc
This commit is contained in:
Anel Husakovic
2020-04-16 22:56:51 +02:00
parent 0155d64448
commit 42af2b1d8b
2 changed files with 2 additions and 2 deletions

View File

@ -1671,6 +1671,6 @@ a
2 2
9 9
Warnings: Warnings:
Note 1105 DBUG: Item_subselect::exec (select max(`test`.`t1`.`a`) from `test`.`t... Note 1105 DBUG: Item_subselect::exec (select max(`test`.`t1`.`a`) from `test`.`t1`)
DROP TABLE t1; DROP TABLE t1;
SET SESSION debug_dbug="-d,Item_subselect"; SET SESSION debug_dbug="-d,Item_subselect";

View File

@ -717,7 +717,7 @@ bool Item_subselect::exec()
push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE, push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
ER_UNKNOWN_ERROR, "DBUG: Item_subselect::exec %.*s", ER_UNKNOWN_ERROR, "DBUG: Item_subselect::exec %.*s",
print.length(),print.ptr()); print.length(),print.c_ptr());
); );
/* /*
Do not execute subselect in case of a fatal error Do not execute subselect in case of a fatal error