• Michael Widenius's avatar
    Fixed bug in Archive with insert delayed · 19ba226d
    Michael Widenius authored
    
    storage/archive/ha_archive.cc:
      Fixed bug that caused archive.test to fail with: Warning: Found locks from different threads for lock 't2' in 'write' at 'start of release lock'...
      The reason was that the TL_WRITE_DELAYED lock was changed to TL_WRITE_ALLOW_WRITE which conflicted with how the lock was used in sql_insert.cc (in particular with thr_upgrade_write_delay_lock())
    19ba226d
ha_archive.cc 45.5 KB