• Marko Mäkelä's avatar
    MDEV-12072 Do not unnecessarily construct rec_printer objects · 7a528801
    Marko Mäkelä authored
    I introduced the rec_printer object in MySQL to pretty-print raw InnoDB
    records and index tuples in diagnostic messages. These objects are being
    constructed unconditionally, even though the DBUG_PRINT is not enabled.
    
    The unnecessary work is avoided by simply passing rec_printer(…).str()
    to the DBUG_LOG macro that was introduced in MDEV-11713.
    7a528801
row0merge.cc 138 KB