mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
Merge branch '10.0' into 10.1
This commit is contained in:
commit
3361aee591
654 changed files with 30623 additions and 12481 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2014, 2015, MariaDB Corporation
|
||||
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2014, 2016, 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
|
||||
|
|
@ -429,7 +429,7 @@ ibool
|
|||
lock_rec_validate_page(
|
||||
/*===================*/
|
||||
const buf_block_t* block) /*!< in: buffer block */
|
||||
__attribute__((nonnull, warn_unused_result));
|
||||
MY_ATTRIBUTE((nonnull, warn_unused_result));
|
||||
#endif /* UNIV_DEBUG */
|
||||
|
||||
/* The lock system */
|
||||
|
|
@ -513,7 +513,7 @@ Checks that a transaction id is sensible, i.e., not in the future.
|
|||
#ifdef UNIV_DEBUG
|
||||
UNIV_INTERN
|
||||
#else
|
||||
static __attribute__((nonnull, warn_unused_result))
|
||||
static MY_ATTRIBUTE((nonnull, warn_unused_result))
|
||||
#endif
|
||||
bool
|
||||
lock_check_trx_id_sanity(
|
||||
|
|
@ -4017,7 +4017,7 @@ lock_get_next_lock(
|
|||
ut_ad(heap_no == ULINT_UNDEFINED);
|
||||
ut_ad(lock_get_type_low(lock) == LOCK_TABLE);
|
||||
|
||||
lock = UT_LIST_GET_PREV(un_member.tab_lock.locks, lock);
|
||||
lock = UT_LIST_GET_NEXT(un_member.tab_lock.locks, lock);
|
||||
}
|
||||
} while (lock != NULL
|
||||
&& lock->trx->lock.deadlock_mark > ctx->mark_start);
|
||||
|
|
@ -4067,7 +4067,8 @@ lock_get_first_lock(
|
|||
} else {
|
||||
*heap_no = ULINT_UNDEFINED;
|
||||
ut_ad(lock_get_type_low(lock) == LOCK_TABLE);
|
||||
lock = UT_LIST_GET_PREV(un_member.tab_lock.locks, lock);
|
||||
dict_table_t* table = lock->un_member.tab_lock.table;
|
||||
lock = UT_LIST_GET_FIRST(table->locks);
|
||||
}
|
||||
|
||||
ut_a(lock != NULL);
|
||||
|
|
@ -4999,7 +5000,8 @@ lock_table(
|
|||
dberr_t err;
|
||||
const lock_t* wait_for;
|
||||
|
||||
ut_ad(table && thr);
|
||||
ut_ad(table != NULL);
|
||||
ut_ad(thr != NULL);
|
||||
|
||||
if (flags & BTR_NO_LOCKING_FLAG) {
|
||||
|
||||
|
|
@ -6431,7 +6433,7 @@ lock_validate_table_locks(
|
|||
/*********************************************************************//**
|
||||
Validate record locks up to a limit.
|
||||
@return lock at limit or NULL if no more locks in the hash bucket */
|
||||
static __attribute__((nonnull, warn_unused_result))
|
||||
static MY_ATTRIBUTE((nonnull, warn_unused_result))
|
||||
const lock_t*
|
||||
lock_rec_validate(
|
||||
/*==============*/
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2013, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
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
|
||||
|
|
@ -512,7 +512,7 @@ extern "C" UNIV_INTERN
|
|||
os_thread_ret_t
|
||||
DECLARE_THREAD(lock_wait_timeout_thread)(
|
||||
/*=====================================*/
|
||||
void* arg __attribute__((unused)))
|
||||
void* arg MY_ATTRIBUTE((unused)))
|
||||
/* in: a dummy parameter required by
|
||||
os_thread_create */
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue