mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
Merge 10.2 into 10.3
This commit is contained in:
commit
c6b8b05be4
25 changed files with 78 additions and 170 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1994, 2015, 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
|
||||
|
|
@ -355,7 +355,6 @@ rec_set_next_offs_old(
|
|||
rec_t* rec, /*!< in: old-style physical record */
|
||||
ulint next) /*!< in: offset of the next record */
|
||||
{
|
||||
ut_ad(rec);
|
||||
ut_ad(srv_page_size > next);
|
||||
compile_time_assert(REC_NEXT_MASK == 0xFFFFUL);
|
||||
compile_time_assert(REC_NEXT_SHIFT == 0);
|
||||
|
|
@ -374,7 +373,6 @@ rec_set_next_offs_new(
|
|||
{
|
||||
ulint field_value;
|
||||
|
||||
ut_ad(rec);
|
||||
ut_ad(srv_page_size > next);
|
||||
|
||||
if (!next) {
|
||||
|
|
@ -874,7 +872,6 @@ rec_offs_set_n_alloc(
|
|||
must be allocated */
|
||||
ulint n_alloc) /*!< in: number of elements */
|
||||
{
|
||||
ut_ad(offsets);
|
||||
ut_ad(n_alloc > REC_OFFS_HEADER_SIZE);
|
||||
UNIV_MEM_ALLOC(offsets, n_alloc * sizeof *offsets);
|
||||
offsets[0] = n_alloc;
|
||||
|
|
@ -896,7 +893,6 @@ rec_get_nth_field_offs(
|
|||
ulint offs;
|
||||
ulint length;
|
||||
ut_ad(n < rec_offs_n_fields(offsets));
|
||||
ut_ad(len);
|
||||
|
||||
if (n == 0) {
|
||||
offs = 0;
|
||||
|
|
@ -1188,7 +1184,6 @@ rec_set_nth_field(
|
|||
byte* data2;
|
||||
ulint len2;
|
||||
|
||||
ut_ad(rec);
|
||||
ut_ad(rec_offs_validate(rec, NULL, offsets));
|
||||
ut_ad(!rec_offs_nth_default(offsets, n));
|
||||
|
||||
|
|
@ -1392,8 +1387,6 @@ rec_get_converted_size(
|
|||
ulint data_size;
|
||||
ulint extra_size;
|
||||
|
||||
ut_ad(index);
|
||||
ut_ad(dtuple);
|
||||
ut_ad(dtuple_check_typed(dtuple));
|
||||
#ifdef UNIV_DEBUG
|
||||
if (dict_index_is_ibuf(index)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue