• monty@mysql.com/nosik.monty.fi's avatar
    Simplify logging code a bit (to make code smaller and faster) · 237d5867
    monty@mysql.com/nosik.monty.fi authored
    Moved duplicated code to inline function store_timestamp()
    Save thd->time_zone_used when logging to table as CSV internally cases it to be changed
    Added MYSQL_LOCK_IGNORE_FLUSH to log tables to avoid deadlock in case of flush tables.
    Mark log tables with TIMESTAMP_NO_AUTO_SET to avoid automatic timestamping
    Set TABLE->no_replicate on open
    237d5867
log.cc 142 KB