mariadb/storage/innobase/lock
Timothy Smith fe769c968e Apply InnoDB snapshot innodb-5.1-ss2858, part 2. Fixes
Bug#38231: Innodb crash in lock_reset_all_on_table() on TRUNCATE + LOCK / UNLOCK

branches/5.1:

Fix Bug#38231 Innodb crash in lock_reset_all_on_table() on TRUNCATE + LOCK / UNLOCK

In TRUNCATE TABLE and discard tablespace: do not remove table-level S
and X locks and do not assert on such locks not being wait locks.
Leave such locks alone.

Approved by:    Heikki (rb://14)
2008-12-14 13:00:37 -07:00
..
lock0iter.c lock0iter.c: 2007-07-25 14:06:18 -06:00
lock0lock.c Apply InnoDB snapshot innodb-5.1-ss2858, part 2. Fixes 2008-12-14 13:00:37 -07:00