mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-14209 innodb_gis.rtree_debug produces huge server error logs
Do not SET DEBUG_DBUG=-d,... in tests. To disable debug instrumentation, save and restore the original value of the variable DEBUG_DBUG. Assigning -d,... will enable the output of a lot of unrelated DBUG messages to the server error log.
This commit is contained in:
@ -49,10 +49,11 @@ create spatial index idx on t1(c2);
|
||||
|
||||
show create table t1;
|
||||
|
||||
SET DEBUG='+d,row_merge_ins_spatial_fail';
|
||||
SET @save_dbug = @@SESSION.debug_dbug;
|
||||
SET debug_dbug='+d,row_merge_ins_spatial_fail';
|
||||
--error ER_GET_ERRNO
|
||||
create spatial index idx2 on t1(c2);
|
||||
SET DEBUG='-d,row_merge_ins_spatial_fail';
|
||||
SET debug_dbug = @save_dbug;
|
||||
show create table t1;
|
||||
|
||||
# Check table.
|
||||
|
Reference in New Issue
Block a user