mariadb/lock
vasil 935cb53726 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-10-01 06:13:13 +00:00
..
lock0iter.c lock_queue_iterator_get_prev(): Remove the unused local variable bit_no. 2007-07-30 18:51:59 +00:00
lock0lock.c branches/5.1: 2008-10-01 06:13:13 +00:00