Commit da21f3f4 authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.5 into 10.6

parents fef9d6ef 7ee612c9
RESET MASTER;
CREATE TEMPORARY SEQUENCE seq_1;
XA START '3';
CREATE TEMPORARY TABLE tmp_1(c INT);
......
RESET MASTER;
#
# Verify that SET string values and character sets can be printed correctly
#
......
RESET MASTER;
#
# Verify that SET string values and character sets can be printed correctly
#
......
RESET MASTER;
#
# Verify that SET string values and character sets can be printed correctly
#
......
......@@ -4,7 +4,7 @@
--source include/have_binlog_format_mixed.inc
--source include/have_innodb.inc
RESET MASTER; # clear binlogs
# MDEV-22420 DDL on temporary object is prohibited when XA is in prepare state
# Temporary sequnce may not be created within a transaction
......
......@@ -20,6 +20,7 @@
--let $MYSQLD_DATADIR= `select @@datadir`
--let $binlog_file= $MYSQLD_DATADIR/master-bin.000001
RESET MASTER;
--echo #
--echo # Verify that SET string values and character sets can be printed correctly
--echo #
......
......@@ -21,6 +21,7 @@
--let $MYSQLD_DATADIR= `select @@datadir`
--let $binlog_file= $MYSQLD_DATADIR/master-bin.000001
RESET MASTER;
--echo #
--echo # Verify that SET string values and character sets can be printed correctly
--echo #
......
......@@ -21,6 +21,7 @@
--let $MYSQLD_DATADIR= `select @@datadir`
--let $binlog_file= $MYSQLD_DATADIR/master-bin.000001
RESET MASTER;
--echo #
--echo # Verify that SET string values and character sets can be printed correctly
--echo #
......
reset master;
call mtr.add_suppression("Table was marked as crashed");
call mtr.add_suppression("Checking table: .*");
create table t1 (a int primary key auto_increment, b int) engine=aria transactional= 1;
......
......@@ -3,6 +3,8 @@
# no-protocol doesn't print warnings about repaired tables
--source include/no_protocol.inc
reset master; # clear binlogs
call mtr.add_suppression("Table was marked as crashed");
call mtr.add_suppression("Checking table: .*");
......
......@@ -295,10 +295,6 @@ struct mtr_t {
@param type object type
@return bool if lock released */
bool memo_release(const void *object, ulint type);
/** Release a page latch.
@param[in] ptr pointer to within a page frame
@param[in] type object type: MTR_MEMO_PAGE_X_FIX, ... */
void release_page(const void *ptr, mtr_memo_type_t type);
/** Note that the mini-transaction will modify data. */
void flag_modified() { m_modifications = true; }
......
......@@ -838,29 +838,6 @@ mtr_t::memo_release(const void* object, ulint type)
return(false);
}
/** Release a page latch.
@param[in] ptr pointer to within a page frame
@param[in] type object type: MTR_MEMO_PAGE_X_FIX, ... */
void
mtr_t::release_page(const void* ptr, mtr_memo_type_t type)
{
ut_ad(is_active());
/* We cannot release a page that has been written to in the
middle of a mini-transaction. */
ut_ad(!m_modifications || type != MTR_MEMO_PAGE_X_FIX);
Iterate<FindPage> iteration(FindPage(ptr, type));
if (!m_memo.for_each_block_in_reverse(iteration)) {
memo_slot_release(iteration.functor.get_slot());
return;
}
/* The page was not found! */
ut_ad(0);
}
static bool log_margin_warned;
static time_t log_margin_warn_time;
static bool log_close_warned;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment