Skip to content

Commit 42af2b1

Browse files
committed
MDEV-22263: main.func_debug fails on a valgrind build with wrong result
Patches of interest:374dae3ecc49, 374dae3
1 parent 0155d64 commit 42af2b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-test/main/func_debug.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,6 +1671,6 @@ a
16711671
2
16721672
9
16731673
Warnings:
1674-
Note 1105 DBUG: Item_subselect::exec (select max(`test`.`t1`.`a`) from `test`.`t...
1674+
Note 1105 DBUG: Item_subselect::exec (select max(`test`.`t1`.`a`) from `test`.`t1`)
16751675
DROP TABLE t1;
16761676
SET SESSION debug_dbug="-d,Item_subselect";

sql/item_subselect.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ bool Item_subselect::exec()
717717

718718
push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
719719
ER_UNKNOWN_ERROR, "DBUG: Item_subselect::exec %.*s",
720-
print.length(),print.ptr());
720+
print.length(),print.c_ptr());
721721
);
722722
/*
723723
Do not execute subselect in case of a fatal error

0 commit comments

Comments
 (0)