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:
12
mysql-test/main/unique.test
Normal file
12
mysql-test/main/unique.test
Normal 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;
|
Reference in New Issue
Block a user