mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.6' into 10.11
This commit is contained in:
@@ -70,7 +70,7 @@ let $orig_table_id = `SELECT table_id
|
||||
WHERE name = 'test/t1'`;
|
||||
|
||||
# Write file to make mysql-test-run.pl expect crash
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
|
||||
--error 2013
|
||||
ALTER TABLE t1 ADD PRIMARY KEY (f2, f1);
|
||||
@@ -110,7 +110,7 @@ let $orig_table_id = `SELECT table_id
|
||||
WHERE name = 'test/t2'`;
|
||||
|
||||
# Write file to make mysql-test-run.pl expect crash
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
|
||||
--error 2013
|
||||
ALTER TABLE t2 ADD PRIMARY KEY (f2, f1);
|
||||
@@ -150,7 +150,7 @@ let $orig_table_id = `select table_id from
|
||||
information_schema.innodb_sys_tables where name = 'test/t1'`;
|
||||
|
||||
# Write file to make mysql-test-run.pl expect crash
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
#
|
||||
--error 2013
|
||||
ALTER TABLE t1 ADD INDEX (b), CHANGE c d int, ALGORITHM=INPLACE;
|
||||
|
@@ -18,7 +18,7 @@ INSERT INTO t1(b) VALUES('one'), ('two'), ('three');
|
||||
|
||||
--echo #
|
||||
--echo # Create a file called MYSQLD_DATADIR/test/t1.ibd
|
||||
--exec echo "This is not t1.ibd" > $MYSQLD_DATADIR/test/t1.ibd
|
||||
--write_line "This is not t1.ibd" $MYSQLD_DATADIR/test/t1.ibd
|
||||
|
||||
--echo # Directory listing of test/*.ibd
|
||||
--echo #
|
||||
|
36
mysql-test/suite/innodb/t/cursor-restore-unique-null.test
Normal file
36
mysql-test/suite/innodb/t/cursor-restore-unique-null.test
Normal file
@@ -0,0 +1,36 @@
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/have_debug_sync.inc
|
||||
--source include/count_sessions.inc
|
||||
|
||||
|
||||
CREATE TABLE t(a INT PRIMARY KEY, b INT, c INT, UNIQUE KEY `b_c` (`b`,`c`))
|
||||
ENGINE=InnoDB, STATS_PERSISTENT=0;
|
||||
INSERT INTO t SET a = 1, c = 2;
|
||||
|
||||
--connect con1,localhost,root
|
||||
BEGIN;
|
||||
INSERT INTO t SET a=2, c=2;
|
||||
|
||||
--connection default
|
||||
BEGIN;
|
||||
SET DEBUG_SYNC="lock_wait_start SIGNAL select_locked";
|
||||
--send SELECT * FROM t FORCE INDEX(b) FOR UPDATE
|
||||
|
||||
--connection con1
|
||||
SET DEBUG_SYNC="now WAIT_FOR select_locked";
|
||||
ROLLBACK;
|
||||
|
||||
--connection default
|
||||
--echo # If the bug is not fixed, and the both unique index key fields are
|
||||
--echo # NULL, there will be two (1, NULL, 2) rows in the result,
|
||||
--echo # because cursor will be restored to (NULL, 2, 1) position for
|
||||
--echo # secondary key instead of "supremum".
|
||||
--reap
|
||||
COMMIT;
|
||||
|
||||
SET DEBUG_SYNC="RESET";
|
||||
|
||||
--disconnect con1
|
||||
DROP TABLE t;
|
||||
--source include/wait_until_count_sessions.inc
|
@@ -45,7 +45,7 @@ commit work;
|
||||
# Slow shutdown and restart to make sure ibuf merge is finished
|
||||
SET GLOBAL innodb_fast_shutdown = 0;
|
||||
let $shutdown_timeout=;
|
||||
let $restart_parameters="--debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0";
|
||||
let $restart_parameters=--debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0;
|
||||
--source include/restart_mysqld.inc
|
||||
--source ../include/no_checkpoint_start.inc
|
||||
begin;
|
||||
@@ -95,7 +95,7 @@ select f1, f2 from t1;
|
||||
--echo # Test Begin: Test if recovery works if 1st page of
|
||||
--echo # system tablespace is corrupted and 2nd page as corrupted.
|
||||
|
||||
let $restart_parameters="--debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0";
|
||||
let $restart_parameters=--debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0;
|
||||
--source include/restart_mysqld.inc
|
||||
--source ../include/no_checkpoint_start.inc
|
||||
begin;
|
||||
|
@@ -51,7 +51,7 @@ while ($numtests)
|
||||
START TRANSACTION;
|
||||
insert into t1 select * from t2;
|
||||
# Write file to make mysql-test-run.pl expect crash
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
|
||||
eval call setcrash($numtests);
|
||||
|
||||
|
@@ -51,7 +51,7 @@ while ($numtests)
|
||||
START TRANSACTION;
|
||||
insert into t1 select * from t2;
|
||||
# Write file to make mysql-test-run.pl expect crash
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
|
||||
eval call setcrash($numtests);
|
||||
|
||||
|
@@ -35,7 +35,7 @@ let datadir= `select @@datadir`;
|
||||
CREATE TABLE t1 (f1 INT NOT NULL, f2 INT NOT NULL) ENGINE=innodb;
|
||||
SET debug_dbug='+d,innodb_alter_commit_crash_before_commit';
|
||||
|
||||
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line wait $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
|
||||
--error 2013
|
||||
ALTER TABLE t1 ADD PRIMARY KEY (f2, f1);
|
||||
|
@@ -23,14 +23,14 @@ alter table t1 add primary key (pk);
|
||||
|
||||
--echo # Stop the server, replace the frm with the old one and restart the server
|
||||
|
||||
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line wait $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--shutdown_server
|
||||
--source include/wait_until_disconnected.inc
|
||||
|
||||
--remove_file $datadir/test/t1.frm
|
||||
--copy_file $MYSQLTEST_VARDIR/tmp/t1.frm $datadir/test/t1.frm
|
||||
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--enable_reconnect
|
||||
--source include/wait_until_connected_again.inc
|
||||
|
||||
|
@@ -43,7 +43,7 @@ INSERT INTO t1 VALUES(1),(2),(3);
|
||||
--let $_expect_file_name= `select regexp_replace(@@tmpdir, '^.*/','')`
|
||||
--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/$_expect_file_name.expect
|
||||
|
||||
--exec echo wait > $_expect_file_name
|
||||
--write_line wait $_expect_file_name
|
||||
SET SESSION debug_dbug="+d,ib_discard_before_commit_crash";
|
||||
--error 2013
|
||||
ALTER TABLE t1 DISCARD TABLESPACE;
|
||||
@@ -57,7 +57,7 @@ SET GLOBAL innodb_file_per_table = 1;
|
||||
CREATE TABLE t1 (c1 INT) ENGINE = InnoDB;
|
||||
INSERT INTO t1 VALUES(1),(2),(3);
|
||||
|
||||
--exec echo wait > $_expect_file_name
|
||||
--write_line wait $_expect_file_name
|
||||
SET SESSION debug_dbug="+d,ib_discard_after_commit_crash";
|
||||
--error 2013
|
||||
ALTER TABLE t1 DISCARD TABLESPACE;
|
||||
@@ -101,7 +101,7 @@ EOF
|
||||
--error ER_TABLESPACE_DISCARDED
|
||||
SELECT * FROM t1;
|
||||
|
||||
--exec echo wait > $_expect_file_name
|
||||
--write_line wait $_expect_file_name
|
||||
SET SESSION debug_dbug="+d,ib_import_before_commit_crash";
|
||||
--error 2013
|
||||
ALTER TABLE t1 IMPORT TABLESPACE;
|
||||
|
@@ -58,7 +58,7 @@ SELECT * FROM bug_60196;
|
||||
--echo # Restart server.
|
||||
|
||||
# Write file to make mysql-test-run.pl start up the server again
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
|
||||
# Turn on reconnect
|
||||
--enable_reconnect
|
||||
@@ -132,7 +132,7 @@ SELECT * FROM Bug_60309;
|
||||
--echo # Restart server.
|
||||
|
||||
# Write file to make mysql-test-run.pl start up the server again
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
|
||||
# Turn on reconnect
|
||||
--enable_reconnect
|
||||
|
@@ -35,7 +35,7 @@ SELECT @@GLOBAL.innodb_force_recovery<2 "have background defragmentation";
|
||||
# Wait for defrag_pool to be processed.
|
||||
|
||||
let $wait_timeout=30;
|
||||
let $wait_condition = SELECT COUNT(*)>0 FROM mysql.innodb_index_stats;
|
||||
let $wait_condition = SELECT COUNT(*)>5 FROM mysql.innodb_index_stats;
|
||||
--source include/wait_condition.inc
|
||||
|
||||
--sorted_result
|
||||
|
@@ -256,3 +256,16 @@ select * from t1;
|
||||
check table t1;
|
||||
|
||||
drop database best;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-33214 Table is getting rebuild with
|
||||
--echo # ALTER TABLE ADD COLUMN
|
||||
--echo #
|
||||
use test;
|
||||
CREATE TABLE t1(f1 INT, f2 VARCHAR(10)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
|
||||
INSERT INTO t1 VALUES(1,'abc'),(2,'def');
|
||||
ALTER TABLE t1 ADD (f3 VARCHAR(5000), f4 VARCHAR(20)), ALGORITHM=instant;
|
||||
ALTER TABLE t1 ADD f5 TEXT, ALGORITHM=INSTANT;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo # End of 10.4 tests
|
||||
|
@@ -83,6 +83,7 @@ flush tables t2 for export;
|
||||
unlock tables;
|
||||
|
||||
alter table t1 import tablespace;
|
||||
--source include/restart_mysqld.inc
|
||||
select * from t1;
|
||||
--remove_file $MYSQLD_DATADIR/test/t1.ibd
|
||||
|
||||
|
@@ -79,7 +79,6 @@ COMMIT;
|
||||
--connection consistent
|
||||
--reap
|
||||
SELECT * FROM t;
|
||||
--disconnect consistent
|
||||
|
||||
--connection default
|
||||
TRUNCATE TABLE t;
|
||||
@@ -103,8 +102,48 @@ COMMIT;
|
||||
--connection con_weird
|
||||
--reap
|
||||
COMMIT;
|
||||
--disconnect con_weird
|
||||
|
||||
--connection default
|
||||
SELECT * FROM t;
|
||||
DROP TABLE t;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-33802 Weird read view after ROLLBACK of other transactions
|
||||
--echo #
|
||||
|
||||
CREATE TABLE t(a INT PRIMARY KEY, b INT UNIQUE) ENGINE=InnoDB;
|
||||
INSERT INTO t SET a=1;
|
||||
|
||||
BEGIN; INSERT INTO t SET a=2;
|
||||
|
||||
--connection consistent
|
||||
START TRANSACTION WITH CONSISTENT SNAPSHOT;
|
||||
--disable_ps2_protocol
|
||||
--error ER_CHECKREAD
|
||||
SELECT * FROM t FORCE INDEX (b) FOR UPDATE;
|
||||
--enable_ps2_protocol
|
||||
|
||||
--connection con_weird
|
||||
START TRANSACTION WITH CONSISTENT SNAPSHOT;
|
||||
send
|
||||
SELECT * FROM t FORCE INDEX (b) FOR UPDATE;
|
||||
|
||||
--connection default
|
||||
let $wait_condition=
|
||||
select count(*) = 1 from information_schema.processlist
|
||||
where state = 'Sending data'
|
||||
and info LIKE 'SELECT * FROM t %';
|
||||
--source include/wait_condition.inc
|
||||
ROLLBACK;
|
||||
|
||||
--connection con_weird
|
||||
--reap
|
||||
SELECT * FROM t FORCE INDEX (b) FOR UPDATE;
|
||||
--disconnect con_weird
|
||||
|
||||
--connection consistent
|
||||
SELECT * FROM t FORCE INDEX (b) FOR UPDATE;
|
||||
--disconnect consistent
|
||||
|
||||
--connection default
|
||||
DROP TABLE t;
|
||||
|
@@ -206,7 +206,7 @@ print FILE "\0" x 16384;
|
||||
close(FILE);
|
||||
EOF
|
||||
|
||||
--exec echo "" > $MYSQLD_DATADIR/test/u2.ibd
|
||||
--write_line "" $MYSQLD_DATADIR/test/u2.ibd
|
||||
|
||||
--copy_file $MYSQLD_DATADIR/test/u6.ibd $MYSQLD_DATADIR/test/u4.ibd
|
||||
|
||||
|
@@ -5,11 +5,11 @@
|
||||
# sys_vars.innodb_monitor_enable_basic
|
||||
|
||||
--source include/have_innodb.inc
|
||||
# Test turn on/off the monitor counter with "all" option
|
||||
# By default, they will be off.
|
||||
select name, if(enabled,'enabled','disabled') status
|
||||
from information_schema.innodb_metrics;
|
||||
|
||||
create temporary table orig_innodb_metrics as select name, enabled from information_schema.innodb_metrics;
|
||||
|
||||
set global innodb_monitor_disable = All;
|
||||
select name from information_schema.innodb_metrics where enabled;
|
||||
|
||||
@@ -315,18 +315,22 @@ CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB STATS_PERSISTENT=0;
|
||||
|
||||
let $innodb_monitor_enable = `SELECT @@innodb_monitor_enable`;
|
||||
|
||||
SELECT NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
SELECT /*1*/ NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
LIKE 'buffer_page_written_index_leaf';
|
||||
|
||||
SET GLOBAL innodb_monitor_enable='module_buffer_page';
|
||||
INSERT INTO t1 VALUES (1), (2), (3), (4); FLUSH TABLES t1 FOR EXPORT;
|
||||
UNLOCK TABLES;
|
||||
SELECT NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
|
||||
let $wait_condition= select count > 0 from information_schema.innodb_metrics where name like 'buffer_page_written_index_leaf';
|
||||
source include/wait_condition.inc;
|
||||
|
||||
SELECT /*2*/ NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
LIKE 'buffer_page_written_index_leaf';
|
||||
|
||||
SET GLOBAL innodb_monitor_disable='module_buffer_page';
|
||||
SET GLOBAL innodb_monitor_reset_all='module_buffer_page';
|
||||
SELECT NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
SELECT /*3*/ NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
LIKE 'buffer_page_written_index_leaf';
|
||||
|
||||
SET GLOBAL innodb_monitor_enable='%';
|
||||
@@ -334,18 +338,22 @@ SET GLOBAL innodb_monitor_enable='%';
|
||||
SET GLOBAL innodb_monitor_reset_all= '%', innodb_compression_algorithm= foo;
|
||||
INSERT INTO t1 VALUES (5), (6), (7), (8); FLUSH TABLES t1 FOR EXPORT;
|
||||
UNLOCK TABLES;
|
||||
SELECT NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
|
||||
let $wait_condition= select count > 0 from information_schema.innodb_metrics where name like 'buffer_page_written_index_leaf';
|
||||
source include/wait_condition.inc;
|
||||
|
||||
SELECT /*4*/ NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
LIKE 'buffer_page_written_index_leaf';
|
||||
|
||||
SET GLOBAL innodb_monitor_disable='%';
|
||||
SET GLOBAL innodb_monitor_reset_all='%';
|
||||
SELECT NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
SELECT /*5*/ NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
LIKE 'buffer_page_written_index_leaf';
|
||||
|
||||
SET GLOBAL innodb_monitor_enable='ALL';
|
||||
INSERT INTO t1 VALUES (9), (10), (11), (12); FLUSH TABLES t1 FOR EXPORT;
|
||||
UNLOCK TABLES;
|
||||
SELECT NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
SELECT /*6*/ NAME, COUNT > 0 FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE NAME
|
||||
LIKE 'buffer_page_written_index_leaf';
|
||||
|
||||
DROP TABLE t1;
|
||||
@@ -462,8 +470,36 @@ DROP TABLE fl2;
|
||||
DROP TABLE fl1;
|
||||
DROP TABLE fl0;
|
||||
|
||||
--disable_warnings
|
||||
SET GLOBAL innodb_monitor_enable=default;
|
||||
SET GLOBAL innodb_monitor_disable=default;
|
||||
SET GLOBAL innodb_monitor_reset_all=default;
|
||||
--enable_warnings
|
||||
set global innodb_monitor_disable = 'adaptive\\_hash\\_p%';
|
||||
set global innodb_monitor_disable = 'adaptive\\_hash\\_r%';
|
||||
set global innodb_monitor_disable = 'buffer\\_LRU\\_batch\\_n%';
|
||||
set global innodb_monitor_disable = 'buffer\\_LRU\\_batch\\_s%';
|
||||
set global innodb_monitor_disable = 'buffer\\_LRU\\_g%';
|
||||
set global innodb_monitor_disable = 'buffer\\_LRU\\_s%';
|
||||
set global innodb_monitor_disable = 'buffer\\_LRU\\_u%';
|
||||
set global innodb_monitor_disable = 'buffer\\_f%';
|
||||
set global innodb_monitor_disable = 'buffer\\_page\\_%';
|
||||
set global innodb_monitor_disable = 'c%';
|
||||
set global innodb_monitor_disable = 'ddl%';
|
||||
set global innodb_monitor_disable = 'icp%';
|
||||
set global innodb_monitor_disable = 'index\\_p%';
|
||||
set global innodb_monitor_disable = 'innodb\\_di%';
|
||||
set global innodb_monitor_disable = 'innodb\\_l%';
|
||||
set global innodb_monitor_disable = 'innodb\\_m%';
|
||||
set global innodb_monitor_disable = 'lock\\_re%';
|
||||
set global innodb_monitor_disable = 'lock\\_ta%';
|
||||
set global innodb_monitor_disable = 'log%';
|
||||
set global innodb_monitor_disable = 'm%';
|
||||
set global innodb_monitor_disable = 'p%';
|
||||
set global innodb_monitor_disable = 't%';
|
||||
set global innodb_monitor_enable = 'log\\_w%';
|
||||
set global innodb_monitor_enable = 'trx_rseg_history_len';
|
||||
set global innodb_monitor_enable = 'trx_undo_slots_cached';
|
||||
|
||||
set global innodb_monitor_enable=default;
|
||||
set global innodb_monitor_disable=default;
|
||||
set global innodb_monitor_reset_all=default;
|
||||
|
||||
select name, orig.enabled, new.enabled from
|
||||
orig_innodb_metrics orig join information_schema.innodb_metrics new using(name)
|
||||
where orig.enabled != new.enabled;
|
||||
|
@@ -135,7 +135,7 @@ AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||
# We cannot use include/restart_mysqld.inc in this particular test,
|
||||
# because SHOW STATUS would fail due to unwritable (nonexistent) tmpdir.
|
||||
--source include/shutdown_mysqld.inc
|
||||
--exec echo "restart: --tmpdir=/dev/null/$MYSQL_TMP_DIR --skip-innodb-fast-shutdown" > $_expect_file_name
|
||||
--write_line "restart: --tmpdir=/dev/null/$MYSQL_TMP_DIR --skip-innodb-fast-shutdown" $_expect_file_name
|
||||
--enable_reconnect
|
||||
--disable_result_log
|
||||
--disable_query_log
|
||||
|
@@ -12,7 +12,7 @@ insert into t1 values (1, 1);
|
||||
# Slow shutdown and restart to make sure ibuf merge is finished
|
||||
SET GLOBAL innodb_fast_shutdown = 0;
|
||||
let $shutdown_timeout=;
|
||||
let $restart_parameters="--debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0";
|
||||
let $restart_parameters=--debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0;
|
||||
--source include/restart_mysqld.inc
|
||||
|
||||
--source ../include/no_checkpoint_start.inc
|
||||
|
@@ -13,7 +13,7 @@ call mtr.add_suppression("InnoDB: Trying to delete tablespace.*pending operation
|
||||
|
||||
# Re-create the undo log tablespaces after slow shutdown
|
||||
SET GLOBAL innodb_fast_shutdown=0;
|
||||
let $restart_parameters="--innodb_undo_tablespaces=2";
|
||||
let $restart_parameters=--innodb_undo_tablespaces=2;
|
||||
--source include/restart_mysqld.inc
|
||||
|
||||
SET GLOBAL innodb_undo_log_truncate = 0;
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
# Re-create the undo log tablespaces after slow shutdown
|
||||
SET GLOBAL innodb_fast_shutdown=0;
|
||||
let $restart_parameters="--innodb_undo_tablespaces=2";
|
||||
let $restart_parameters=--innodb_undo_tablespaces=2;
|
||||
--source include/restart_mysqld.inc
|
||||
|
||||
SET GLOBAL innodb_undo_log_truncate = 1;
|
||||
|
Reference in New Issue
Block a user