mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Update to innoplug-1.0.4.
This commit is contained in:
@ -1498,9 +1498,14 @@ row_unlock_for_mysql(
|
||||
index = btr_pcur_get_btr_cur(clust_pcur)->index;
|
||||
}
|
||||
|
||||
if (UNIV_UNLIKELY(!dict_index_is_clust(index))) {
|
||||
/* This is not a clustered index record. We
|
||||
do not know how to unlock the record. */
|
||||
goto no_unlock;
|
||||
}
|
||||
|
||||
/* If the record has been modified by this
|
||||
transaction, do not unlock it. */
|
||||
ut_a(dict_index_is_clust(index));
|
||||
|
||||
if (index->trx_id_offset) {
|
||||
rec_trx_id = trx_read_trx_id(rec
|
||||
@ -1540,7 +1545,7 @@ row_unlock_for_mysql(
|
||||
prebuilt->select_lock_type);
|
||||
}
|
||||
}
|
||||
|
||||
no_unlock:
|
||||
mtr_commit(&mtr);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user