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

MDEV-19252 Problem with DBUG_ASSERT_AS_PRINTF and marked_for_write()

Problem was that DBUG_FIX_WRITE_SET was not enabled when using
DBUG_ASSERT_AS_PRINTF
This commit is contained in:
Monty
2019-04-19 13:20:15 +03:00
parent a024649081
commit c07e346ca6
4 changed files with 28 additions and 7 deletions

View File

@ -0,0 +1,12 @@
--source include/have_innodb.inc
#
# MDEV-19252 Warning about assertion failure marked_for_write_or_computed()
# printed by release build with DBUG_ASSERT_AS_PRINTF, but no failure on debug
# build
#
CREATE TABLE t2 (n BLOB, UNIQUE(n));
INSERT INTO t2 VALUES (1);
DELETE FROM t2 WHERE n = 1;
DROP TABLE t2;