diff options
Diffstat (limited to 'storage/xtradb/rem/rem0rec.cc')
-rw-r--r-- | storage/xtradb/rem/rem0rec.cc | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/storage/xtradb/rem/rem0rec.cc b/storage/xtradb/rem/rem0rec.cc index 2314f110312..ff680b3cfb6 100644 --- a/storage/xtradb/rem/rem0rec.cc +++ b/storage/xtradb/rem/rem0rec.cc @@ -1,7 +1,7 @@ /***************************************************************************** Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved. -Copyright (c) 2017, 2018, MariaDB Corporation. +Copyright (c) 2017, 2019, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -556,10 +556,6 @@ rec_get_offsets_func( ulint n; ulint size; - ut_ad(rec); - ut_ad(index); - ut_ad(heap); - if (dict_table_is_comp(index->table)) { switch (UNIV_EXPECT(rec_get_status(rec), REC_STATUS_ORDINARY)) { @@ -637,9 +633,6 @@ rec_get_offsets_reverse( ulint null_mask; ulint n_node_ptr_field; - ut_ad(extra); - ut_ad(index); - ut_ad(offsets); ut_ad(dict_table_is_comp(index->table)); if (UNIV_UNLIKELY(node_ptr)) { @@ -748,8 +741,6 @@ rec_get_nth_field_offs_old( ulint os; ulint next_os; - ut_ad(len); - ut_a(rec); ut_a(n < rec_get_n_fields_old(rec)); if (rec_get_1byte_offs_flag(rec)) { @@ -1717,7 +1708,6 @@ rec_validate( ulint sum = 0; ulint i; - ut_a(rec); n_fields = rec_offs_n_fields(offsets); if ((n_fields == 0) || (n_fields > REC_MAX_N_FIELDS)) { @@ -1781,8 +1771,6 @@ rec_print_old( ulint n; ulint i; - ut_ad(rec); - n = rec_get_n_fields_old(rec); fprintf(file, "PHYSICAL RECORD: n_fields %lu;" @@ -1876,8 +1864,6 @@ rec_print_new( const rec_t* rec, /*!< in: physical record */ const ulint* offsets)/*!< in: array returned by rec_get_offsets() */ { - ut_ad(rec); - ut_ad(offsets); ut_ad(rec_offs_validate(rec, NULL, offsets)); if (!rec_offs_comp(offsets)) { @@ -1904,8 +1890,6 @@ rec_print( const rec_t* rec, /*!< in: physical record */ const dict_index_t* index) /*!< in: record descriptor */ { - ut_ad(index); - if (!dict_table_is_comp(index->table)) { rec_print_old(file, rec); return; |