@@ -1877,7 +1877,6 @@ btr_cur_update_alloc_zip(
1877
1877
mtr_t * mtr ) /*!< in: mini-transaction */
1878
1878
{
1879
1879
ut_a (page_zip == buf_block_get_page_zip (block ));
1880
- ut_ad (page_zip );
1881
1880
ut_ad (!dict_index_is_ibuf (index ));
1882
1881
1883
1882
if (page_zip_available (page_zip , dict_index_is_clust (index ),
@@ -2837,7 +2836,7 @@ btr_cur_del_mark_set_clust_rec(
2837
2836
ut_ad (page_is_leaf (page_align (rec )));
2838
2837
2839
2838
#ifdef UNIV_DEBUG
2840
- if (btr_cur_print_record_ops && thr ) {
2839
+ if (btr_cur_print_record_ops ) {
2841
2840
btr_cur_trx_report (thr_get_trx (thr ), index , "del mark " );
2842
2841
rec_print_new (stderr , rec , offsets );
2843
2842
}
@@ -4128,7 +4127,6 @@ btr_cur_disown_inherited_fields(
4128
4127
ut_ad (rec_offs_validate (rec , index , offsets ));
4129
4128
ut_ad (!rec_offs_comp (offsets ) || !rec_get_node_ptr_flag (rec ));
4130
4129
ut_ad (rec_offs_any_extern (offsets ));
4131
- ut_ad (mtr );
4132
4130
4133
4131
for (i = 0 ; i < rec_offs_n_fields (offsets ); i ++ ) {
4134
4132
if (rec_offs_nth_extern (offsets , i )
@@ -4191,9 +4189,6 @@ btr_push_update_extern_fields(
4191
4189
ulint n ;
4192
4190
const upd_field_t * uf ;
4193
4191
4194
- ut_ad (tuple );
4195
- ut_ad (update );
4196
-
4197
4192
uf = update -> fields ;
4198
4193
n = upd_get_n_fields (update );
4199
4194
@@ -4366,7 +4361,6 @@ btr_store_big_rec_extern_fields(
4366
4361
4367
4362
ut_ad (rec_offs_validate (rec , index , offsets ));
4368
4363
ut_ad (rec_offs_any_extern (offsets ));
4369
- ut_ad (btr_mtr );
4370
4364
ut_ad (mtr_memo_contains (btr_mtr , dict_index_get_lock (index ),
4371
4365
MTR_MEMO_X_LOCK ));
4372
4366
ut_ad (mtr_memo_contains (btr_mtr , rec_block , MTR_MEMO_PAGE_X_FIX ));
0 commit comments