• heikki@hundin.mysql.fi's avatar
    ha_innodb.cc: · b8e5b65f
    heikki@hundin.mysql.fi authored
      Remove accidenatlly committed debug printfs when query cache is used
    sql_update.cc, sql_load.cc, sql_insert.cc, sql_delete.cc:
      For the transactional query cache algorithm to work we must invalidate the query cache in INSERT/DELETE/UPDATE before writing to the binlog or calling ha_autocommit_... Note that binlog writing may also call commit. The crucial thing is that the transaction which modified data must not be committed BEFORE the query cache is invalidated.
    b8e5b65f
sql_update.cc 27.7 KB