• Thirunarayanan Balathandayuthapani's avatar
    MDEV-29545 InnoDB: Can't find record during replace stmt · e06c6046
    Thirunarayanan Balathandayuthapani authored
    Problem:
    ========
    - InnoDB replace statement returns can't find record as result during
    bulk insert operation. InnoDB returns DB_END_OF_INDEX blindly when
    bulk transaction is visible to current transaction even though
    the search tuple is inserted as a part of current replace statement.
    
    Solution:
    =========
    row_search_mvcc(): InnoDB should allow the transaction to read
    all the rows when innodb intends to do any locking on the
    record even though bulk insert transaction changes are
    visible to the current transaction
    e06c6046
row0sel.cc 198 KB