mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-17167 - InnoDB: Failing assertion: table->get_ref_count() == 0 upon
truncating a temporary table TRUNCATE expects only one TABLE instance (which is used by TRUNCATE itself) to be open. However this requirement wasn't enforced after "MDEV-5535: Cannot reopen temporary table". Fixed by closing unused table instances before performing TRUNCATE.
This commit is contained in:
@ -184,7 +184,12 @@ public:
|
||||
list= &a;
|
||||
current= a.m_first;
|
||||
}
|
||||
/* Operator for it++ */
|
||||
/**
|
||||
Operator for it++
|
||||
|
||||
@note since we save next element pointer, caller may remove current element.
|
||||
Such modification doesn't invalidate iterator.
|
||||
*/
|
||||
inline T* operator++(int)
|
||||
{
|
||||
T *result= current;
|
||||
|
Reference in New Issue
Block a user