mariadb/storage/innobase/row
Annamalai Gurusami e7b6e814be Bug #19138298 RECORD IN INDEX WAS NOT FOUND ON ROLLBACK, TRYING TO INSERT
Scenario:

1. The purge thread takes an undo log record and parses it and forms
   the record to be purged. We have the primary and secondary keys
   to locate the actual records.
2. Using the secondary index key, we search in the secondary index.
   One record is found.
3. Then it is checked if this record can be purged.  The answer is we
   can purge this record.  To determine this we look up the clustered
   index record.  Either there is no corresponding clustered index
   record, or the matching clustered index record is delete marked.
4. Then we check whether the secondary index record is delete marked.
   We find that it is not delete marked.  We report warning in optimized
   build and assert in debug build.

Problem:

In step 3, we report that the record is purgeable even though it is
not delete marked.  This is because of inconsistency between the
following members of purge_node_t structure - found_clust, ref and pcur.

Solution:

In the row_purge_reposition_pcur(), if the persistent cursor restore
fails, then reset the purge_node_t->found_clust member.  This will
keep the members of purge_node_t structure in a consistent state.

rb#8813 approved by Marko.
2015-05-09 13:24:01 +05:30
..
row0ext.c Fixing the bug 16919882 - WRONG FSF ADDRESS IN LICENSES HEADERS 2013-06-10 22:29:41 +02:00
row0ins.c Bug #19140907 DUPLICATES IN UNIQUE SECONDARY INDEX BECAUSE OF FIX OF BUG#68021 2014-07-03 10:13:29 +05:30
row0merge.c Bug 16876388 - PLEASE BACKPORT BUG#16208542 TO 5.5 2013-06-25 09:42:54 +08:00
row0mysql.c Bug #19306524 FAILING ASSERTION WITH TEMP TABLE FOR A PROCEDURE CALLED 2014-09-18 15:17:39 +05:30
row0purge.c Bug #19138298 RECORD IN INDEX WAS NOT FOUND ON ROLLBACK, TRYING TO INSERT 2015-05-09 13:24:01 +05:30
row0row.c Merge mysql-5.1 to mysql-5.5. 2012-02-27 23:24:36 +02:00
row0sel.c post-push fix for bug#17565888/bug#14621190 2013-10-28 17:08:31 +01:00
row0uins.c Merge mysql-5.1 to mysql-5.5. 2013-08-14 10:24:36 +03:00
row0umod.c Merge mysql-5.1 to mysql-5.5. 2013-08-15 15:34:12 +03:00
row0undo.c Fixing the bug 16919882 - WRONG FSF ADDRESS IN LICENSES HEADERS 2013-06-10 22:29:41 +02:00
row0upd.c Bug#18185930 UPD_NODE_INSERT_BLOB CAUSES BTR_EXTERN_OWNER_FLAG ASSERTION 2014-02-11 16:44:37 +05:30
row0vers.c Fixing the bug 16919882 - WRONG FSF ADDRESS IN LICENSES HEADERS 2013-06-10 22:29:41 +02:00