diff options
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 0814c7a747e..c9faa516724 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -438,7 +438,7 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list, /* Invalidate the table in the query cache if something changed. For the transactional algorithm to work the invalidation must be - before binlog writing and ha_autocommit_... + before binlog writing and ha_autocommit_or_rollback */ if (info.copied || info.deleted || info.updated) { @@ -1930,7 +1930,7 @@ bool select_insert::send_eof() /* We must invalidate the table in the query cache before binlog writing - and ha_autocommit_... + and ha_autocommit_or_rollback */ if (info.copied || info.deleted || info.updated) |