• unknown's avatar
    BUG#21381 - Engine not notified about multi-table UPDATE IGNORE · 717624ef
    unknown authored
    Though this is not storage engine specific problem, I was able to
    repeat this problem with BDB and NDB engines only. That was the
    reason to add a test case into ndb_update.test. As a result
    different bad things could happen.
    
    BDB has removed duplicate rows which is not expected.
    NDB returns an error.
    
    For multi table update notify storage engine about UPDATE IGNORE
    as it is done in single table UPDATE.
    
    
    mysql-test/r/ndb_update.result:
      A test case for bug#21381.
    mysql-test/t/ndb_update.test:
      A test case for bug#21381.
    sql/sql_update.cc:
      For multi table update notify storage engine about UPDATE IGNORE
      as it is done in single table UPDATE.
    717624ef
ndb_update.test 974 Bytes