1
0
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:
Sergey Vojtovich
2009-07-30 17:42:56 +05:00
parent 058cd62565
commit bae6276d45
104 changed files with 5341 additions and 1173 deletions

View File

@ -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);
}