mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +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:
@@ -38,9 +38,10 @@ select count(*) from t1 where MBRWithin(t1.c2, @g1);
|
||||
set @g1 = ST_GeomFromText('Polygon((100 100,100 800,800 800,800 100,100 100))');
|
||||
select count(*) from t1 where MBRWithin(t1.c2, @g1);
|
||||
|
||||
#SET DEBUG='+d, rtr_pessimistic_position';
|
||||
#SET @save_dbug= @@session.debug_dbug;
|
||||
#SET debug_dbug = '+d,rtr_pessimistic_position';
|
||||
#select count(*) from t1 where MBRWithin(t1.c2, @g1);
|
||||
#SET DEBUG='-d, rtr_pessimistic_position';
|
||||
#SET debug_dbug = @save_dbug;
|
||||
|
||||
# Equality search
|
||||
set @g1 = ST_GeomFromText('Point(1 1)');
|
||||
|
||||
Reference in New Issue
Block a user