Commit 60826d0f authored by marko's avatar marko

branches/zip: Cosmetic fixes.

row_unlock_for_mysql(): Add a const qualifier to read-only rec_t*.
Use dict_index_is_clust().

CMakeLists.txt: svn propset svn:eol-style native.
parent 3064f346
This diff is collapsed.
......@@ -1461,7 +1461,7 @@ row_unlock_for_mysql(
if (prebuilt->new_rec_locks >= 1) {
rec_t* rec;
const rec_t* rec;
dict_index_t* index;
dulint rec_trx_id;
mtr_t mtr;
......@@ -1492,7 +1492,7 @@ row_unlock_for_mysql(
/* If the record has been modified by this
transaction, do not unlock it. */
ut_a(index->type & DICT_CLUSTERED);
ut_a(dict_index_is_clust(index));
if (index->trx_id_offset) {
rec_trx_id = trx_read_trx_id(rec
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment