• Marko Mäkelä's avatar
    MDEV-19455: Avoid SET DEBUG_DBUG='-d,...' construct · 4ebaf813
    Marko Mäkelä authored
    Apply the correct pattern for debug instrumentation:
    
    SET @save_dbug=@@debug_dbug;
    SET debug_dbug='+d,...';
    ...
    SET debug_dbug=@save_dbug;
    
    Numerous tests use statements of the form
    
    SET debug_dbug='-d,...';
    
    which will inadvertently enable all DBUG tracing output,
    causing unnecessary waste of resources.
    4ebaf813
drop_debug.test 733 Bytes