mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Minor cleanup.
lock_rec_unlock(): Cache first_lock and rewrite while() loops as for(). btr_cur_optimistic_update(): Use common error handling return. row_create_prebuilt(): Add Valgrind instrumentation.
This commit is contained in:
@ -625,6 +625,8 @@ row_create_prebuilt(
|
||||
|
||||
prebuilt->select_lock_type = LOCK_NONE;
|
||||
prebuilt->stored_select_lock_type = 99999999;
|
||||
UNIV_MEM_INVALID(&prebuilt->stored_select_lock_type,
|
||||
sizeof prebuilt->stored_select_lock_type);
|
||||
|
||||
prebuilt->search_tuple = dtuple_create(
|
||||
heap, 2 * dict_table_get_n_cols(table));
|
||||
|
Reference in New Issue
Block a user