File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2972,7 +2972,7 @@ btr_cur_ins_lock_and_undo(
29722972dtuple_t * entry,/* !< in/out: entry to insert */
29732973que_thr_t * thr,/* !< in: query thread or NULL */
29742974mtr_t * mtr,/* !< in/out: mini-transaction */
2975- ibool * inherit)/* !< out: TRUE if the inserted new record maybe
2975+ bool * inherit)/* !< out: true if the inserted new record maybe
29762976should inherit LOCK_GAP type locks from the
29772977successor record */
29782978{
@@ -3114,9 +3114,9 @@ btr_cur_optimistic_insert(
31143114buf_block_t * block;
31153115page_t * page;
31163116rec_t * dummy;
3117- ibool leaf;
3118- ibool reorg;
3119- ibool inherit = TRUE ;
3117+ bool leaf;
3118+ bool reorg;
3119+ bool inherit = true ;
31203120ulint rec_size;
31213121dberr_t err;
31223122
@@ -3407,7 +3407,7 @@ btr_cur_pessimistic_insert(
34073407dict_index_t * index = cursor->index ;
34083408big_rec_t * big_rec_vec = NULL ;
34093409dberr_t err;
3410- ibool inherit = FALSE ;
3410+ bool inherit = false ;
34113411bool success;
34123412ulint n_reserved = 0 ;
34133413
@@ -3518,7 +3518,7 @@ btr_cur_pessimistic_insert(
35183518 == FIL_NULL) {
35193519/* split and inserted need to call
35203520lock_update_insert() always. */
3521- inherit = TRUE ;
3521+ inherit = true ;
35223522}
35233523}
35243524}
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ lock_rec_insert_check_and_lock(
296296dict_index_t * index,/* !< in: index */
297297que_thr_t * thr,/* !< in: query thread */
298298mtr_t * mtr,/* !< in/out: mini-transaction */
299- ibool * inherit)/* !< out: set to TRUE if the new
299+ bool * inherit)/* !< out: set to true if the new
300300inserted record maybe should inherit
301301LOCK_GAP type locks from the successor
302302record */
Original file line number Diff line number Diff line change @@ -5981,7 +5981,7 @@ lock_rec_insert_check_and_lock(
59815981dict_index_t * index,/* !< in: index */
59825982que_thr_t * thr,/* !< in: query thread */
59835983mtr_t * mtr,/* !< in/out: mini-transaction */
5984- ibool * inherit)/* !< out: set to TRUE if the new
5984+ bool * inherit)/* !< out: set to true if the new
59855985inserted record maybe should inherit
59865986LOCK_GAP type locks from the successor
59875987record */
@@ -6002,7 +6002,7 @@ lock_rec_insert_check_and_lock(
60026002
60036003dberr_t err;
60046004lock_t * lock;
6005- ibool inherit_in = *inherit;
6005+ bool inherit_in = *inherit;
60066006trx_t * trx = thr_get_trx (thr);
60076007const rec_t * next_rec = page_rec_get_next_const (rec);
60086008ulint heap_no = page_rec_get_heap_no (next_rec);
@@ -6032,7 +6032,7 @@ lock_rec_insert_check_and_lock(
60326032 trx->id , mtr);
60336033}
60346034
6035- *inherit = FALSE ;
6035+ *inherit = false ;
60366036
60376037return (DB_SUCCESS);
60386038}
@@ -6043,7 +6043,7 @@ lock_rec_insert_check_and_lock(
60436043return (DB_SUCCESS);
60446044}
60456045
6046- *inherit = TRUE ;
6046+ *inherit = true ;
60476047
60486048/* If another transaction has an explicit lock request which locks
60496049the gap, waiting or granted, on the successor, the insert has to wait.
You can’t perform that action at this time.
0 commit comments