mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.11' into 11.0
This commit is contained in:
@@ -7,7 +7,6 @@ call mtr.add_suppression("Unsafe statement written to the binary log using state
|
||||
call mtr.add_suppression("mysqld: Got an error reading communication packets");
|
||||
connection slave;
|
||||
set sql_log_bin=0;
|
||||
call mtr.add_suppression("Master server does not support semi-sync");
|
||||
call mtr.add_suppression("Semi-sync slave .* reply");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
set sql_log_bin=1;
|
||||
@@ -28,7 +27,7 @@ set global rpl_semi_sync_slave_enabled= 0;
|
||||
# Main test of semi-sync replication start here
|
||||
#
|
||||
connection master;
|
||||
set global rpl_semi_sync_master_timeout= 60000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
[ default state of semi-sync on master should be OFF ]
|
||||
show variables like 'rpl_semi_sync_master_enabled';
|
||||
Variable_name Value
|
||||
@@ -163,11 +162,15 @@ connection slave;
|
||||
# Test semi-sync master will switch OFF after one transaction
|
||||
# timeout waiting for slave reply.
|
||||
#
|
||||
connection master;
|
||||
show status like "Rpl_semi_sync_master_status";
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_master_status ON
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
connection master;
|
||||
include/kill_binlog_dump_threads.inc
|
||||
set global rpl_semi_sync_master_timeout= 5000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
[ master status should be ON ]
|
||||
show status like 'Rpl_semi_sync_master_no_tx';
|
||||
Variable_name Value
|
||||
@@ -317,6 +320,8 @@ include/kill_binlog_dump_threads.inc
|
||||
connection slave;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
connection slave;
|
||||
connection master;
|
||||
create table t1 (a int) engine = ENGINE_TYPE;
|
||||
insert into t1 values (1);
|
||||
insert into t1 values (2), (3);
|
||||
@@ -359,6 +364,8 @@ show status like 'Rpl_semi_sync_slave_status';
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_slave_status ON
|
||||
connection master;
|
||||
connection slave;
|
||||
connection master;
|
||||
[ master semi-sync should be ON ]
|
||||
show status like 'Rpl_semi_sync_master_clients';
|
||||
Variable_name Value
|
||||
|
@@ -1772,6 +1772,85 @@ Level Code Message
|
||||
Note 1003 select trim(both ' ' from 'a') AS "oracle_schema.TRIM(BOTH ' ' FROM 'a')"
|
||||
Warnings:
|
||||
Note 1003 select trim(both ' ' from 'a') AS "oracle_schema.TRIM(BOTH ' ' FROM 'a')"
|
||||
CALL p3('REGEXP_REPLACE(''test'',''t'','''')');
|
||||
----------
|
||||
sql_mode='' qualifier=''
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT REGEXP_REPLACE('test','t','')
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Level Code Message
|
||||
Note 1003 select regexp_replace('test','t','') AS `REGEXP_REPLACE('test','t','')`
|
||||
----------
|
||||
sql_mode='' qualifier='unknown_schema.'
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT unknown_schema.REGEXP_REPLACE('test','t','')
|
||||
errmsg
|
||||
ERROR: FUNCTION unknown_schema.REGEXP_REPLACE does not exist
|
||||
----------
|
||||
sql_mode='' qualifier='mariadb_schema.'
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT mariadb_schema.REGEXP_REPLACE('test','t','')
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Level Code Message
|
||||
Note 1003 select regexp_replace('test','t','') AS `mariadb_schema.REGEXP_REPLACE('test','t','')`
|
||||
----------
|
||||
sql_mode='' qualifier='maxdb_schema.'
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT maxdb_schema.REGEXP_REPLACE('test','t','')
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Level Code Message
|
||||
Note 1003 select regexp_replace('test','t','') AS `maxdb_schema.REGEXP_REPLACE('test','t','')`
|
||||
----------
|
||||
sql_mode='' qualifier='oracle_schema.'
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT oracle_schema.REGEXP_REPLACE('test','t','')
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Level Code Message
|
||||
Note 1003 select oracle_schema.regexp_replace('test','t','') AS `oracle_schema.REGEXP_REPLACE('test','t','')`
|
||||
----------
|
||||
sql_mode='ORACLE' qualifier=''
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT REGEXP_REPLACE('test','t','')
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Level Code Message
|
||||
Note 1003 select regexp_replace('test','t','') AS "REGEXP_REPLACE('test','t','')"
|
||||
----------
|
||||
sql_mode='ORACLE' qualifier='unknown_schema.'
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT unknown_schema.REGEXP_REPLACE('test','t','')
|
||||
errmsg
|
||||
ERROR: FUNCTION unknown_schema.REGEXP_REPLACE does not exist
|
||||
----------
|
||||
sql_mode='ORACLE' qualifier='mariadb_schema.'
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT mariadb_schema.REGEXP_REPLACE('test','t','')
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Level Code Message
|
||||
Note 1003 select mariadb_schema.regexp_replace('test','t','') AS "mariadb_schema.REGEXP_REPLACE('test','t','')"
|
||||
----------
|
||||
sql_mode='ORACLE' qualifier='maxdb_schema.'
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT maxdb_schema.REGEXP_REPLACE('test','t','')
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Level Code Message
|
||||
Note 1003 select mariadb_schema.regexp_replace('test','t','') AS "maxdb_schema.REGEXP_REPLACE('test','t','')"
|
||||
----------
|
||||
sql_mode='ORACLE' qualifier='oracle_schema.'
|
||||
query
|
||||
EXPLAIN EXTENDED SELECT oracle_schema.REGEXP_REPLACE('test','t','')
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Level Code Message
|
||||
Note 1003 select regexp_replace('test','t','') AS "oracle_schema.REGEXP_REPLACE('test','t','')"
|
||||
Warnings:
|
||||
Note 1003 select regexp_replace('test','t','') AS "oracle_schema.REGEXP_REPLACE('test','t','')"
|
||||
CALL p3('CONCAT_OPERATOR_ORACLE(''a'')');
|
||||
----------
|
||||
sql_mode='' qualifier=''
|
||||
|
34
mysql-test/suite/compat/oracle/r/func_regexp_replace.result
Normal file
34
mysql-test/suite/compat/oracle/r/func_regexp_replace.result
Normal file
@@ -0,0 +1,34 @@
|
||||
SET sql_mode=ORACLE;
|
||||
#
|
||||
# MDEV-29095 REGEXP_REPLACE treats empty strings different than REPLACE in ORACLE mode
|
||||
#
|
||||
CREATE TABLE t1 (replacement VARCHAR(10));
|
||||
INSERT INTO t1 VALUES (NULL), ('');
|
||||
SELECT replacement, REGEXP_REPLACE('abba','a',replacement) FROM t1 ORDER BY replacement;
|
||||
replacement REGEXP_REPLACE('abba','a',replacement)
|
||||
NULL bb
|
||||
bb
|
||||
DROP TABLE t1;
|
||||
SELECT REGEXP_REPLACE('abba','a',null);
|
||||
REGEXP_REPLACE('abba','a',null)
|
||||
bb
|
||||
EXPLAIN EXTENDED SELECT REPLACE('abba','a',null) ;
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Warnings:
|
||||
Note 1003 select replace('abba','a',NULL) AS "REPLACE('abba','a',null)"
|
||||
CREATE VIEW v1 AS SELECT REPLACE('abba','a',null) ;
|
||||
SHOW CREATE VIEW v1;
|
||||
View Create View character_set_client collation_connection
|
||||
v1 CREATE VIEW "v1" AS select replace('abba','a',NULL) AS "REPLACE('abba','a',null)" latin1 latin1_swedish_ci
|
||||
SELECT * FROM v1;
|
||||
REPLACE('abba','a',null)
|
||||
bb
|
||||
SET sql_mode=DEFAULT;
|
||||
SHOW CREATE VIEW v1;
|
||||
View Create View character_set_client collation_connection
|
||||
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select oracle_schema.replace('abba','a',NULL) AS `REPLACE('abba','a',null)` latin1 latin1_swedish_ci
|
||||
SELECT * FROM v1;
|
||||
REPLACE('abba','a',null)
|
||||
bb
|
||||
DROP VIEW v1;
|
@@ -84,7 +84,7 @@ DECLARE history INT; BEGIN history:=10; SELECT history; END
|
||||
SELECT history FROM t1
|
||||
SELECT history 'alias' FROM t1
|
||||
SELECT history()
|
||||
Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()' at line 1
|
||||
Error 1630 FUNCTION test.history does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT history.history()
|
||||
Error 1630 FUNCTION history.history does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT history DATE FROM t1
|
||||
@@ -106,7 +106,7 @@ DECLARE next INT; BEGIN next:=10; SELECT next; END
|
||||
SELECT next FROM t1
|
||||
SELECT next 'alias' FROM t1
|
||||
SELECT next()
|
||||
Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()' at line 1
|
||||
Error 1630 FUNCTION test.next does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT next.next()
|
||||
Error 1630 FUNCTION next.next does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT next DATE FROM t1
|
||||
@@ -151,7 +151,7 @@ DECLARE previous INT; BEGIN previous:=10; SELECT previous; END
|
||||
SELECT previous FROM t1
|
||||
SELECT previous 'alias' FROM t1
|
||||
SELECT previous()
|
||||
Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()' at line 1
|
||||
Error 1630 FUNCTION test.previous does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT previous.previous()
|
||||
Error 1630 FUNCTION previous.previous does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT previous DATE FROM t1
|
||||
@@ -174,7 +174,7 @@ DECLARE system INT; BEGIN system:=10; SELECT system; END
|
||||
SELECT system FROM t1
|
||||
SELECT system 'alias' FROM t1
|
||||
SELECT system()
|
||||
Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()' at line 1
|
||||
Error 1630 FUNCTION test.system does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT system.system()
|
||||
Error 1630 FUNCTION system.system does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT system DATE FROM t1
|
||||
@@ -196,7 +196,7 @@ DECLARE system_time INT; BEGIN system_time:=10; SELECT system_time; END
|
||||
SELECT system_time FROM t1
|
||||
SELECT system_time 'alias' FROM t1
|
||||
SELECT system_time()
|
||||
Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()' at line 1
|
||||
Error 1630 FUNCTION test.system_time does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT system_time.system_time()
|
||||
Error 1630 FUNCTION system_time.system_time does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT system_time DATE FROM t1
|
||||
@@ -264,7 +264,7 @@ DECLARE transaction INT; BEGIN transaction:=10; SELECT transaction; END
|
||||
SELECT transaction FROM t1
|
||||
SELECT transaction 'alias' FROM t1
|
||||
SELECT transaction()
|
||||
Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()' at line 1
|
||||
Error 1630 FUNCTION test.transaction does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT transaction.transaction()
|
||||
Error 1630 FUNCTION transaction.transaction does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT transaction DATE FROM t1
|
||||
@@ -308,7 +308,7 @@ DECLARE versioning INT; BEGIN versioning:=10; SELECT versioning; END
|
||||
SELECT versioning FROM t1
|
||||
SELECT versioning 'alias' FROM t1
|
||||
SELECT versioning()
|
||||
Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()' at line 1
|
||||
Error 1630 FUNCTION test.versioning does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT versioning.versioning()
|
||||
Error 1630 FUNCTION versioning.versioning does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT versioning DATE FROM t1
|
||||
@@ -330,7 +330,7 @@ DECLARE without INT; BEGIN without:=10; SELECT without; END
|
||||
SELECT without FROM t1
|
||||
SELECT without 'alias' FROM t1
|
||||
SELECT without()
|
||||
Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()' at line 1
|
||||
Error 1630 FUNCTION test.without does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT without.without()
|
||||
Error 1630 FUNCTION without.without does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
|
||||
SELECT without DATE FROM t1
|
||||
|
@@ -165,6 +165,7 @@ CALL p3('TRIM(1,2)');
|
||||
CALL p3('TRIM(''a'')');
|
||||
CALL p3('TRIM(BOTH '' '' FROM ''a'')');
|
||||
|
||||
CALL p3('REGEXP_REPLACE(''test'',''t'','''')');
|
||||
|
||||
# Deprecated compatibility XXX_ORACLE functions.
|
||||
# These functions are implemented as simple native functions
|
||||
|
26
mysql-test/suite/compat/oracle/t/func_regexp_replace.test
Normal file
26
mysql-test/suite/compat/oracle/t/func_regexp_replace.test
Normal file
@@ -0,0 +1,26 @@
|
||||
SET sql_mode=ORACLE;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-29095 REGEXP_REPLACE treats empty strings different than REPLACE in ORACLE mode
|
||||
--echo #
|
||||
|
||||
#SELECT REGEXP_REPLACE(null,'a','b') ;
|
||||
#SELECT REGEXP_REPLACE('ab',null,'b') ;
|
||||
#SELECT REGEXP_REPLACE('ab','a',null) ;
|
||||
#SELECT REGEXP_REPLACE('ab',null,null) ;
|
||||
|
||||
CREATE TABLE t1 (replacement VARCHAR(10));
|
||||
INSERT INTO t1 VALUES (NULL), ('');
|
||||
SELECT replacement, REGEXP_REPLACE('abba','a',replacement) FROM t1 ORDER BY replacement;
|
||||
DROP TABLE t1;
|
||||
|
||||
SELECT REGEXP_REPLACE('abba','a',null);
|
||||
EXPLAIN EXTENDED SELECT REPLACE('abba','a',null) ;
|
||||
|
||||
CREATE VIEW v1 AS SELECT REPLACE('abba','a',null) ;
|
||||
SHOW CREATE VIEW v1;
|
||||
SELECT * FROM v1;
|
||||
SET sql_mode=DEFAULT;
|
||||
SHOW CREATE VIEW v1;
|
||||
SELECT * FROM v1;
|
||||
DROP VIEW v1;
|
@@ -10,7 +10,7 @@ performance_schema
|
||||
sys
|
||||
test
|
||||
USE DATABASE nond6;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DATABASE nond6' at line 1
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'nond6' at line 1
|
||||
DROP DATABASE d6;
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
|
@@ -1,5 +1,16 @@
|
||||
include/master-slave.inc
|
||||
[connection master]
|
||||
select @@rpl_semi_sync_master_enabled;
|
||||
@@rpl_semi_sync_master_enabled
|
||||
0
|
||||
connection slave;
|
||||
select @@rpl_semi_sync_slave_enabled;
|
||||
@@rpl_semi_sync_slave_enabled
|
||||
0
|
||||
show status like "rpl_semi_sync_slave_status";
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_slave_status OFF
|
||||
connection master;
|
||||
drop table if exists t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 'test.t1'
|
||||
|
@@ -22145,9 +22145,9 @@ DELETE FROM t1;
|
||||
DROP VIEW v1;
|
||||
CREATE VIEW v1 AS SELECT f1, f2, f3, 'HELLO' AS my_greeting FROM t1;
|
||||
INSERT INTO v1 SET f1 = 1;
|
||||
ERROR HY000: The target table v1 of the INSERT is not insertable-into
|
||||
SELECT * from t1;
|
||||
f1 f2 f3 f4
|
||||
1 NULL NULL NULL
|
||||
DELETE FROM t1;
|
||||
INSERT INTO v1 SET f1 = 1, my_greeting = 'HELLO';
|
||||
ERROR HY000: The target table v1 of the INSERT is not insertable-into
|
||||
|
@@ -22147,9 +22147,9 @@ DELETE FROM t1;
|
||||
DROP VIEW v1;
|
||||
CREATE VIEW v1 AS SELECT f1, f2, f3, 'HELLO' AS my_greeting FROM t1;
|
||||
INSERT INTO v1 SET f1 = 1;
|
||||
ERROR HY000: The target table v1 of the INSERT is not insertable-into
|
||||
SELECT * from t1;
|
||||
f1 f2 f3 f4
|
||||
1 NULL NULL NULL
|
||||
DELETE FROM t1;
|
||||
INSERT INTO v1 SET f1 = 1, my_greeting = 'HELLO';
|
||||
ERROR HY000: The target table v1 of the INSERT is not insertable-into
|
||||
|
@@ -23849,9 +23849,9 @@ DELETE FROM t1;
|
||||
DROP VIEW v1;
|
||||
CREATE VIEW v1 AS SELECT f1, f2, f3, 'HELLO' AS my_greeting FROM t1;
|
||||
INSERT INTO v1 SET f1 = 1;
|
||||
ERROR HY000: The target table v1 of the INSERT is not insertable-into
|
||||
SELECT * from t1;
|
||||
f1 f2 f3 f4
|
||||
1 NULL NULL NULL
|
||||
DELETE FROM t1;
|
||||
INSERT INTO v1 SET f1 = 1, my_greeting = 'HELLO';
|
||||
ERROR HY000: The target table v1 of the INSERT is not insertable-into
|
||||
|
@@ -2088,9 +2088,11 @@ SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cursor()
|
||||
SELECT * from t1 where f2=f1' at line 1
|
||||
CREATE PROCEDURE database()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'database()
|
||||
SELECT * from t1 where f2=f1' at line 1
|
||||
SELECT 1;
|
||||
CALL database();
|
||||
1
|
||||
1
|
||||
DROP PROCEDURE database;
|
||||
CREATE PROCEDURE databases()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'databases()
|
||||
@@ -2350,6 +2352,12 @@ CREATE PROCEDURE join()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'join()
|
||||
SELECT * from t1 where f2=f1' at line 1
|
||||
CREATE PROCEDURE json_table()
|
||||
SELECT 1;
|
||||
CALL json_table();
|
||||
1
|
||||
1
|
||||
DROP PROCEDURE json_table;
|
||||
CREATE PROCEDURE key()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key()
|
||||
@@ -2470,6 +2478,12 @@ CREATE PROCEDURE natural()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'natural()
|
||||
SELECT * from t1 where f2=f1' at line 1
|
||||
CREATE PROCEDURE nested()
|
||||
SELECT 1;
|
||||
CALL nested();
|
||||
1
|
||||
1
|
||||
DROP PROCEDURE nested;
|
||||
CREATE PROCEDURE not()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not()
|
||||
@@ -2509,6 +2523,12 @@ CREATE PROCEDURE order()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order()
|
||||
SELECT * from t1 where f2=f1' at line 1
|
||||
CREATE PROCEDURE ordinality()
|
||||
SELECT 1;
|
||||
CALL ordinality;
|
||||
1
|
||||
1
|
||||
DROP PROCEDURE ordinality;
|
||||
CREATE PROCEDURE out()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'out()
|
||||
@@ -2521,6 +2541,12 @@ CREATE PROCEDURE outfile()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outfile()
|
||||
SELECT * from t1 where f2=f1' at line 1
|
||||
CREATE PROCEDURE path()
|
||||
SELECT 1;
|
||||
CALL path();
|
||||
1
|
||||
1
|
||||
DROP PROCEDURE path;
|
||||
CREATE PROCEDURE precision()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'precision()
|
||||
@@ -2602,9 +2628,11 @@ SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rlike()
|
||||
SELECT * from t1 where f2=f1' at line 1
|
||||
CREATE PROCEDURE schema()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schema()
|
||||
SELECT * from t1 where f2=f1' at line 1
|
||||
SELECT 1;
|
||||
CALL schema();
|
||||
1
|
||||
1
|
||||
DROP PROCEDURE schema;
|
||||
CREATE PROCEDURE schemas()
|
||||
SELECT * from t1 where f2=f1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schemas()
|
||||
@@ -4204,9 +4232,6 @@ CREATE PROCEDURE sp1()
|
||||
database:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'database:BEGIN
|
||||
SELECT @x;
|
||||
END' at line 2
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
databases:BEGIN
|
||||
@@ -4737,6 +4762,11 @@ SELECT @x;
|
||||
END' at line 2
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
json_table:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
key:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
@@ -4977,6 +5007,11 @@ SELECT @x;
|
||||
END' at line 2
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
nested:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
not:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
@@ -5057,6 +5092,11 @@ SELECT @x;
|
||||
END' at line 2
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
ordinality:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
out:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
@@ -5081,6 +5121,11 @@ SELECT @x;
|
||||
END' at line 2
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
path:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
precision:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
@@ -5253,9 +5298,6 @@ CREATE PROCEDURE sp1()
|
||||
schema:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schema:BEGIN
|
||||
SELECT @x;
|
||||
END' at line 2
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
schemas:BEGIN
|
||||
@@ -7811,8 +7853,6 @@ CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare database char;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'database char;
|
||||
END' at line 3
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
@@ -8278,6 +8318,11 @@ END' at line 3
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare json_table char;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare key char;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key char;
|
||||
@@ -8488,6 +8533,11 @@ END' at line 3
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare nested char;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare not char;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not char;
|
||||
@@ -8556,6 +8606,11 @@ END' at line 3
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare ordinality char;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare out char;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'out char;
|
||||
@@ -8577,6 +8632,11 @@ END' at line 3
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare path char;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare precision char;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'precision char;
|
||||
@@ -8745,11 +8805,7 @@ CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare schema char;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schema char;
|
||||
END' at line 3
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare schemas char;
|
||||
@@ -9704,11 +9760,7 @@ BEGIN
|
||||
declare database condition for sqlstate '02000';
|
||||
declare exit handler for database set @var2 = 1;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'database condition for sqlstate '02000';
|
||||
declare exit handler for database se...' at line 3
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare databases condition for sqlstate '02000';
|
||||
@@ -10372,6 +10424,12 @@ Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare json_table condition for sqlstate '02000';
|
||||
declare exit handler for json_table set @var2 = 1;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare key condition for sqlstate '02000';
|
||||
declare exit handler for key set @var2 = 1;
|
||||
END//
|
||||
@@ -10672,6 +10730,12 @@ Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare nested condition for sqlstate '02000';
|
||||
declare exit handler for nested set @var2 = 1;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare not condition for sqlstate '02000';
|
||||
declare exit handler for not set @var2 = 1;
|
||||
END//
|
||||
@@ -10768,6 +10832,12 @@ Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare ordinality condition for sqlstate '02000';
|
||||
declare exit handler for ordinality set @var2 = 1;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare out condition for sqlstate '02000';
|
||||
declare exit handler for out set @var2 = 1;
|
||||
END//
|
||||
@@ -10798,6 +10868,12 @@ Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare path condition for sqlstate '02000';
|
||||
declare exit handler for path set @var2 = 1;
|
||||
END//
|
||||
DROP PROCEDURE sp1;
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare precision condition for sqlstate '02000';
|
||||
declare exit handler for precision set @var2 = 1;
|
||||
END//
|
||||
@@ -11021,11 +11097,7 @@ BEGIN
|
||||
declare schema condition for sqlstate '02000';
|
||||
declare exit handler for schema set @var2 = 1;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schema condition for sqlstate '02000';
|
||||
declare exit handler for schema set @v...' at line 3
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare schemas condition for sqlstate '02000';
|
||||
@@ -11974,8 +12046,7 @@ CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare database handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'database handler for sqlstate '02000' set @var2 = 1;
|
||||
END' at line 3
|
||||
ERROR HY000: Unknown data type: 'handler'
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
@@ -12571,6 +12642,11 @@ Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare json_table handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR HY000: Unknown data type: 'handler'
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare key handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key handler for sqlstate '02000' set @var2 = 1;
|
||||
@@ -12841,6 +12917,11 @@ Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare nested handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR HY000: Unknown data type: 'handler'
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare not handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not handler for sqlstate '02000' set @var2 = 1;
|
||||
@@ -12930,6 +13011,11 @@ Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare ordinality handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR HY000: Unknown data type: 'handler'
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare out handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'out handler for sqlstate '02000' set @var2 = 1;
|
||||
@@ -12957,6 +13043,11 @@ Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare path handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR HY000: Unknown data type: 'handler'
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare precision handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'precision handler for sqlstate '02000' set @var2 = 1;
|
||||
@@ -13164,8 +13255,7 @@ CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare schema handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schema handler for sqlstate '02000' set @var2 = 1;
|
||||
END' at line 3
|
||||
ERROR HY000: Unknown data type: 'handler'
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
Warnings:
|
||||
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
|
||||
|
@@ -1102,9 +1102,11 @@ CREATE PROCEDURE current_user()
|
||||
CREATE PROCEDURE cursor()
|
||||
SELECT * from t1 where f2=f1;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE database()
|
||||
SELECT * from t1 where f2=f1;
|
||||
SELECT 1;
|
||||
|
||||
CALL database();
|
||||
DROP PROCEDURE database;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE databases()
|
||||
@@ -1367,6 +1369,12 @@ CREATE PROCEDURE iterate()
|
||||
CREATE PROCEDURE join()
|
||||
SELECT * from t1 where f2=f1;
|
||||
|
||||
CREATE PROCEDURE json_table()
|
||||
SELECT 1;
|
||||
|
||||
CALL json_table();
|
||||
DROP PROCEDURE json_table;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE key()
|
||||
SELECT * from t1 where f2=f1;
|
||||
@@ -1487,6 +1495,13 @@ CREATE PROCEDURE modifies()
|
||||
CREATE PROCEDURE natural()
|
||||
SELECT * from t1 where f2=f1;
|
||||
|
||||
CREATE PROCEDURE nested()
|
||||
SELECT 1;
|
||||
|
||||
CALL nested();
|
||||
|
||||
DROP PROCEDURE nested;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE not()
|
||||
SELECT * from t1 where f2=f1;
|
||||
@@ -1527,6 +1542,13 @@ CREATE PROCEDURE or()
|
||||
CREATE PROCEDURE order()
|
||||
SELECT * from t1 where f2=f1;
|
||||
|
||||
CREATE PROCEDURE ordinality()
|
||||
SELECT 1;
|
||||
|
||||
CALL ordinality;
|
||||
|
||||
DROP PROCEDURE ordinality;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE out()
|
||||
SELECT * from t1 where f2=f1;
|
||||
@@ -1539,6 +1561,13 @@ CREATE PROCEDURE outer()
|
||||
CREATE PROCEDURE outfile()
|
||||
SELECT * from t1 where f2=f1;
|
||||
|
||||
CREATE PROCEDURE path()
|
||||
SELECT 1;
|
||||
|
||||
CALL path();
|
||||
|
||||
DROP PROCEDURE path;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE precision()
|
||||
SELECT * from t1 where f2=f1;
|
||||
@@ -1619,9 +1648,11 @@ CREATE PROCEDURE right()
|
||||
CREATE PROCEDURE rlike()
|
||||
SELECT * from t1 where f2=f1;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE schema()
|
||||
SELECT * from t1 where f2=f1;
|
||||
SELECT 1;
|
||||
|
||||
CALL schema();
|
||||
DROP PROCEDURE schema;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE schemas()
|
||||
@@ -3481,7 +3512,7 @@ DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
database:BEGIN
|
||||
SELECT @x;
|
||||
@@ -4284,6 +4315,15 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
CREATE PROCEDURE sp1()
|
||||
json_table:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1()
|
||||
@@ -4644,6 +4684,16 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
nested:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1()
|
||||
@@ -4765,6 +4815,16 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
ordinality:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1()
|
||||
@@ -4801,6 +4861,16 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
path:BEGIN
|
||||
SELECT @x;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1()
|
||||
@@ -5066,7 +5136,7 @@ DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
schema:BEGIN
|
||||
SELECT @x;
|
||||
@@ -8938,7 +9008,7 @@ DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare database char;
|
||||
@@ -9736,11 +9806,20 @@ BEGIN
|
||||
declare join char;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
--disable_warnings
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare json_table char;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1()
|
||||
@@ -10101,6 +10180,16 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare nested char;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1()
|
||||
@@ -10220,6 +10309,16 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare ordinality char;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1()
|
||||
@@ -10256,6 +10355,16 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
--enable_warnings
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare path char;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1()
|
||||
@@ -10506,7 +10615,7 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
|
||||
CREATE PROCEDURE sp1()
|
||||
BEGIN
|
||||
declare schema char;
|
||||
@@ -11624,7 +11733,7 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare database condition for sqlstate '02000';
|
||||
@@ -12360,6 +12469,17 @@ delimiter ;//
|
||||
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare json_table condition for sqlstate '02000';
|
||||
declare exit handler for json_table set @var2 = 1;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1( )
|
||||
@@ -12690,6 +12810,17 @@ delimiter ;//
|
||||
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare nested condition for sqlstate '02000';
|
||||
declare exit handler for nested set @var2 = 1;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1( )
|
||||
@@ -12799,6 +12930,17 @@ delimiter ;//
|
||||
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare ordinality condition for sqlstate '02000';
|
||||
declare exit handler for ordinality set @var2 = 1;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1( )
|
||||
@@ -12832,6 +12974,17 @@ delimiter ;//
|
||||
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare path condition for sqlstate '02000';
|
||||
declare exit handler for path set @var2 = 1;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
DROP PROCEDURE sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1( )
|
||||
@@ -13075,7 +13228,7 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare schema condition for sqlstate '02000';
|
||||
@@ -14181,7 +14334,7 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare database handler for sqlstate '02000' set @var2 = 1;
|
||||
@@ -14850,6 +15003,14 @@ delimiter ;//
|
||||
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_UNKNOWN_DATA_TYPE
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare json_table handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1( )
|
||||
@@ -15150,6 +15311,14 @@ delimiter ;//
|
||||
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_UNKNOWN_DATA_TYPE
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare nested handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1( )
|
||||
@@ -15250,6 +15419,14 @@ delimiter ;//
|
||||
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_UNKNOWN_DATA_TYPE
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare ordinality handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1( )
|
||||
@@ -15280,6 +15457,14 @@ delimiter ;//
|
||||
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_UNKNOWN_DATA_TYPE
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare path handler for sqlstate '02000' set @var2 = 1;
|
||||
END//
|
||||
delimiter ;//
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
CREATE PROCEDURE sp1( )
|
||||
@@ -15511,7 +15696,7 @@ delimiter ;//
|
||||
DROP PROCEDURE IF EXISTS sp1;
|
||||
|
||||
delimiter //;
|
||||
--error ER_PARSE_ERROR
|
||||
--error ER_UNKNOWN_DATA_TYPE
|
||||
CREATE PROCEDURE sp1( )
|
||||
BEGIN
|
||||
declare schema handler for sqlstate '02000' set @var2 = 1;
|
||||
|
@@ -3479,7 +3479,6 @@ CREATE VIEW v1 AS SELECT f1, f2, f3, 'HELLO' AS my_greeting FROM t1;
|
||||
|
||||
# Maybe the SQL standard allows the following INSERT.
|
||||
# But it would be a very sophisticated DBMS.
|
||||
--error ER_NON_INSERTABLE_TABLE
|
||||
INSERT INTO v1 SET f1 = 1;
|
||||
SELECT * from t1;
|
||||
DELETE FROM t1;
|
||||
|
@@ -39,9 +39,6 @@ commit work;
|
||||
SET GLOBAL innodb_fast_shutdown = 0;
|
||||
let $shutdown_timeout=;
|
||||
--source include/restart_mysqld.inc
|
||||
# Ensure that buf_flush_page_cleaner() has woken up from its
|
||||
# first my_cond_timedwait() and gone idle.
|
||||
sleep 1;
|
||||
--source ../include/no_checkpoint_start.inc
|
||||
connect (dml,localhost,root,,);
|
||||
XA START 'x';
|
||||
@@ -54,7 +51,7 @@ connection default;
|
||||
flush table t1 for export;
|
||||
|
||||
let $restart_parameters=;
|
||||
--let CLEANUP_IF_CHECKPOINT=drop table t1, unexpected_checkpoint;
|
||||
--let CLEANUP_IF_CHECKPOINT=XA COMMIT 'x';drop table t1;
|
||||
--source ../include/no_checkpoint_end.inc
|
||||
|
||||
perl;
|
||||
|
@@ -120,7 +120,6 @@ Filename::tab#.ibd
|
||||
#::# | Index page | index id=#, page level=#, No. of records=#, garbage=#, -
|
||||
#::# | Index page | index id=#, page level=#, No. of records=#, garbage=#, -
|
||||
#::# | Freshly allocated page | -
|
||||
#::# | Freshly allocated page | -
|
||||
# Variables used by page type dump for ibdata1
|
||||
|
||||
Variables (--variable-name=value)
|
||||
@@ -154,7 +153,6 @@ Filename::tab#.ibd
|
||||
#::# | Index page | index id=#, page level=#, No. of records=#, garbage=#, -
|
||||
#::# | Index page | index id=#, page level=#, No. of records=#, garbage=#, -
|
||||
#::# | Freshly allocated page | -
|
||||
#::# | Freshly allocated page | -
|
||||
[6]: check the valid lower bound values for option
|
||||
# allow-mismatches,page,start-page,end-page
|
||||
[9]: check the both short and long options "page" and "start-page" when
|
||||
|
@@ -1,3 +1,5 @@
|
||||
--- suite/mariabackup/huge_lsn.result
|
||||
+++ suite/mariabackup/huge_lsn.reject
|
||||
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# MDEV-13416 mariabackup fails with EFAULT "Bad Address"
|
||||
|
@@ -1,6 +1,7 @@
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/not_windows.inc
|
||||
|
||||
--connect (server_1,127.0.0.1,root,,,$SERVER_MYPORT_1)
|
||||
--connect (server_2,127.0.0.1,root,,,$SERVER_MYPORT_2)
|
||||
|
@@ -191,17 +191,17 @@ SELECT SCHEMA_NAME, DIGEST, DIGEST_TEXT, COUNT_STAR
|
||||
FROM performance_schema.events_statements_summary_by_digest
|
||||
ORDER BY DIGEST_TEXT;
|
||||
SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR
|
||||
test 8b1406618d34996cd11d1796438c78b5 EXPLAIN SELECT * FROM `test` . `v1` 1
|
||||
test 2c9e5d5b30d1690ba1a625afb4c42005 EXPLAIN SELECT * FROM `test` . `v1` WHERE `a` = ? 1
|
||||
test 2265269dbe1b17d1f309a63b8e56933f EXPLAIN SELECT * FROM `test` . `v1` WHERE `b` > ? 1
|
||||
test 2df0babfc3c8ad27b4e3f99ad59bc938 EXPLAIN SELECT `a` , `b` FROM `test` . `v1` 1
|
||||
test 8607297e7ffe77aa19a9d60812c5a8fd EXPLAIN SELECT `b` , `a` FROM `test` . `v1` 1
|
||||
test 9c94fee7865aa050201f6e67887fd0c8 SELECT * FROM `test` . `v1` 1
|
||||
test 7c856ddf7b57d65f8124f39e8b81882e SELECT * FROM `test` . `v1` WHERE `a` = ? 1
|
||||
test 994b14d068c24edd8fd61b2f03663be2 SELECT * FROM `test` . `v1` WHERE `b` > ? 1
|
||||
test b3102e1f51878e35936d7d3fe2901839 SELECT `a` , `b` FROM `test` . `v1` 1
|
||||
test cb300dd6358987c5afe1a2b0022fdea0 SELECT `b` , `a` FROM `test` . `v1` 1
|
||||
test 1b40b63f6a9dbffd146f0916fe4f5ed2 TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1
|
||||
test b69a5ddd08657692e23aa72d37dc15e0 EXPLAIN SELECT * FROM `test` . `v1` 1
|
||||
test 8c76fc18fe1711607640be2906e38f58 EXPLAIN SELECT * FROM `test` . `v1` WHERE `a` = ? 1
|
||||
test 9bedc57de65e2ac25d67fcb6ccadb427 EXPLAIN SELECT * FROM `test` . `v1` WHERE `b` > ? 1
|
||||
test 0539bbfdb016341a22d32fecb12c9882 EXPLAIN SELECT `a` , `b` FROM `test` . `v1` 1
|
||||
test 3368b44e9d8b8cfb13b58f97a255d77f EXPLAIN SELECT `b` , `a` FROM `test` . `v1` 1
|
||||
test 2f619aeadc8bd993980ef9b4d12e4222 SELECT * FROM `test` . `v1` 1
|
||||
test b9a44c024c9d79de76f2ebcd2f208c4c SELECT * FROM `test` . `v1` WHERE `a` = ? 1
|
||||
test a3ccc4c3c79e853eaa17e3ceb7a24b30 SELECT * FROM `test` . `v1` WHERE `b` > ? 1
|
||||
test 9556566adc0953fccd8e2e35019287ed SELECT `a` , `b` FROM `test` . `v1` 1
|
||||
test fc937c99007b0976d19fb685b3bf9acc SELECT `b` , `a` FROM `test` . `v1` 1
|
||||
test a73dca7a09f45de04f1f4588f0a4e19f TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1
|
||||
DROP TABLE test.v1;
|
||||
CREATE VIEW test.v1 AS SELECT * FROM test.t1;
|
||||
EXPLAIN SELECT * from test.v1;
|
||||
@@ -248,19 +248,19 @@ SELECT SCHEMA_NAME, DIGEST, DIGEST_TEXT, COUNT_STAR
|
||||
FROM performance_schema.events_statements_summary_by_digest
|
||||
ORDER BY DIGEST_TEXT;
|
||||
SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR
|
||||
test a68fd555281a14d2809c3105e9cb2c90 CREATE VIEW `test` . `v1` AS SELECT * FROM `test` . `t1` 1
|
||||
test 4baff8f96e4b6ec6cdbfef5b9c7a8b12 DROP TABLE `test` . `v1` 1
|
||||
test 8b1406618d34996cd11d1796438c78b5 EXPLAIN SELECT * FROM `test` . `v1` 2
|
||||
test 2c9e5d5b30d1690ba1a625afb4c42005 EXPLAIN SELECT * FROM `test` . `v1` WHERE `a` = ? 2
|
||||
test 2265269dbe1b17d1f309a63b8e56933f EXPLAIN SELECT * FROM `test` . `v1` WHERE `b` > ? 2
|
||||
test 2df0babfc3c8ad27b4e3f99ad59bc938 EXPLAIN SELECT `a` , `b` FROM `test` . `v1` 2
|
||||
test 8607297e7ffe77aa19a9d60812c5a8fd EXPLAIN SELECT `b` , `a` FROM `test` . `v1` 2
|
||||
test 9c94fee7865aa050201f6e67887fd0c8 SELECT * FROM `test` . `v1` 2
|
||||
test 7c856ddf7b57d65f8124f39e8b81882e SELECT * FROM `test` . `v1` WHERE `a` = ? 2
|
||||
test 994b14d068c24edd8fd61b2f03663be2 SELECT * FROM `test` . `v1` WHERE `b` > ? 2
|
||||
test df38ce7f6e35972efe5a4ec57e48bf4d SELECT SCHEMA_NAME , `DIGEST` , `DIGEST_TEXT` , `COUNT_STAR` FROM `performance_schema` . `events_statements_summary_by_digest` ORDER BY `DIGEST_TEXT` 1
|
||||
test b3102e1f51878e35936d7d3fe2901839 SELECT `a` , `b` FROM `test` . `v1` 2
|
||||
test cb300dd6358987c5afe1a2b0022fdea0 SELECT `b` , `a` FROM `test` . `v1` 2
|
||||
test 1b40b63f6a9dbffd146f0916fe4f5ed2 TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1
|
||||
test 7f6c48fe072a231bc75d6d449978b9f5 CREATE VIEW `test` . `v1` AS SELECT * FROM `test` . `t1` 1
|
||||
test c24db45ea4beed6ba2537ca6ea2d0484 DROP TABLE `test` . `v1` 1
|
||||
test b69a5ddd08657692e23aa72d37dc15e0 EXPLAIN SELECT * FROM `test` . `v1` 2
|
||||
test 8c76fc18fe1711607640be2906e38f58 EXPLAIN SELECT * FROM `test` . `v1` WHERE `a` = ? 2
|
||||
test 9bedc57de65e2ac25d67fcb6ccadb427 EXPLAIN SELECT * FROM `test` . `v1` WHERE `b` > ? 2
|
||||
test 0539bbfdb016341a22d32fecb12c9882 EXPLAIN SELECT `a` , `b` FROM `test` . `v1` 2
|
||||
test 3368b44e9d8b8cfb13b58f97a255d77f EXPLAIN SELECT `b` , `a` FROM `test` . `v1` 2
|
||||
test 2f619aeadc8bd993980ef9b4d12e4222 SELECT * FROM `test` . `v1` 2
|
||||
test b9a44c024c9d79de76f2ebcd2f208c4c SELECT * FROM `test` . `v1` WHERE `a` = ? 2
|
||||
test a3ccc4c3c79e853eaa17e3ceb7a24b30 SELECT * FROM `test` . `v1` WHERE `b` > ? 2
|
||||
test 7b82ea9a7c1859f76abed712d2d4b14d SELECT SCHEMA_NAME , `DIGEST` , `DIGEST_TEXT` , `COUNT_STAR` FROM `performance_schema` . `events_statements_summary_by_digest` ORDER BY `DIGEST_TEXT` 1
|
||||
test 9556566adc0953fccd8e2e35019287ed SELECT `a` , `b` FROM `test` . `v1` 2
|
||||
test fc937c99007b0976d19fb685b3bf9acc SELECT `b` , `a` FROM `test` . `v1` 2
|
||||
test a73dca7a09f45de04f1f4588f0a4e19f TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1
|
||||
DROP VIEW test.v1;
|
||||
DROP TABLE test.t1;
|
||||
|
@@ -8,5 +8,5 @@ SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1
|
||||
####################################
|
||||
SELECT event_name, digest, digest_text, sql_text FROM events_statements_history_long;
|
||||
event_name digest digest_text sql_text
|
||||
statement/sql/select ca9181d6d668396d467dd974f58a9402 SELECT ? + ? + SELECT ...
|
||||
statement/sql/truncate 4d2423d405bbcea8fa7bf9519c08dd8e TRUNCATE TABLE truncat...
|
||||
statement/sql/select 142569e3e23dff2a0170a603ed79020a SELECT ? + ? + SELECT ...
|
||||
statement/sql/truncate 5947880b8ba439f0ed3ff0bfbb04eebf TRUNCATE TABLE truncat...
|
||||
|
@@ -1,5 +1,7 @@
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
# This does not crash on 32 bit because of less memory used
|
||||
--source include/have_64bit.inc
|
||||
--echo #
|
||||
--echo # MDEV-33150 double-locking of LOCK_thd_kill in performance_schema.session_status
|
||||
--echo #
|
||||
|
@@ -9,6 +9,7 @@ sql_error_log_rotate OFF
|
||||
sql_error_log_rotations 9
|
||||
sql_error_log_size_limit 1000000
|
||||
sql_error_log_warnings ON
|
||||
sql_error_log_with_db_and_thread_info OFF
|
||||
set global sql_error_log_rate=1;
|
||||
select * from t_doesnt_exist;
|
||||
ERROR 42S02: Table 'test.t_doesnt_exist' doesn't exist
|
||||
|
41
mysql-test/suite/plugins/r/sql_error_log_withdbinfo.result
Normal file
41
mysql-test/suite/plugins/r/sql_error_log_withdbinfo.result
Normal file
@@ -0,0 +1,41 @@
|
||||
show variables like 'sql_error_log%';
|
||||
Variable_name Value
|
||||
sql_error_log_filename sql_errors.log
|
||||
sql_error_log_rate 1
|
||||
sql_error_log_rotate OFF
|
||||
sql_error_log_rotations 9
|
||||
sql_error_log_size_limit 1000000
|
||||
sql_error_log_warnings ON
|
||||
sql_error_log_with_db_and_thread_info ON
|
||||
set global sql_error_log_rate=1;
|
||||
# Trying to set the variable at runtime
|
||||
SET sql_error_log_with_db_and_thread_info=OFF;
|
||||
ERROR HY000: Variable 'sql_error_log_with_db_and_thread_info' is a read only variable
|
||||
#
|
||||
# Using test database from mtr
|
||||
#
|
||||
DROP DATABASE db;
|
||||
ERROR HY000: Can't drop database 'db'; database doesn't exist
|
||||
#
|
||||
# Using no database at all
|
||||
#
|
||||
connect con1,localhost,root,,*NO-ONE*;
|
||||
DROP DATABASE dbnodb;
|
||||
ERROR HY000: Can't drop database 'dbnodb'; database doesn't exist
|
||||
disconnect con1;
|
||||
connection default;
|
||||
#
|
||||
# Using database with name `NULL`
|
||||
#
|
||||
CREATE DATABASE `NULL`;
|
||||
USE `NULL`;
|
||||
DROP DATABASE db;
|
||||
ERROR HY000: Can't drop database 'db'; database doesn't exist
|
||||
TIME THREAD_ID HOSTNAME `mtr` WARNING 1286: Unknown storage engine 'InnoDB' : SELECT CONCAT(table_schema, '.', table_name) AS columns_in_mysql, column_name, ordinal_position, column_default, is_nullable, data_type, character_maximum_length, character_octet_length, numeric_precision, numeric_scale, character_set_name, collation_name, column_type, column_key, extra, column_comment FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema='mysql' ORDER BY columns_in_mysql
|
||||
TIME THREAD_ID HOSTNAME `mtr` WARNING 1286: Unknown storage engine 'InnoDB' : SELECT CONCAT(table_schema, '.', table_name) AS columns_in_mysql, column_name, ordinal_position, column_default, is_nullable, data_type, character_maximum_length, character_octet_length, numeric_precision, numeric_scale, character_set_name, collation_name, column_type, column_key, extra, column_comment FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema='mysql' ORDER BY columns_in_mysql
|
||||
TIME THREAD_ID HOSTNAME `mtr` WARNING 1286: Unknown storage engine 'InnoDB' : SELECT CONCAT(table_schema, '.', table_name) AS columns_in_mysql, column_name, ordinal_position, column_default, is_nullable, data_type, character_maximum_length, character_octet_length, numeric_precision, numeric_scale, character_set_name, collation_name, column_type, column_key, extra, column_comment FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema='mysql' ORDER BY columns_in_mysql
|
||||
TIME THREAD_ID HOSTNAME `test` ERROR 1238: Variable 'sql_error_log_with_db_and_thread_info' is a read only variable : SET sql_error_log_with_db_and_thread_info=OFF
|
||||
TIME THREAD_ID HOSTNAME `test` ERROR 1008: Can't drop database 'db'; database doesn't exist : DROP DATABASE db
|
||||
TIME THREAD_ID HOSTNAME NULL ERROR 1008: Can't drop database 'dbnodb'; database doesn't exist : DROP DATABASE dbnodb
|
||||
TIME THREAD_ID HOSTNAME `NULL` ERROR 1008: Can't drop database 'db'; database doesn't exist : DROP DATABASE db
|
||||
DROP DATABASE `NULL`;
|
1
mysql-test/suite/plugins/t/sql_error_log_withdbinfo.opt
Normal file
1
mysql-test/suite/plugins/t/sql_error_log_withdbinfo.opt
Normal file
@@ -0,0 +1 @@
|
||||
--plugin-load-add=$SQL_ERRLOG_SO --sql-error-log-with-db-and-thread-info=1 --lower_case_table_names=2
|
49
mysql-test/suite/plugins/t/sql_error_log_withdbinfo.test
Normal file
49
mysql-test/suite/plugins/t/sql_error_log_withdbinfo.test
Normal file
@@ -0,0 +1,49 @@
|
||||
--source include/not_embedded.inc
|
||||
|
||||
if (!$SQL_ERRLOG_SO) {
|
||||
skip No SQL_ERROR_LOG plugin;
|
||||
}
|
||||
|
||||
show variables like 'sql_error_log%';
|
||||
set global sql_error_log_rate=1;
|
||||
|
||||
let $MYSQLD_DATADIR= `SELECT @@datadir`;
|
||||
|
||||
--echo # Trying to set the variable at runtime
|
||||
|
||||
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
||||
SET sql_error_log_with_db_and_thread_info=OFF;
|
||||
|
||||
--echo #
|
||||
--echo # Using test database from mtr
|
||||
--echo #
|
||||
|
||||
--error ER_DB_DROP_EXISTS
|
||||
DROP DATABASE db;
|
||||
|
||||
--echo #
|
||||
--echo # Using no database at all
|
||||
--echo #
|
||||
|
||||
|
||||
connect (con1,localhost,root,,*NO-ONE*);
|
||||
--error ER_DB_DROP_EXISTS
|
||||
DROP DATABASE dbnodb;
|
||||
disconnect con1;
|
||||
connection default;
|
||||
|
||||
--echo #
|
||||
--echo # Using database with name `NULL`
|
||||
--echo #
|
||||
CREATE DATABASE `NULL`;
|
||||
USE `NULL`;
|
||||
--error ER_DB_DROP_EXISTS
|
||||
DROP DATABASE db;
|
||||
|
||||
|
||||
--let SEARCH_FILE= $MYSQLD_DATADIR/sql_errors.log
|
||||
--let LINES_TO_READ=7
|
||||
--replace_regex /[1-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [ 0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9]* .* @ .* `mtr` /TIME THREAD_ID HOSTNAME `mtr` //[1-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [ 0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9]* .* @ .* `test` /TIME THREAD_ID HOSTNAME `test` //[1-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [ 0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9]* .* @ .* NULL /TIME THREAD_ID HOSTNAME NULL //[1-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [ 0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9]* .* @ .* `NULL` /TIME THREAD_ID HOSTNAME `NULL` /
|
||||
--source include/read_head.inc
|
||||
|
||||
DROP DATABASE `NULL`;
|
@@ -85,5 +85,16 @@ SELECT VARIABLE_NAME, GLOBAL_VALUE FROM INFORMATION_SCHEMA.SYSTEM_VARIABLES WHER
|
||||
--eval CHANGE MASTER TO master_host='127.0.0.1', master_port=$MASTER_MYPORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1
|
||||
--source include/start_slave.inc
|
||||
|
||||
# Ensure master is ready to start sending new transactions. That is, because
|
||||
# the master does not have log_slave_updates, the slave's transactions of
|
||||
# repl_t are not binlogged, and its state is behind. If the master binlogs
|
||||
# any new transactions before the slaves connection is matured,
|
||||
# ER_GTID_POSITION_NOT_FOUND_IN_BINLOG2 can be reported to the slave
|
||||
# FIXME: We shouldn't need to do this, rather, the master should use
|
||||
# log-slave-updates and gtid-strict-mode
|
||||
--connection master
|
||||
--let $wait_condition= SELECT COUNT(*) > 0 FROM information_schema.processlist WHERE State like '%Master has sent all binlog to slave%'
|
||||
--source include/wait_condition.inc
|
||||
|
||||
--let $include_filename= rpl_change_master_demote.inc
|
||||
--source include/end_include_file.inc
|
||||
|
@@ -8,6 +8,7 @@ CHANGE MASTER TO MASTER_USE_GTID=slave_pos;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
"Test Case 1: Start binlog_dump to slave_server(#), pos(master-bin.000001, ###), using_gtid(1), gtid('')"
|
||||
include/wait_for_pattern_in_file.inc
|
||||
FOUND 1 /using_gtid\(1\), gtid\(\'\'\).*/ in mysqld.1.err
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
@@ -15,6 +16,7 @@ CHANGE MASTER TO MASTER_USE_GTID=no;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
"Test Case 2: Start binlog_dump to slave_server(#), pos(master-bin.000001, ###), using_gtid(0), gtid('')"
|
||||
include/wait_for_pattern_in_file.inc
|
||||
FOUND 1 /using_gtid\(0\), gtid\(\'\'\).*/ in mysqld.1.err
|
||||
CREATE TABLE t (f INT) ENGINE=INNODB;
|
||||
INSERT INTO t VALUES(10);
|
||||
@@ -25,6 +27,7 @@ CHANGE MASTER TO MASTER_USE_GTID=slave_pos;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
"Test Case 3: Start binlog_dump to slave_server(#), pos(master-bin.000001, ###), using_gtid(1), gtid('0-1-2')"
|
||||
include/wait_for_pattern_in_file.inc
|
||||
FOUND 1 /using_gtid\(1\), gtid\(\'0-1-2\'\).*/ in mysqld.1.err
|
||||
SET @@SESSION.gtid_domain_id=10;
|
||||
INSERT INTO t VALUES(20);
|
||||
@@ -35,6 +38,7 @@ CHANGE MASTER TO MASTER_USE_GTID=slave_pos;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
"Test Case 4: Start binlog_dump to slave_server(#), pos(master-bin.000001, ###), using_gtid(1), gtid('0-1-2,10-1-1')"
|
||||
include/wait_for_pattern_in_file.inc
|
||||
FOUND 1 /using_gtid\(1\), gtid\(\'0-1-2,10-1-1\'\).*/ in mysqld.1.err
|
||||
"===== Clean up ====="
|
||||
connection slave;
|
||||
|
@@ -58,6 +58,7 @@ GTID_SLAVE_POS 0-2-3
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
#
|
||||
# Test Case 2: If gtid_slave_pos is empty, gtid_binlog_pos will
|
||||
# completely overwrite it with MASTER_DEMOTE_TO_SLAVE=1.
|
||||
@@ -124,6 +125,7 @@ GTID_SLAVE_POS 0-2-5
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
#
|
||||
# Test Case 3: Using a single domain id, if neither gtid_slave_pos nor
|
||||
# gtid_binlog_pos are empty, and gtid_binlog_pos is more recent, then
|
||||
@@ -183,6 +185,7 @@ GTID_SLAVE_POS 0-2-9
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
#
|
||||
# Test Case 4: If gtid_slave_pos and gtid_binlog_pos are equivalent,
|
||||
# MASTER_DEMOTE_TO_SLAVE=1 will not change gtid_slave_pos.
|
||||
@@ -244,6 +247,7 @@ GTID_SLAVE_POS 0-2-13
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
#
|
||||
# Test Case 5: If a new domain id is added into gtid_binlog_pos while
|
||||
# gtid_slave_pos already has a state, MASTER_DEMOTE_TO_SLAVE=1 will
|
||||
@@ -308,6 +312,7 @@ GTID_SLAVE_POS 0-2-17,1-1-2
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
#
|
||||
# Test Case 6: If gtid_slave_pos has multiple GTID positions and
|
||||
# gtid_binlog_pos contains updates on existing domain ids, new
|
||||
@@ -390,6 +395,7 @@ GTID_SLAVE_POS 0-2-21,1-3-4,2-1-2,4-3-2
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
#
|
||||
# Test Case 7: If MASTER_DEMOTE_TO_SLAVE=1 is combined with
|
||||
# IGNORE_DOMAIN_IDS such that gtid_binlog_pos has more recent GTIDs
|
||||
@@ -455,6 +461,7 @@ GTID_SLAVE_POS 0-2-24,1-3-4,2-1-3,3-1-2,4-3-2
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
#
|
||||
# Test Case 8: If gtid_binlog_pos is more recent than gtid_slave_pos,
|
||||
# and MASTER_DEMOTE_TO_SLAVE=1 is combined with a later call to
|
||||
@@ -556,6 +563,7 @@ GTID_SLAVE_POS 0-2-29,1-3-4,2-1-3,3-1-2,4-3-2
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
# Demote master to slave with the more recent gtid_slave_pos
|
||||
connection master;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=SLAVE_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
@@ -619,6 +627,7 @@ GTID_SLAVE_POS 0-2-32,1-3-4,2-1-3,3-1-2,4-3-2
|
||||
connection master;
|
||||
connection slave;
|
||||
CHANGE MASTER TO master_host='127.0.0.1', master_port=MASTER_PORT, master_user='root', master_use_gtid=slave_pos, master_demote_to_slave=1;
|
||||
connection master;
|
||||
# Tag gtid_slave_pos now (before binlog updates) for later comparison
|
||||
connection master;
|
||||
# In domain 1, make gtid_slave_pos < gtid_binlog_pos
|
||||
|
@@ -1,5 +1,7 @@
|
||||
include/master-slave.inc
|
||||
[connection master]
|
||||
connection server_2;
|
||||
call mtr.add_suppression("Timeout waiting for reply of binlog");
|
||||
# Master server_1 and Slave server_2 initialization ...
|
||||
connection server_2;
|
||||
include/stop_slave.inc
|
||||
@@ -40,6 +42,8 @@ set @@global.rpl_semi_sync_master_enabled = 1;
|
||||
INSERT INTO t1(a) VALUES (2);
|
||||
include/save_master_gtid.inc
|
||||
connection server_1;
|
||||
include/stop_slave.inc
|
||||
include/start_slave.inc
|
||||
#
|
||||
# the successful sync is a required proof
|
||||
#
|
||||
|
@@ -70,6 +70,9 @@ include/stop_slave.inc
|
||||
# CHANGE MASTER TO MASTER_DELAY = 2*T
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
INSERT INTO t1 VALUES ('Syncing slave', 5);
|
||||
connection slave;
|
||||
connection master;
|
||||
INSERT INTO t1 VALUES (delay_on_slave(1), 6);
|
||||
Warnings:
|
||||
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system variable that may have a different value on the slave
|
||||
|
@@ -38,8 +38,9 @@ connection master;
|
||||
include/rpl_start_server.inc [server_number=1]
|
||||
# Master has restarted successfully
|
||||
connection slave;
|
||||
include/wait_for_slave_io_to_start.inc
|
||||
include/wait_for_slave_sql_to_start.inc
|
||||
include/stop_slave_sql.inc
|
||||
include/stop_slave_io.inc
|
||||
include/start_slave.inc
|
||||
select * from ti;
|
||||
a
|
||||
1
|
||||
|
@@ -21,23 +21,23 @@ master-bin.000001 # Gtid 1 # GTID #-#-#
|
||||
master-bin.000001 # Query 1 # use `test`; ALTER TABLE t comment ''
|
||||
master-bin.000001 # Gtid 1 # BEGIN GTID #-#-#
|
||||
master-bin.000001 # Annotate_rows 1 # INSERT INTO t SET a= 1
|
||||
master-bin.000001 # Table_map 1 # table_id: 4294967295 (test.t)
|
||||
master-bin.000001 # Write_rows_v1 1 # table_id: 4294967295 flags: STMT_END_F
|
||||
master-bin.000001 # Query 1 # COMMIT
|
||||
master-bin.000001 # Gtid 1 # GTID #-#-#
|
||||
master-bin.000001 # Query 1 # use `test`; ALTER TABLE t comment ''
|
||||
master-bin.000001 # Gtid 1 # BEGIN GTID #-#-#
|
||||
master-bin.000001 # Annotate_rows 1 # INSERT INTO t SET a= 2
|
||||
master-bin.000001 # Table_map 1 # table_id: 4294967296 (test.t)
|
||||
master-bin.000001 # Write_rows_v1 1 # table_id: 4294967296 flags: STMT_END_F
|
||||
master-bin.000001 # Query 1 # COMMIT
|
||||
master-bin.000001 # Gtid 1 # GTID #-#-#
|
||||
master-bin.000001 # Query 1 # use `test`; ALTER TABLE t comment ''
|
||||
master-bin.000001 # Gtid 1 # BEGIN GTID #-#-#
|
||||
master-bin.000001 # Annotate_rows 1 # INSERT INTO t SET a= 3
|
||||
master-bin.000001 # Annotate_rows 1 # INSERT INTO t SET a= 2
|
||||
master-bin.000001 # Table_map 1 # table_id: 4294967297 (test.t)
|
||||
master-bin.000001 # Write_rows_v1 1 # table_id: 4294967297 flags: STMT_END_F
|
||||
master-bin.000001 # Query 1 # COMMIT
|
||||
master-bin.000001 # Gtid 1 # GTID #-#-#
|
||||
master-bin.000001 # Query 1 # use `test`; ALTER TABLE t comment ''
|
||||
master-bin.000001 # Gtid 1 # BEGIN GTID #-#-#
|
||||
master-bin.000001 # Annotate_rows 1 # INSERT INTO t SET a= 3
|
||||
master-bin.000001 # Table_map 1 # table_id: 4294967298 (test.t)
|
||||
master-bin.000001 # Write_rows_v1 1 # table_id: 4294967298 flags: STMT_END_F
|
||||
master-bin.000001 # Query 1 # COMMIT
|
||||
connection slave;
|
||||
connection master;
|
||||
SET debug_dbug=@old_debug_dbug;
|
||||
|
@@ -6,7 +6,8 @@ CHANGE MASTER TO MASTER_USE_GTID=NO;
|
||||
include/start_slave.inc
|
||||
include/stop_slave.inc
|
||||
SET @save_dbug= @@GLOBAL.debug_dbug;
|
||||
SET @@global.debug_dbug="+d,pause_sql_thread_on_fde,negate_clock_diff_with_master";
|
||||
SET @@global.debug_dbug="+d,pause_sql_thread_on_relay_fde_after_trans";
|
||||
SET @@global.debug_dbug="+d,negate_clock_diff_with_master";
|
||||
include/start_slave.inc
|
||||
# Future events must be logged at least 2 seconds after
|
||||
# the slave starts
|
||||
@@ -18,11 +19,6 @@ insert into t1 values (1);
|
||||
# event in its relay log
|
||||
flush logs;
|
||||
connection slave;
|
||||
# Ignore FDEs that happen before the CREATE/INSERT commands
|
||||
SET DEBUG_SYNC='now WAIT_FOR paused_on_fde';
|
||||
SET DEBUG_SYNC='now SIGNAL sql_thread_continue';
|
||||
SET DEBUG_SYNC='now WAIT_FOR paused_on_fde';
|
||||
SET DEBUG_SYNC='now SIGNAL sql_thread_continue';
|
||||
# On the next FDE, the slave should have the master CREATE/INSERT events
|
||||
SET DEBUG_SYNC='now WAIT_FOR paused_on_fde';
|
||||
select count(*)=1 from t1;
|
||||
|
@@ -7,7 +7,6 @@ call mtr.add_suppression("Unsafe statement written to the binary log using state
|
||||
call mtr.add_suppression("mysqld: Got an error reading communication packets");
|
||||
connection slave;
|
||||
set sql_log_bin=0;
|
||||
call mtr.add_suppression("Master server does not support semi-sync");
|
||||
call mtr.add_suppression("Semi-sync slave .* reply");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
set sql_log_bin=1;
|
||||
@@ -28,7 +27,7 @@ set global rpl_semi_sync_slave_enabled= 0;
|
||||
# Main test of semi-sync replication start here
|
||||
#
|
||||
connection master;
|
||||
set global rpl_semi_sync_master_timeout= 60000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
[ default state of semi-sync on master should be OFF ]
|
||||
show variables like 'rpl_semi_sync_master_enabled';
|
||||
Variable_name Value
|
||||
@@ -163,11 +162,15 @@ connection slave;
|
||||
# Test semi-sync master will switch OFF after one transaction
|
||||
# timeout waiting for slave reply.
|
||||
#
|
||||
connection master;
|
||||
show status like "Rpl_semi_sync_master_status";
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_master_status ON
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
connection master;
|
||||
include/kill_binlog_dump_threads.inc
|
||||
set global rpl_semi_sync_master_timeout= 5000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
[ master status should be ON ]
|
||||
show status like 'Rpl_semi_sync_master_no_tx';
|
||||
Variable_name Value
|
||||
@@ -317,6 +320,8 @@ include/kill_binlog_dump_threads.inc
|
||||
connection slave;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
connection slave;
|
||||
connection master;
|
||||
create table t1 (a int) engine = ENGINE_TYPE;
|
||||
insert into t1 values (1);
|
||||
insert into t1 values (2), (3);
|
||||
@@ -359,6 +364,8 @@ show status like 'Rpl_semi_sync_slave_status';
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_slave_status ON
|
||||
connection master;
|
||||
connection slave;
|
||||
connection master;
|
||||
[ master semi-sync should be ON ]
|
||||
show status like 'Rpl_semi_sync_master_clients';
|
||||
Variable_name Value
|
||||
|
@@ -8,7 +8,6 @@ call mtr.add_suppression("Unsafe statement written to the binary log using state
|
||||
call mtr.add_suppression("mysqld: Got an error reading communication packets");
|
||||
connection slave;
|
||||
set sql_log_bin=0;
|
||||
call mtr.add_suppression("Master server does not support semi-sync");
|
||||
call mtr.add_suppression("Semi-sync slave .* reply");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
set sql_log_bin=1;
|
||||
@@ -29,7 +28,7 @@ set global rpl_semi_sync_slave_enabled= 0;
|
||||
# Main test of semi-sync replication start here
|
||||
#
|
||||
connection master;
|
||||
set global rpl_semi_sync_master_timeout= 60000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
[ default state of semi-sync on master should be OFF ]
|
||||
show variables like 'rpl_semi_sync_master_enabled';
|
||||
Variable_name Value
|
||||
@@ -164,11 +163,15 @@ connection slave;
|
||||
# Test semi-sync master will switch OFF after one transaction
|
||||
# timeout waiting for slave reply.
|
||||
#
|
||||
connection master;
|
||||
show status like "Rpl_semi_sync_master_status";
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_master_status ON
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
connection master;
|
||||
include/kill_binlog_dump_threads.inc
|
||||
set global rpl_semi_sync_master_timeout= 5000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
[ master status should be ON ]
|
||||
show status like 'Rpl_semi_sync_master_no_tx';
|
||||
Variable_name Value
|
||||
@@ -318,6 +321,8 @@ include/kill_binlog_dump_threads.inc
|
||||
connection slave;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
connection slave;
|
||||
connection master;
|
||||
create table t1 (a int) engine = ENGINE_TYPE;
|
||||
insert into t1 values (1);
|
||||
insert into t1 values (2), (3);
|
||||
@@ -360,6 +365,8 @@ show status like 'Rpl_semi_sync_slave_status';
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_slave_status ON
|
||||
connection master;
|
||||
connection slave;
|
||||
connection master;
|
||||
[ master semi-sync should be ON ]
|
||||
show status like 'Rpl_semi_sync_master_clients';
|
||||
Variable_name Value
|
||||
|
@@ -8,7 +8,6 @@ call mtr.add_suppression("Unsafe statement written to the binary log using state
|
||||
call mtr.add_suppression("mysqld: Got an error reading communication packets");
|
||||
connection slave;
|
||||
set sql_log_bin=0;
|
||||
call mtr.add_suppression("Master server does not support semi-sync");
|
||||
call mtr.add_suppression("Semi-sync slave .* reply");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
set sql_log_bin=1;
|
||||
@@ -29,7 +28,7 @@ set global rpl_semi_sync_slave_enabled= 0;
|
||||
# Main test of semi-sync replication start here
|
||||
#
|
||||
connection master;
|
||||
set global rpl_semi_sync_master_timeout= 60000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
[ default state of semi-sync on master should be OFF ]
|
||||
show variables like 'rpl_semi_sync_master_enabled';
|
||||
Variable_name Value
|
||||
@@ -164,11 +163,15 @@ connection slave;
|
||||
# Test semi-sync master will switch OFF after one transaction
|
||||
# timeout waiting for slave reply.
|
||||
#
|
||||
connection master;
|
||||
show status like "Rpl_semi_sync_master_status";
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_master_status ON
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
connection master;
|
||||
include/kill_binlog_dump_threads.inc
|
||||
set global rpl_semi_sync_master_timeout= 5000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
[ master status should be ON ]
|
||||
show status like 'Rpl_semi_sync_master_no_tx';
|
||||
Variable_name Value
|
||||
@@ -318,6 +321,8 @@ include/kill_binlog_dump_threads.inc
|
||||
connection slave;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
connection slave;
|
||||
connection master;
|
||||
create table t1 (a int) engine = ENGINE_TYPE;
|
||||
insert into t1 values (1);
|
||||
insert into t1 values (2), (3);
|
||||
@@ -360,6 +365,8 @@ show status like 'Rpl_semi_sync_slave_status';
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_slave_status ON
|
||||
connection master;
|
||||
connection slave;
|
||||
connection master;
|
||||
[ master semi-sync should be ON ]
|
||||
show status like 'Rpl_semi_sync_master_clients';
|
||||
Variable_name Value
|
||||
|
@@ -7,7 +7,6 @@ call mtr.add_suppression("Read semi-sync reply");
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.");
|
||||
call mtr.add_suppression("mysqld: Got an error reading communication packets");
|
||||
connection slave;
|
||||
call mtr.add_suppression("Master server does not support semi-sync");
|
||||
call mtr.add_suppression("Semi-sync slave .* reply");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
connection master;
|
||||
|
@@ -8,7 +8,6 @@ call mtr.add_suppression("Read semi-sync reply");
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.");
|
||||
call mtr.add_suppression("mysqld: Got an error reading communication packets");
|
||||
connection slave;
|
||||
call mtr.add_suppression("Master server does not support semi-sync");
|
||||
call mtr.add_suppression("Semi-sync slave .* reply");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
connection master;
|
||||
|
@@ -5,6 +5,7 @@ include/stop_slave.inc
|
||||
connection server_1;
|
||||
RESET MASTER;
|
||||
SET @@global.max_binlog_size= 4096;
|
||||
set @@global.rpl_semi_sync_master_enabled = 1;
|
||||
connection server_2;
|
||||
RESET MASTER;
|
||||
SET @@global.max_binlog_size= 4096;
|
||||
@@ -14,7 +15,6 @@ CHANGE MASTER TO master_use_gtid= slave_pos;
|
||||
include/start_slave.inc
|
||||
connection server_1;
|
||||
ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
|
||||
set @@global.rpl_semi_sync_master_enabled = 1;
|
||||
set @@global.rpl_semi_sync_master_wait_point=AFTER_SYNC;
|
||||
CREATE TABLE t1 (a INT PRIMARY KEY, b MEDIUMTEXT) ENGINE=Innodb;
|
||||
INSERT INTO t1 VALUES (1, 'dummy1');
|
||||
|
@@ -0,0 +1,48 @@
|
||||
include/rpl_init.inc [topology=1->2,1->3]
|
||||
connection server_1;
|
||||
set @old_enabled= @@global.rpl_semi_sync_master_enabled;
|
||||
set @old_timeout= @@global.rpl_semi_sync_master_timeout;
|
||||
set global rpl_semi_sync_master_enabled= 1;
|
||||
set global rpl_semi_sync_master_timeout= 500;
|
||||
connection server_2;
|
||||
include/stop_slave.inc
|
||||
set @old_enabled= @@global.rpl_semi_sync_slave_enabled;
|
||||
set @old_dbug= @@global.debug_dbug;
|
||||
set global rpl_semi_sync_slave_enabled= 1;
|
||||
set global debug_dbug="+d,simulate_delay_semisync_slave_reply";
|
||||
include/start_slave.inc
|
||||
connection server_3;
|
||||
include/stop_slave.inc
|
||||
set @old_enabled= @@global.rpl_semi_sync_slave_enabled;
|
||||
set global rpl_semi_sync_slave_enabled= 1;
|
||||
include/start_slave.inc
|
||||
# Ensure primary recognizes both replicas are semi-sync
|
||||
connection server_1;
|
||||
connection server_1;
|
||||
create table t1 (a int);
|
||||
connection server_2;
|
||||
# Verifying server_2 did not send ACK
|
||||
connection server_3;
|
||||
# Verifying server_3 did send ACK
|
||||
connection server_1;
|
||||
# Verifying master's semi-sync status is still ON (This failed pre-MDEV-32960 fixes)
|
||||
# Verifying rpl_semi_sync_master_yes_tx incremented
|
||||
#
|
||||
# Cleanup
|
||||
connection server_2;
|
||||
set global rpl_semi_sync_slave_enabled= @old_enabled;
|
||||
set global debug_dbug= @old_dbug;
|
||||
include/stop_slave.inc
|
||||
connection server_3;
|
||||
set global rpl_semi_sync_slave_enabled= @old_enabled;
|
||||
include/stop_slave.inc
|
||||
connection server_1;
|
||||
set global rpl_semi_sync_master_enabled= @old_enabled;
|
||||
set global rpl_semi_sync_master_timeout= @old_timeout;
|
||||
drop table t1;
|
||||
connection server_2;
|
||||
include/start_slave.inc
|
||||
connection server_3;
|
||||
include/start_slave.inc
|
||||
include/rpl_end.inc
|
||||
# End of rpl_semi_sync_no_missed_ack_after_add_slave.test
|
@@ -0,0 +1,35 @@
|
||||
include/master-slave.inc
|
||||
[connection master]
|
||||
call mtr.add_suppression("Replication event checksum verification failed");
|
||||
call mtr.add_suppression("could not queue event from master");
|
||||
#
|
||||
# Set up a semisync connection
|
||||
connection master;
|
||||
set @@global.rpl_semi_sync_master_enabled= ON;
|
||||
connection slave;
|
||||
stop slave io_thread;
|
||||
set @@global.rpl_semi_sync_slave_enabled= ON;
|
||||
set @old_dbug= @@global.debug_dbug;
|
||||
set @@global.debug_dbug= "+d,corrupt_queue_event";
|
||||
set @@global.debug_dbug= "+d,pause_before_io_read_event";
|
||||
set @@global.debug_dbug= "+d,placeholder";
|
||||
start slave io_thread;
|
||||
# Disable semi-sync on the slave while the IO thread is active
|
||||
set debug_sync='now wait_for io_thread_at_read_event';
|
||||
set @@global.rpl_semi_sync_slave_enabled= OFF;
|
||||
set debug_sync='now signal io_thread_continue_read_event';
|
||||
# Waiting for the slave to stop with the error from corrupt_queue_event
|
||||
connection slave;
|
||||
include/wait_for_slave_io_error.inc [errno=1595,1743]
|
||||
# Sleep 1 to give time for Ack_receiver to receive COM_QUIT
|
||||
include/assert_grep.inc [Check that there is no 'Read semi-sync reply magic number error' in error log.]
|
||||
#
|
||||
# Cleanup
|
||||
connection slave;
|
||||
include/stop_slave.inc
|
||||
set @@global.debug_dbug= @old_dbug;
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
set @@global.rpl_semi_sync_master_enabled= default;
|
||||
include/rpl_end.inc
|
||||
# End of rpl_semi_sync_slave_enabled_consistent.test
|
@@ -4,6 +4,7 @@ connection slave;
|
||||
include/stop_slave.inc
|
||||
connection master;
|
||||
call mtr.add_suppression("Timeout waiting for reply of binlog*");
|
||||
call mtr.add_suppression("Master server does not read semi-sync messages*");
|
||||
set global rpl_semi_sync_master_enabled = ON;
|
||||
SET @@GLOBAL.rpl_semi_sync_master_timeout=100;
|
||||
create table t1 (i int);
|
||||
@@ -15,8 +16,8 @@ SET GLOBAL debug_dbug="+d,semislave_failed_net_flush";
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
connection slave;
|
||||
"Assert that the net_fulsh() reply failed is present in slave error log.
|
||||
FOUND 1 /Semi-sync slave net_flush\(\) reply failed/ in mysqld.2.err
|
||||
"Assert that Master server does not read semi-sync messages" is present in slave error log.
|
||||
FOUND 1 /Master server does not read semi-sync messages/ in mysqld.2.err
|
||||
"Assert that Slave IO thread is up and running."
|
||||
SHOW STATUS LIKE 'Slave_running';
|
||||
Variable_name Value
|
||||
|
@@ -14,7 +14,6 @@ CALL mtr.add_suppression("Failed on request_dump()*");
|
||||
CALL mtr.add_suppression("Semi-sync master failed on*");
|
||||
CALL mtr.add_suppression("Master command COM_BINLOG_DUMP failed*");
|
||||
CALL mtr.add_suppression("on master failed*");
|
||||
CALL mtr.add_suppression("Master server does not support semi-sync*");
|
||||
CALL mtr.add_suppression("Semi-sync slave net_flush*");
|
||||
CALL mtr.add_suppression("Failed to flush master info*");
|
||||
CALL mtr.add_suppression("Request to stop slave SQL Thread received while apply*");
|
||||
@@ -196,7 +195,7 @@ Variable_name Value
|
||||
Rpl_semi_sync_master_clients 0
|
||||
show status like 'Rpl_semi_sync_master_status';
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_master_status OFF
|
||||
Rpl_semi_sync_master_status ON
|
||||
connection slave;
|
||||
START SLAVE IO_THREAD;
|
||||
include/wait_for_slave_io_to_start.inc
|
||||
|
@@ -1,5 +1,16 @@
|
||||
include/master-slave.inc
|
||||
[connection master]
|
||||
select @@rpl_semi_sync_master_enabled;
|
||||
@@rpl_semi_sync_master_enabled
|
||||
0
|
||||
connection slave;
|
||||
select @@rpl_semi_sync_slave_enabled;
|
||||
@@rpl_semi_sync_slave_enabled
|
||||
0
|
||||
show status like "rpl_semi_sync_slave_status";
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_slave_status OFF
|
||||
connection master;
|
||||
drop table if exists t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 'test.t1'
|
||||
|
69
mysql-test/suite/rpl/r/rpl_session_var2.result
Normal file
69
mysql-test/suite/rpl/r/rpl_session_var2.result
Normal file
@@ -0,0 +1,69 @@
|
||||
include/master-slave.inc
|
||||
[connection master]
|
||||
select @@rpl_semi_sync_master_enabled;
|
||||
@@rpl_semi_sync_master_enabled
|
||||
1
|
||||
connection slave;
|
||||
select @@rpl_semi_sync_slave_enabled;
|
||||
@@rpl_semi_sync_slave_enabled
|
||||
1
|
||||
show status like "rpl_semi_sync_slave_status";
|
||||
Variable_name Value
|
||||
Rpl_semi_sync_slave_status ON
|
||||
connection master;
|
||||
drop table if exists t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 'test.t1'
|
||||
create table t1(a varchar(100),b int);
|
||||
set @@session.sql_mode=pipes_as_concat;
|
||||
insert into t1 values('My'||'SQL', 1);
|
||||
set @@session.sql_mode=default;
|
||||
insert into t1 values('1'||'2', 2);
|
||||
select * from t1 where b<3 order by a;
|
||||
a b
|
||||
1 2
|
||||
MySQL 1
|
||||
connection slave;
|
||||
select * from t1 where b<3 order by a;
|
||||
a b
|
||||
1 2
|
||||
MySQL 1
|
||||
connection master;
|
||||
set @@session.sql_mode=ignore_space;
|
||||
insert into t1 values(password ('MySQL'), 3);
|
||||
set @@session.sql_mode=ansi_quotes;
|
||||
create table "t2" ("a" int);
|
||||
drop table t1, t2;
|
||||
set @@session.sql_mode=default;
|
||||
create table t1(a int auto_increment primary key);
|
||||
create table t2(b int, a int);
|
||||
set @@session.sql_auto_is_null=1;
|
||||
insert into t1 values(null);
|
||||
insert into t2 select 1,a from t1 where a is null;
|
||||
set @@session.sql_auto_is_null=0;
|
||||
insert into t1 values(null);
|
||||
insert into t2 select 2,a from t1 where a is null;
|
||||
select * from t2 order by b;
|
||||
b a
|
||||
1 1
|
||||
connection slave;
|
||||
select * from t2 order by b;
|
||||
b a
|
||||
1 1
|
||||
connection master;
|
||||
drop table t1,t2;
|
||||
connection slave;
|
||||
connection master;
|
||||
CREATE TABLE t1 (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`data` varchar(100),
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM;
|
||||
INSERT INTO t1(data) VALUES(SESSION_USER());
|
||||
connection slave;
|
||||
SELECT length(data) < 100 FROM t1;
|
||||
length(data) < 100
|
||||
1
|
||||
connection master;
|
||||
drop table t1;
|
||||
include/rpl_end.inc
|
@@ -79,7 +79,9 @@ domain_id seq_no
|
||||
0 5
|
||||
include/start_slave.inc
|
||||
connection master;
|
||||
include/save_master_gtid.inc
|
||||
connection slave;
|
||||
include/sync_with_master_gtid.inc
|
||||
# Everything from the master binlog must have been applied now:
|
||||
select domain_id, seq_no from mysql.gtid_slave_pos order by seq_no desc limit 1;
|
||||
domain_id seq_no
|
||||
|
@@ -117,7 +117,10 @@ include/start_slave.inc
|
||||
# not master_use_gtid=no should warn the user that Using_Gtid is being
|
||||
# changed to No.
|
||||
#
|
||||
connection master;
|
||||
include/save_master_pos.inc
|
||||
connection slave;
|
||||
include/sync_io_with_master.inc
|
||||
include/stop_slave.inc
|
||||
CHANGE MASTER TO master_log_pos=io_log_pos, master_log_file='io_log_file';
|
||||
Warnings:
|
||||
|
@@ -59,7 +59,7 @@ if(!$log_error_)
|
||||
--let SEARCH_FILE=$log_error_
|
||||
--let SEARCH_RANGE=-50000
|
||||
--let SEARCH_PATTERN=using_gtid\(1\), gtid\(\'\'\).*
|
||||
--source include/search_pattern_in_file.inc
|
||||
--source include/wait_for_pattern_in_file.inc
|
||||
|
||||
--connection slave
|
||||
--source include/stop_slave.inc
|
||||
@@ -71,7 +71,7 @@ CHANGE MASTER TO MASTER_USE_GTID=no;
|
||||
--let SEARCH_FILE=$log_error_
|
||||
--let SEARCH_RANGE=-50000
|
||||
--let SEARCH_PATTERN=using_gtid\(0\), gtid\(\'\'\).*
|
||||
--source include/search_pattern_in_file.inc
|
||||
--source include/wait_for_pattern_in_file.inc
|
||||
CREATE TABLE t (f INT) ENGINE=INNODB;
|
||||
INSERT INTO t VALUES(10);
|
||||
save_master_pos;
|
||||
@@ -89,7 +89,7 @@ CHANGE MASTER TO MASTER_USE_GTID=slave_pos;
|
||||
--let SEARCH_FILE=$log_error_
|
||||
--let SEARCH_RANGE=-50000
|
||||
--let SEARCH_PATTERN=using_gtid\(1\), gtid\(\'0-1-2\'\).*
|
||||
--source include/search_pattern_in_file.inc
|
||||
--source include/wait_for_pattern_in_file.inc
|
||||
SET @@SESSION.gtid_domain_id=10;
|
||||
INSERT INTO t VALUES(20);
|
||||
save_master_pos;
|
||||
@@ -107,7 +107,7 @@ CHANGE MASTER TO MASTER_USE_GTID=slave_pos;
|
||||
--let SEARCH_FILE=$log_error_
|
||||
--let SEARCH_RANGE=-50000
|
||||
--let SEARCH_PATTERN=using_gtid\(1\), gtid\(\'0-1-2,10-1-1\'\).*
|
||||
--source include/search_pattern_in_file.inc
|
||||
--source include/wait_for_pattern_in_file.inc
|
||||
|
||||
--echo "===== Clean up ====="
|
||||
--connection slave
|
||||
|
@@ -7,6 +7,9 @@
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
connection server_2;
|
||||
call mtr.add_suppression("Timeout waiting for reply of binlog");
|
||||
|
||||
# The following tests prove
|
||||
# A.
|
||||
# no out-of-order gtid error is done to the stict gtid mode semisync
|
||||
@@ -66,10 +69,18 @@ evalp CHANGE MASTER TO master_host='127.0.0.1', master_port=$SERVER_MYPORT_2, ma
|
||||
--connection server_2
|
||||
set @@global.gtid_strict_mode = true;
|
||||
set @@global.rpl_semi_sync_master_enabled = 1;
|
||||
|
||||
# The following command is likely to cause the slave master is not yet setup
|
||||
# for semi-sync
|
||||
|
||||
INSERT INTO t1(a) VALUES (2);
|
||||
--source include/save_master_gtid.inc
|
||||
|
||||
--connection server_1
|
||||
# Update slave to notice that server_2 now has rpl_semi_sync_master_enabled
|
||||
--source include/stop_slave.inc
|
||||
--source include/start_slave.inc
|
||||
|
||||
--echo #
|
||||
--echo # the successful sync is a required proof
|
||||
--echo #
|
||||
|
@@ -192,6 +192,12 @@ eval CHANGE MASTER TO MASTER_DELAY = $time2;
|
||||
--enable_query_log
|
||||
--source include/start_slave.inc
|
||||
|
||||
# Ensure that slave has started properly
|
||||
--connection master
|
||||
INSERT INTO t1 VALUES ('Syncing slave', 5);
|
||||
--save_master_pos
|
||||
--sync_slave_with_master
|
||||
|
||||
--connection master
|
||||
INSERT INTO t1 VALUES (delay_on_slave(1), 6);
|
||||
--save_master_pos
|
||||
|
@@ -67,10 +67,26 @@ connection master;
|
||||
save_master_pos;
|
||||
|
||||
--connection slave
|
||||
|
||||
# Left to its own devices, the IO thread may or may not stop in error,
|
||||
# depending on what it is doing when its connection to the primary is killed
|
||||
# (e.g. a failed read results in an error, whereas if the IO thread is idly
|
||||
# waiting for events when the connection dies, it will enter into a reconnect
|
||||
# loop and reconnect). So we manually stop/start the IO thread to ensure it is
|
||||
# in a consistent state
|
||||
#
|
||||
# FIXME: We shouldn't need to stop/start the SQL thread here, but due to
|
||||
# MDEV-33268, we have to. So after fixing 33268, this should only stop/start
|
||||
# the IO thread. Note the SQL thread must be stopped first due to an invalid
|
||||
# DBUG_ASSERT in the IO thread's stop logic that depends on the state of the
|
||||
# SQL thread (also reported and to be fixed in the same ticket).
|
||||
#
|
||||
--source include/stop_slave_sql.inc
|
||||
--let rpl_allow_error=1
|
||||
--source include/wait_for_slave_io_to_start.inc
|
||||
--source include/stop_slave_io.inc
|
||||
--let rpl_allow_error=
|
||||
--source include/wait_for_slave_sql_to_start.inc
|
||||
--source include/start_slave.inc
|
||||
|
||||
sync_with_master;
|
||||
select * from ti;
|
||||
select * from tm;
|
||||
|
@@ -11,7 +11,7 @@ set @old_master_binlog_checksum= @@global.binlog_checksum;
|
||||
# empty Gtid_list event
|
||||
#
|
||||
# Test this by binlog rotation before we log any GTIDs.
|
||||
connection slave;
|
||||
sync_slave_with_master;
|
||||
|
||||
# Need to stop/start the master without GTID before setting debug_dbug
|
||||
--source include/stop_slave.inc
|
||||
|
@@ -33,7 +33,8 @@ CHANGE MASTER TO MASTER_USE_GTID=NO;
|
||||
|
||||
--source include/stop_slave.inc
|
||||
SET @save_dbug= @@GLOBAL.debug_dbug;
|
||||
SET @@global.debug_dbug="+d,pause_sql_thread_on_fde,negate_clock_diff_with_master";
|
||||
SET @@global.debug_dbug="+d,pause_sql_thread_on_relay_fde_after_trans";
|
||||
SET @@global.debug_dbug="+d,negate_clock_diff_with_master";
|
||||
--source include/start_slave.inc
|
||||
|
||||
--let $sleep_time=2
|
||||
@@ -52,12 +53,6 @@ insert into t1 values (1);
|
||||
flush logs;
|
||||
|
||||
--connection slave
|
||||
--echo # Ignore FDEs that happen before the CREATE/INSERT commands
|
||||
SET DEBUG_SYNC='now WAIT_FOR paused_on_fde';
|
||||
SET DEBUG_SYNC='now SIGNAL sql_thread_continue';
|
||||
SET DEBUG_SYNC='now WAIT_FOR paused_on_fde';
|
||||
SET DEBUG_SYNC='now SIGNAL sql_thread_continue';
|
||||
|
||||
--echo # On the next FDE, the slave should have the master CREATE/INSERT events
|
||||
SET DEBUG_SYNC='now WAIT_FOR paused_on_fde';
|
||||
select count(*)=1 from t1;
|
||||
@@ -138,6 +133,7 @@ while (!$caught_up)
|
||||
}
|
||||
sleep 0.1;
|
||||
}
|
||||
set debug_sync="RESET";
|
||||
--enable_query_log
|
||||
|
||||
--connection master
|
||||
|
@@ -23,7 +23,6 @@ connection slave;
|
||||
# inconsistent GTID values because the seq_nos are non-deterministic with
|
||||
# the masters events coming in concurrently
|
||||
set sql_log_bin=0;
|
||||
call mtr.add_suppression("Master server does not support semi-sync");
|
||||
call mtr.add_suppression("Semi-sync slave .* reply");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
set sql_log_bin=1;
|
||||
@@ -58,7 +57,7 @@ set global rpl_semi_sync_slave_enabled= 0;
|
||||
|
||||
connection master;
|
||||
|
||||
set global rpl_semi_sync_master_timeout= 60000; # 60s
|
||||
set global rpl_semi_sync_master_timeout= 2000; # 2s
|
||||
|
||||
echo [ default state of semi-sync on master should be OFF ];
|
||||
show variables like 'rpl_semi_sync_master_enabled';
|
||||
@@ -202,12 +201,16 @@ sync_slave_with_master;
|
||||
--echo # Test semi-sync master will switch OFF after one transaction
|
||||
--echo # timeout waiting for slave reply.
|
||||
--echo #
|
||||
|
||||
connection master;
|
||||
show status like "Rpl_semi_sync_master_status";
|
||||
|
||||
connection slave;
|
||||
source include/stop_slave.inc;
|
||||
|
||||
connection master;
|
||||
--source include/kill_binlog_dump_threads.inc
|
||||
set global rpl_semi_sync_master_timeout= 5000;
|
||||
set global rpl_semi_sync_master_timeout= 2000;
|
||||
|
||||
# The first semi-sync check should be on because after slave stop,
|
||||
# there are no transactions on the master.
|
||||
@@ -239,8 +242,8 @@ show status like 'Rpl_semi_sync_master_status';
|
||||
show status like 'Rpl_semi_sync_master_no_tx';
|
||||
show status like 'Rpl_semi_sync_master_yes_tx';
|
||||
|
||||
# Semi-sync status on master is now OFF, so all these transactions
|
||||
# will be replicated asynchronously.
|
||||
# Semi-sync status on master is now ON, but there are no slaves attached,
|
||||
# so all these transactions will be replicated asynchronously.
|
||||
delete from t1 where a=10;
|
||||
delete from t1 where a=9;
|
||||
delete from t1 where a=8;
|
||||
@@ -374,6 +377,9 @@ let $status_var= Rpl_semi_sync_master_clients;
|
||||
let $status_var_value= 1;
|
||||
source include/wait_for_status_var.inc;
|
||||
|
||||
sync_slave_with_master;
|
||||
connection master;
|
||||
|
||||
replace_result $engine_type ENGINE_TYPE;
|
||||
eval create table t1 (a int) engine = $engine_type;
|
||||
insert into t1 values (1);
|
||||
@@ -420,6 +426,10 @@ connection master;
|
||||
let $status_var= Rpl_semi_sync_master_clients;
|
||||
let $status_var_value= 1;
|
||||
source include/wait_for_status_var.inc;
|
||||
|
||||
sync_slave_with_master;
|
||||
connection master;
|
||||
|
||||
echo [ master semi-sync should be ON ];
|
||||
show status like 'Rpl_semi_sync_master_clients';
|
||||
show status like 'Rpl_semi_sync_master_status';
|
||||
|
@@ -14,7 +14,6 @@ call mtr.add_suppression("Unsafe statement written to the binary log using state
|
||||
call mtr.add_suppression("mysqld: Got an error reading communication packets");
|
||||
|
||||
connection slave;
|
||||
call mtr.add_suppression("Master server does not support semi-sync");
|
||||
call mtr.add_suppression("Semi-sync slave .* reply");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
|
||||
|
@@ -18,6 +18,7 @@
|
||||
--connection server_1
|
||||
RESET MASTER;
|
||||
SET @@global.max_binlog_size= 4096;
|
||||
set @@global.rpl_semi_sync_master_enabled = 1;
|
||||
|
||||
--connection server_2
|
||||
RESET MASTER;
|
||||
@@ -29,7 +30,6 @@ CHANGE MASTER TO master_use_gtid= slave_pos;
|
||||
|
||||
--connection server_1
|
||||
ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
|
||||
set @@global.rpl_semi_sync_master_enabled = 1;
|
||||
set @@global.rpl_semi_sync_master_wait_point=AFTER_SYNC;
|
||||
|
||||
CREATE TABLE t1 (a INT PRIMARY KEY, b MEDIUMTEXT) ENGINE=Innodb;
|
||||
|
@@ -0,0 +1,12 @@
|
||||
!include include/default_mysqld.cnf
|
||||
|
||||
[mysqld.1]
|
||||
|
||||
[mysqld.2]
|
||||
|
||||
[mysqld.3]
|
||||
|
||||
[ENV]
|
||||
SERVER_MYPORT_1= @mysqld.1.port
|
||||
SERVER_MYPORT_2= @mysqld.2.port
|
||||
SERVER_MYPORT_3= @mysqld.3.port
|
@@ -0,0 +1,122 @@
|
||||
#
|
||||
# This test ensures that a primary will listen for ACKs by newly added
|
||||
# semi-sync connections connections, after a pre-existing connection is already
|
||||
# established. MDEV-32960 reported that the newly added slave's ACK can be
|
||||
# ignored if listen_on_sockets() does not timeout before
|
||||
# rpl_semi_sync_master_timeout, and if the existing semi-sync connections fail
|
||||
# to send ACKs, semi-sync is switched off.
|
||||
#
|
||||
# This test ensures this in a two-replica setup with a semi-sync timeout of
|
||||
# 500ms, and delaying the ACK reply of the first-established replica by 800ms
|
||||
# to force a timeout, and allowing the second replica to immediately ACK.
|
||||
#
|
||||
# References:
|
||||
# MDEV-32960: Semi-sync ACKed Transaction can Timeout and Switch Off
|
||||
# Semi-sync with Multiple Replicas
|
||||
#
|
||||
--source include/have_debug.inc
|
||||
# binlog_format independent
|
||||
--source include/have_binlog_format_statement.inc
|
||||
|
||||
--let $rpl_topology= 1->2,1->3
|
||||
--source include/rpl_init.inc
|
||||
|
||||
|
||||
--connection server_1
|
||||
set @old_enabled= @@global.rpl_semi_sync_master_enabled;
|
||||
set @old_timeout= @@global.rpl_semi_sync_master_timeout;
|
||||
set global rpl_semi_sync_master_enabled= 1;
|
||||
set global rpl_semi_sync_master_timeout= 500;
|
||||
|
||||
--connection server_2
|
||||
--source include/stop_slave.inc
|
||||
set @old_enabled= @@global.rpl_semi_sync_slave_enabled;
|
||||
set @old_dbug= @@global.debug_dbug;
|
||||
set global rpl_semi_sync_slave_enabled= 1;
|
||||
set global debug_dbug="+d,simulate_delay_semisync_slave_reply";
|
||||
--source include/start_slave.inc
|
||||
|
||||
--connection server_3
|
||||
--source include/stop_slave.inc
|
||||
set @old_enabled= @@global.rpl_semi_sync_slave_enabled;
|
||||
set global rpl_semi_sync_slave_enabled= 1;
|
||||
--source include/start_slave.inc
|
||||
|
||||
--echo # Ensure primary recognizes both replicas are semi-sync
|
||||
--connection server_1
|
||||
--let $status_var_value= 2
|
||||
--let $status_var= rpl_semi_sync_master_clients
|
||||
--source include/wait_for_status_var.inc
|
||||
|
||||
--let $master_ss_status= query_get_value(SHOW STATUS LIKE 'rpl_semi_sync_master_status', Value, 1)
|
||||
if (`SELECT strcmp("$master_ss_status", "ON") != 0`)
|
||||
{
|
||||
SHOW STATUS LIKE 'rpl_semi_sync_master_status';
|
||||
--die rpl_semi_sync_master_status should be ON to start
|
||||
}
|
||||
|
||||
--connection server_1
|
||||
--let $init_master_yes_tx= query_get_value(SHOW STATUS LIKE 'rpl_semi_sync_master_yes_tx', Value, 1)
|
||||
create table t1 (a int);
|
||||
|
||||
--connection server_2
|
||||
--echo # Verifying server_2 did not send ACK
|
||||
--let $slave1_sent_ack= query_get_value(SHOW STATUS LIKE 'rpl_semi_sync_slave_send_ack', Value, 1)
|
||||
if (`SELECT $slave1_sent_ack`)
|
||||
{
|
||||
SHOW STATUS LIKE 'rpl_semi_sync_slave_send_ack';
|
||||
--die server_2 should not have sent semi-sync ACK to primary
|
||||
}
|
||||
|
||||
--connection server_3
|
||||
--echo # Verifying server_3 did send ACK
|
||||
--let $slave2_sent_ack= query_get_value(SHOW STATUS LIKE 'rpl_semi_sync_slave_send_ack', Value, 1)
|
||||
if (`SELECT NOT $slave2_sent_ack`)
|
||||
{
|
||||
SHOW STATUS LIKE 'rpl_semi_sync_slave_send_ack';
|
||||
--die server_3 should have sent semi-sync ACK to primary
|
||||
}
|
||||
|
||||
--connection server_1
|
||||
--echo # Verifying master's semi-sync status is still ON (This failed pre-MDEV-32960 fixes)
|
||||
let $master_ss_status= query_get_value(SHOW STATUS LIKE 'rpl_semi_sync_master_status', Value, 1);
|
||||
if (`SELECT strcmp("$master_ss_status", "ON") != 0`)
|
||||
{
|
||||
SHOW STATUS LIKE 'rpl_semi_sync_master_status';
|
||||
--die rpl_semi_sync_master_status should not have switched off after server_3 ACKed transaction
|
||||
}
|
||||
|
||||
--echo # Verifying rpl_semi_sync_master_yes_tx incremented
|
||||
--let $cur_master_yes_tx= query_get_value(SHOW STATUS LIKE 'rpl_semi_sync_master_yes_tx', Value, 1)
|
||||
if (`SELECT $cur_master_yes_tx != ($init_master_yes_tx + 1)`)
|
||||
{
|
||||
--echo # Initial yes_tx: $init_master_yes_tx
|
||||
--echo # Current yes_tx: $cur_master_yes_tx
|
||||
--die rpl_semi_sync_master_yes_tx should have been incremented by primary
|
||||
}
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # Cleanup
|
||||
|
||||
--connection server_2
|
||||
set global rpl_semi_sync_slave_enabled= @old_enabled;
|
||||
set global debug_dbug= @old_dbug;
|
||||
--source include/stop_slave.inc
|
||||
|
||||
--connection server_3
|
||||
set global rpl_semi_sync_slave_enabled= @old_enabled;
|
||||
--source include/stop_slave.inc
|
||||
|
||||
--connection server_1
|
||||
set global rpl_semi_sync_master_enabled= @old_enabled;
|
||||
set global rpl_semi_sync_master_timeout= @old_timeout;
|
||||
drop table t1;
|
||||
|
||||
--connection server_2
|
||||
--source include/start_slave.inc
|
||||
--connection server_3
|
||||
--source include/start_slave.inc
|
||||
|
||||
--source include/rpl_end.inc
|
||||
--echo # End of rpl_semi_sync_no_missed_ack_after_add_slave.test
|
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# MDEV-32551: "Read semi-sync reply magic number error" warnings on master
|
||||
#
|
||||
# Test that changing rpl_semi_sync_master_enabled after startup does not
|
||||
# cause problems with semi-sync cleanup.
|
||||
#
|
||||
|
||||
--source include/have_debug.inc
|
||||
--source include/have_debug_sync.inc
|
||||
|
||||
# Test is binlog format independent, so save resources
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
call mtr.add_suppression("Replication event checksum verification failed");
|
||||
call mtr.add_suppression("could not queue event from master");
|
||||
|
||||
--echo #
|
||||
--echo # Set up a semisync connection
|
||||
--connection master
|
||||
set @@global.rpl_semi_sync_master_enabled= ON;
|
||||
|
||||
--connection slave
|
||||
stop slave io_thread;
|
||||
set @@global.rpl_semi_sync_slave_enabled= ON;
|
||||
set @old_dbug= @@global.debug_dbug;
|
||||
|
||||
# Force an error to abort out of the main IO thread loop
|
||||
set @@global.debug_dbug= "+d,corrupt_queue_event";
|
||||
|
||||
# Pause the IO thread as soon as the main loop starts. Note we can't use
|
||||
# processlist where "Waiting for master to send event" because the
|
||||
# "corrupt_queue_event" will trigger before we can turn semisync OFF
|
||||
set @@global.debug_dbug= "+d,pause_before_io_read_event";
|
||||
|
||||
# Because the other debug_dbug points are automatically negated when they are
|
||||
# run, and there is a bug that if "-d" takes us to an empty debug string state,
|
||||
# _all_ debug_print statements are output
|
||||
set @@global.debug_dbug= "+d,placeholder";
|
||||
|
||||
start slave io_thread;
|
||||
|
||||
--echo # Disable semi-sync on the slave while the IO thread is active
|
||||
set debug_sync='now wait_for io_thread_at_read_event';
|
||||
set @@global.rpl_semi_sync_slave_enabled= OFF;
|
||||
set debug_sync='now signal io_thread_continue_read_event';
|
||||
|
||||
--echo # Waiting for the slave to stop with the error from corrupt_queue_event
|
||||
--connection slave
|
||||
--let $slave_io_errno= 1595,1743
|
||||
--source include/wait_for_slave_io_error.inc
|
||||
|
||||
--echo # Sleep 1 to give time for Ack_receiver to receive COM_QUIT
|
||||
--sleep 1
|
||||
|
||||
--let $assert_text= Check that there is no 'Read semi-sync reply magic number error' in error log.
|
||||
--let $assert_select=magic number error
|
||||
--let $assert_file= $MYSQLTEST_VARDIR/log/mysqld.1.err
|
||||
--let $assert_count= 0
|
||||
--let $assert_only_after=CURRENT_TEST
|
||||
--source include/assert_grep.inc
|
||||
|
||||
--echo #
|
||||
--echo # Cleanup
|
||||
--connection slave
|
||||
--source include/stop_slave.inc
|
||||
set @@global.debug_dbug= @old_dbug;
|
||||
--source include/start_slave.inc
|
||||
--connection master
|
||||
set @@global.rpl_semi_sync_master_enabled= default;
|
||||
|
||||
--source include/rpl_end.inc
|
||||
--echo # End of rpl_semi_sync_slave_enabled_consistent.test
|
@@ -31,6 +31,7 @@
|
||||
|
||||
--connection master
|
||||
call mtr.add_suppression("Timeout waiting for reply of binlog*");
|
||||
call mtr.add_suppression("Master server does not read semi-sync messages*");
|
||||
--let $sav_timeout_master=`SELECT @@GLOBAL.rpl_semi_sync_master_timeout`
|
||||
set global rpl_semi_sync_master_enabled = ON;
|
||||
SET @@GLOBAL.rpl_semi_sync_master_timeout=100;
|
||||
@@ -54,9 +55,9 @@ if(!$log_error_)
|
||||
# does not know the location of its .err log, use default location
|
||||
let $log_error_ = $MYSQLTEST_VARDIR/log/mysqld.2.err;
|
||||
}
|
||||
--echo "Assert that the net_fulsh() reply failed is present in slave error log.
|
||||
--echo "Assert that Master server does not read semi-sync messages" is present in slave error log.
|
||||
--let SEARCH_FILE=$log_error_
|
||||
--let SEARCH_PATTERN=Semi-sync slave net_flush\(\) reply failed
|
||||
--let SEARCH_PATTERN=Master server does not read semi-sync messages
|
||||
--source include/search_pattern_in_file.inc
|
||||
|
||||
--echo "Assert that Slave IO thread is up and running."
|
||||
|
@@ -16,7 +16,6 @@ CALL mtr.add_suppression("Failed on request_dump()*");
|
||||
CALL mtr.add_suppression("Semi-sync master failed on*");
|
||||
CALL mtr.add_suppression("Master command COM_BINLOG_DUMP failed*");
|
||||
CALL mtr.add_suppression("on master failed*");
|
||||
CALL mtr.add_suppression("Master server does not support semi-sync*");
|
||||
CALL mtr.add_suppression("Semi-sync slave net_flush*");
|
||||
CALL mtr.add_suppression("Failed to flush master info*");
|
||||
CALL mtr.add_suppression("Request to stop slave SQL Thread received while apply*");
|
||||
|
@@ -7,6 +7,12 @@ disable_query_log;
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
enable_query_log;
|
||||
|
||||
select @@rpl_semi_sync_master_enabled;
|
||||
connection slave;
|
||||
select @@rpl_semi_sync_slave_enabled;
|
||||
show status like "rpl_semi_sync_slave_status";
|
||||
connection master;
|
||||
|
||||
drop table if exists t1;
|
||||
create table t1(a varchar(100),b int);
|
||||
set @@session.sql_mode=pipes_as_concat;
|
||||
|
1
mysql-test/suite/rpl/t/rpl_session_var2-master.opt
Normal file
1
mysql-test/suite/rpl/t/rpl_session_var2-master.opt
Normal file
@@ -0,0 +1 @@
|
||||
--rpl_semi_sync_master_enabled=1 --rpl_semi_sync_slave_enabled=1
|
1
mysql-test/suite/rpl/t/rpl_session_var2-slave.opt
Normal file
1
mysql-test/suite/rpl/t/rpl_session_var2-slave.opt
Normal file
@@ -0,0 +1 @@
|
||||
--rpl_semi_sync_slave_enabled=1
|
3
mysql-test/suite/rpl/t/rpl_session_var2.test
Normal file
3
mysql-test/suite/rpl/t/rpl_session_var2.test
Normal file
@@ -0,0 +1,3 @@
|
||||
# Replication of session variables when semi-sync is on
|
||||
|
||||
--source rpl_session_var.test
|
@@ -28,6 +28,9 @@ while (`SELECT $i <= $slaves`)
|
||||
--inc $i
|
||||
}
|
||||
|
||||
# The following script will restart master and slaves. This will also set
|
||||
# rpl_semi_sync_master_enabled=0
|
||||
|
||||
--source include/rpl_shutdown_wait_slaves.inc
|
||||
--let i= 2
|
||||
while (`SELECT $i <= $slaves`)
|
||||
|
@@ -90,8 +90,12 @@ SET GLOBAL debug_dbug= @old_debug_slave;
|
||||
|
||||
select domain_id, seq_no from mysql.gtid_slave_pos order by seq_no desc limit 1;
|
||||
--source include/start_slave.inc
|
||||
|
||||
--connection master
|
||||
--sync_slave_with_master
|
||||
--source include/save_master_gtid.inc
|
||||
|
||||
--connection slave
|
||||
--source include/sync_with_master_gtid.inc
|
||||
--echo # Everything from the master binlog must have been applied now:
|
||||
select domain_id, seq_no from mysql.gtid_slave_pos order by seq_no desc limit 1;
|
||||
--let $slave_gtid_state = `select @@gtid_binlog_state`
|
||||
|
@@ -271,7 +271,10 @@ eval set global gtid_slave_pos="$old_slave_pos";
|
||||
--echo # not master_use_gtid=no should warn the user that Using_Gtid is being
|
||||
--echo # changed to No.
|
||||
--echo #
|
||||
--connection master
|
||||
--source include/save_master_pos.inc
|
||||
--connection slave
|
||||
--source include/sync_io_with_master.inc
|
||||
--let $io_log_pos= query_get_value('SHOW SLAVE STATUS', Read_Master_Log_Pos, 1)
|
||||
--let $io_log_file= query_get_value('SHOW SLAVE STATUS', Master_Log_File, 1)
|
||||
--source include/stop_slave.inc
|
||||
|
@@ -1,6 +1,6 @@
|
||||
--- sysvars_server_embedded.result
|
||||
+++ sysvars_server_embedded.result
|
||||
@@ -34,7 +34,7 @@
|
||||
--- sysvars_server_embedded.result 2024-01-28 21:15:03.862040704 +0100
|
||||
+++ sysvars_server_embedded,32bit.result 2024-01-29 06:52:48.577152281 +0100
|
||||
@@ -44,7 +44,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME ARIA_BLOCK_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -290,16 +290,7 @@
|
||||
VARIABLE_COMMENT Precision of the result of '/' operator will be increased on that value
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 38
|
||||
@@ -914,7 +914,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME EXPIRE_LOGS_DAYS
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT If non-zero, binary logs will be purged after expire_logs_days days; possible purges happen at startup and at binary log rotation
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 99
|
||||
@@ -944,7 +944,7 @@
|
||||
@@ -964,7 +964,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME EXTRA_MAX_CONNECTIONS
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -732,6 +723,15 @@
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2324,7 +2324,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_ADJUST_SECONDARY_KEY_COSTS
|
||||
VARIABLE_SCOPE SESSION
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Unused, will be removed.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 2
|
||||
@@ -2354,7 +2354,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_EXTRA_PRUNING_DEPTH
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -740,7 +740,7 @@
|
||||
VARIABLE_COMMENT If the optimizer needs to enumerate join prefix of this size or larger, then it will try aggressively prune away the search space.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 62
|
||||
@@ -2334,7 +2334,7 @@
|
||||
@@ -2414,7 +2414,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_MAX_SEL_ARGS
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -749,7 +749,7 @@
|
||||
VARIABLE_COMMENT The maximum number of SEL_ARG objects created when optimizing a range. If more objects would be needed, the range will not be used by the optimizer.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2344,7 +2344,7 @@
|
||||
@@ -2424,7 +2424,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_MAX_SEL_ARG_WEIGHT
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -758,7 +758,7 @@
|
||||
VARIABLE_COMMENT The maximum weight of the SEL_ARG graph. Set to 0 for no limit
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2354,7 +2354,7 @@
|
||||
@@ -2434,7 +2434,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_PRUNE_LEVEL
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -767,7 +767,7 @@
|
||||
VARIABLE_COMMENT Controls the heuristic(s) applied during query optimization to prune less-promising partial plans from the optimizer search space. Meaning: 0 - do not apply any heuristic, thus perform exhaustive search: 1 - prune plans based on cost and number of retrieved rows eq_ref: 2 - prune also if we find an eq_ref chain
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 2
|
||||
@@ -2364,7 +2364,7 @@
|
||||
@@ -2504,7 +2504,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_SEARCH_DEPTH
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -776,7 +776,7 @@
|
||||
VARIABLE_COMMENT Maximum depth of search performed by the query optimizer. Values larger than the number of relations in a query result in better query plans, but take longer to compile a query. Values smaller than the number of tables in a relation result in faster optimization, but may produce very bad query plans. If set to 0, the system will automatically pick a reasonable value.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 62
|
||||
@@ -2374,7 +2374,7 @@
|
||||
@@ -2514,7 +2514,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_SELECTIVITY_SAMPLING_LIMIT
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -785,7 +785,7 @@
|
||||
VARIABLE_COMMENT Controls number of record samples to check condition selectivity
|
||||
NUMERIC_MIN_VALUE 10
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2404,17 +2404,17 @@
|
||||
@@ -2544,17 +2544,17 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_TRACE_MAX_MEM_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -806,7 +806,7 @@
|
||||
VARIABLE_COMMENT Controls selectivity of which conditions the optimizer takes into account to calculate cardinality of a partial join when it searches for the best execution plan Meaning: 1 - use selectivity of index backed range conditions to calculate the cardinality of a partial join if the last joined table is accessed by full table scan or an index scan, 2 - use selectivity of index backed range conditions to calculate the cardinality of a partial join in any case, 3 - additionally always use selectivity of range conditions that are not backed by any index to calculate the cardinality of a partial join, 4 - use histograms to calculate selectivity of range conditions that are not backed by any index to calculate the cardinality of a partial join.5 - additionally use selectivity of certain non-range predicates calculated on record samples
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 5
|
||||
@@ -2434,7 +2434,7 @@
|
||||
@@ -2584,7 +2584,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_ACCOUNTS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -815,7 +815,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented user@host accounts. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2444,7 +2444,7 @@
|
||||
@@ -2594,7 +2594,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_DIGESTS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -824,7 +824,7 @@
|
||||
VARIABLE_COMMENT Size of the statement digest. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2454,7 +2454,7 @@
|
||||
@@ -2604,7 +2604,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_STAGES_HISTORY_LONG_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -833,7 +833,7 @@
|
||||
VARIABLE_COMMENT Number of rows in EVENTS_STAGES_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2464,7 +2464,7 @@
|
||||
@@ -2614,7 +2614,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_STAGES_HISTORY_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -842,7 +842,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_STAGES_HISTORY. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2474,7 +2474,7 @@
|
||||
@@ -2624,7 +2624,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_STATEMENTS_HISTORY_LONG_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -851,7 +851,7 @@
|
||||
VARIABLE_COMMENT Number of rows in EVENTS_STATEMENTS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2484,7 +2484,7 @@
|
||||
@@ -2634,7 +2634,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_STATEMENTS_HISTORY_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -860,7 +860,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_STATEMENTS_HISTORY. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2494,7 +2494,7 @@
|
||||
@@ -2644,7 +2644,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_TRANSACTIONS_HISTORY_LONG_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -869,7 +869,7 @@
|
||||
VARIABLE_COMMENT Number of rows in EVENTS_TRANSACTIONS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2504,7 +2504,7 @@
|
||||
@@ -2654,7 +2654,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_TRANSACTIONS_HISTORY_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -878,7 +878,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_TRANSACTIONS_HISTORY. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2514,7 +2514,7 @@
|
||||
@@ -2664,7 +2664,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_WAITS_HISTORY_LONG_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -887,7 +887,7 @@
|
||||
VARIABLE_COMMENT Number of rows in EVENTS_WAITS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2524,7 +2524,7 @@
|
||||
@@ -2674,7 +2674,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_WAITS_HISTORY_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -896,7 +896,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_WAITS_HISTORY. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2534,7 +2534,7 @@
|
||||
@@ -2684,7 +2684,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_HOSTS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -905,7 +905,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented hosts. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2544,7 +2544,7 @@
|
||||
@@ -2694,7 +2694,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_COND_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -914,7 +914,7 @@
|
||||
VARIABLE_COMMENT Maximum number of condition instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2554,7 +2554,7 @@
|
||||
@@ -2704,7 +2704,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_COND_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -923,7 +923,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented condition objects. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2564,7 +2564,7 @@
|
||||
@@ -2714,7 +2714,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_DIGEST_LENGTH
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -932,7 +932,7 @@
|
||||
VARIABLE_COMMENT Maximum length considered for digest text, when stored in performance_schema tables.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2574,7 +2574,7 @@
|
||||
@@ -2724,7 +2724,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_FILE_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -941,7 +941,7 @@
|
||||
VARIABLE_COMMENT Maximum number of file instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2584,7 +2584,7 @@
|
||||
@@ -2734,7 +2734,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_FILE_HANDLES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -950,7 +950,7 @@
|
||||
VARIABLE_COMMENT Maximum number of opened instrumented files.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2594,7 +2594,7 @@
|
||||
@@ -2744,7 +2744,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_FILE_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -959,7 +959,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented files. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2604,7 +2604,7 @@
|
||||
@@ -2754,7 +2754,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_INDEX_STAT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -968,7 +968,7 @@
|
||||
VARIABLE_COMMENT Maximum number of index statistics for instrumented tables. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2614,7 +2614,7 @@
|
||||
@@ -2764,7 +2764,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_MEMORY_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -977,7 +977,7 @@
|
||||
VARIABLE_COMMENT Maximum number of memory pool instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2624,7 +2624,7 @@
|
||||
@@ -2774,7 +2774,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_METADATA_LOCKS
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -986,7 +986,7 @@
|
||||
VARIABLE_COMMENT Maximum number of metadata locks. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 104857600
|
||||
@@ -2634,7 +2634,7 @@
|
||||
@@ -2784,7 +2784,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_MUTEX_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -995,7 +995,7 @@
|
||||
VARIABLE_COMMENT Maximum number of mutex instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2644,7 +2644,7 @@
|
||||
@@ -2794,7 +2794,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_MUTEX_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1004,7 +1004,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented MUTEX objects. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 104857600
|
||||
@@ -2654,7 +2654,7 @@
|
||||
@@ -2804,7 +2804,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_PREPARED_STATEMENTS_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1013,7 +1013,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented prepared statements. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2664,7 +2664,7 @@
|
||||
@@ -2814,7 +2814,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_PROGRAM_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1022,7 +1022,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented programs. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2674,7 +2674,7 @@
|
||||
@@ -2824,7 +2824,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_RWLOCK_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1031,7 +1031,7 @@
|
||||
VARIABLE_COMMENT Maximum number of rwlock instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2684,7 +2684,7 @@
|
||||
@@ -2834,7 +2834,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_RWLOCK_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1040,7 +1040,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented RWLOCK objects. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 104857600
|
||||
@@ -2694,7 +2694,7 @@
|
||||
@@ -2844,7 +2844,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_SOCKET_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1049,7 +1049,7 @@
|
||||
VARIABLE_COMMENT Maximum number of socket instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2704,7 +2704,7 @@
|
||||
@@ -2854,7 +2854,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_SOCKET_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1058,7 +1058,7 @@
|
||||
VARIABLE_COMMENT Maximum number of opened instrumented sockets. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2714,7 +2714,7 @@
|
||||
@@ -2864,7 +2864,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_SQL_TEXT_LENGTH
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1067,7 +1067,7 @@
|
||||
VARIABLE_COMMENT Maximum length of displayed sql text.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2724,7 +2724,7 @@
|
||||
@@ -2874,7 +2874,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_STAGE_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1076,7 +1076,7 @@
|
||||
VARIABLE_COMMENT Maximum number of stage instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2734,7 +2734,7 @@
|
||||
@@ -2884,7 +2884,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_STATEMENT_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1085,7 +1085,7 @@
|
||||
VARIABLE_COMMENT Maximum number of statement instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2744,7 +2744,7 @@
|
||||
@@ -2894,7 +2894,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_STATEMENT_STACK
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1094,7 +1094,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_STATEMENTS_CURRENT.
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2754,7 +2754,7 @@
|
||||
@@ -2904,7 +2904,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_TABLE_HANDLES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1103,7 +1103,7 @@
|
||||
VARIABLE_COMMENT Maximum number of opened instrumented tables. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2764,7 +2764,7 @@
|
||||
@@ -2914,7 +2914,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_TABLE_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1112,7 +1112,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented tables. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2774,7 +2774,7 @@
|
||||
@@ -2924,7 +2924,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_TABLE_LOCK_STAT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1121,7 +1121,7 @@
|
||||
VARIABLE_COMMENT Maximum number of lock statistics for instrumented tables. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2784,7 +2784,7 @@
|
||||
@@ -2934,7 +2934,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_THREAD_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1130,7 +1130,7 @@
|
||||
VARIABLE_COMMENT Maximum number of thread instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2794,7 +2794,7 @@
|
||||
@@ -2944,7 +2944,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_THREAD_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1139,7 +1139,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented threads. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2804,7 +2804,7 @@
|
||||
@@ -2954,7 +2954,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_SESSION_CONNECT_ATTRS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1148,7 +1148,7 @@
|
||||
VARIABLE_COMMENT Size of session attribute string buffer per thread. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2814,7 +2814,7 @@
|
||||
@@ -2964,7 +2964,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_SETUP_ACTORS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1157,7 +1157,7 @@
|
||||
VARIABLE_COMMENT Maximum number of rows in SETUP_ACTORS.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2824,7 +2824,7 @@
|
||||
@@ -2974,7 +2974,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_SETUP_OBJECTS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1166,7 +1166,7 @@
|
||||
VARIABLE_COMMENT Maximum number of rows in SETUP_OBJECTS.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2834,7 +2834,7 @@
|
||||
@@ -2984,7 +2984,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_USERS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1175,7 +1175,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented users. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2884,7 +2884,7 @@
|
||||
@@ -3034,7 +3034,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PRELOAD_BUFFER_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1184,7 +1184,7 @@
|
||||
VARIABLE_COMMENT The size of the buffer that is allocated when preloading indexes
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 1073741824
|
||||
@@ -2904,7 +2904,7 @@
|
||||
@@ -3054,7 +3054,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME PROFILING_HISTORY_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1193,7 +1193,7 @@
|
||||
VARIABLE_COMMENT Number of statements about which profiling information is maintained. If set to 0, no profiles are stored. See SHOW PROFILES.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 100
|
||||
@@ -2914,7 +2914,7 @@
|
||||
@@ -3064,7 +3064,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PROGRESS_REPORT_TIME
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1202,7 +1202,7 @@
|
||||
VARIABLE_COMMENT Seconds between sending progress reports to the client for time-consuming statements. Set to 0 to disable progress reporting.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2974,7 +2974,7 @@
|
||||
@@ -3124,7 +3124,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME QUERY_ALLOC_BLOCK_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1211,7 +1211,7 @@
|
||||
VARIABLE_COMMENT Allocation block size for query parsing and execution
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2984,7 +2984,7 @@
|
||||
@@ -3134,7 +3134,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME QUERY_CACHE_LIMIT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1220,7 +1220,7 @@
|
||||
VARIABLE_COMMENT Don't cache results that are bigger than this
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2994,7 +2994,7 @@
|
||||
@@ -3144,7 +3144,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME QUERY_CACHE_MIN_RES_UNIT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1229,7 +1229,7 @@
|
||||
VARIABLE_COMMENT The minimum size for blocks allocated by the query cache
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3007,7 +3007,7 @@
|
||||
@@ -3157,7 +3157,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT The memory allocated to store results from old queries
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1238,7 +1238,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1024
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3044,7 +3044,7 @@
|
||||
@@ -3194,7 +3194,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME QUERY_PREALLOC_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1247,7 +1247,7 @@
|
||||
VARIABLE_COMMENT Persistent buffer for query parsing and execution
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3057,7 +3057,7 @@
|
||||
@@ -3207,7 +3207,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Sets the internal state of the RAND() generator for replication purposes
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1256,7 +1256,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3067,14 +3067,14 @@
|
||||
@@ -3217,14 +3217,14 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Sets the internal state of the RAND() generator for replication purposes
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1273,7 +1273,7 @@
|
||||
VARIABLE_COMMENT Allocation block size for storing ranges during optimization
|
||||
NUMERIC_MIN_VALUE 4096
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3084,7 +3084,7 @@
|
||||
@@ -3234,7 +3234,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME READ_BUFFER_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1282,7 +1282,7 @@
|
||||
VARIABLE_COMMENT Each thread that does a sequential scan allocates a buffer of this size for each table it scans. If you do many sequential scans, you may want to increase this value
|
||||
NUMERIC_MIN_VALUE 8192
|
||||
NUMERIC_MAX_VALUE 2147483647
|
||||
@@ -3104,7 +3104,7 @@
|
||||
@@ -3254,7 +3254,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME READ_RND_BUFFER_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1291,7 +1291,7 @@
|
||||
VARIABLE_COMMENT When reading rows in sorted order after a sort, the rows are read through this buffer to avoid a disk seeks
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 2147483647
|
||||
@@ -3124,10 +3124,10 @@
|
||||
@@ -3274,10 +3274,10 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME ROWID_MERGE_BUFF_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1304,7 +1304,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3164,7 +3164,7 @@
|
||||
@@ -3314,7 +3314,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SERVER_ID
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1313,7 +1313,7 @@
|
||||
VARIABLE_COMMENT Uniquely identifies the server instance in the community of replication partners
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3244,7 +3244,7 @@
|
||||
@@ -3394,7 +3394,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME SLAVE_MAX_ALLOWED_PACKET
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1322,7 +1322,7 @@
|
||||
VARIABLE_COMMENT The maximum packet length to sent successfully from the master to slave.
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 1073741824
|
||||
@@ -3254,7 +3254,7 @@
|
||||
@@ -3404,7 +3404,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SLOW_LAUNCH_TIME
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1331,7 +1331,7 @@
|
||||
VARIABLE_COMMENT If creating the thread takes longer than this value (in seconds), the Slow_launch_threads counter will be incremented
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 31536000
|
||||
@@ -3297,7 +3297,7 @@
|
||||
@@ -3447,7 +3447,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Each thread that needs to do a sort allocates a buffer of this size
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
@@ -1340,7 +1340,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3514,7 +3514,7 @@
|
||||
@@ -3664,7 +3664,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME STORED_PROGRAM_CACHE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1349,7 +1349,7 @@
|
||||
VARIABLE_COMMENT The soft upper limit for number of cached stored routines for one connection.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 524288
|
||||
@@ -3604,7 +3604,7 @@
|
||||
@@ -3754,7 +3754,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME TABLE_DEFINITION_CACHE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1358,7 +1358,7 @@
|
||||
VARIABLE_COMMENT The number of cached table definitions
|
||||
NUMERIC_MIN_VALUE 400
|
||||
NUMERIC_MAX_VALUE 2097152
|
||||
@@ -3614,7 +3614,7 @@
|
||||
@@ -3764,7 +3764,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME TABLE_OPEN_CACHE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1367,7 +1367,7 @@
|
||||
VARIABLE_COMMENT The number of cached open tables
|
||||
NUMERIC_MIN_VALUE 10
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3674,7 +3674,7 @@
|
||||
@@ -3824,7 +3824,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME THREAD_CACHE_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1376,7 +1376,7 @@
|
||||
VARIABLE_COMMENT How many threads we should keep in a cache for reuse. These are freed after 5 minutes of idle time
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 16384
|
||||
@@ -3757,7 +3757,7 @@
|
||||
@@ -3907,7 +3907,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Max size for data for an internal temporary on-disk MyISAM or Aria table.
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
@@ -1385,7 +1385,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3767,7 +3767,7 @@
|
||||
@@ -3917,7 +3917,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT If an internal in-memory temporary table exceeds this size, MariaDB will automatically convert it to an on-disk MyISAM or Aria table. Same as tmp_table_size.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1394,7 +1394,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3777,14 +3777,14 @@
|
||||
@@ -3927,14 +3927,14 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Alias for tmp_memory_table_size. If an internal in-memory temporary table exceeds this size, MariaDB will automatically convert it to an on-disk MyISAM or Aria table.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1411,7 +1411,7 @@
|
||||
VARIABLE_COMMENT Allocation block size for transactions to be stored in binary log
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 134217728
|
||||
@@ -3794,7 +3794,7 @@
|
||||
@@ -3944,7 +3944,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME TRANSACTION_PREALLOC_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1420,7 +1420,7 @@
|
||||
VARIABLE_COMMENT Persistent buffer for transactions to be stored in binary log
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 134217728
|
||||
@@ -3934,7 +3934,7 @@
|
||||
@@ -4084,7 +4084,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME WAIT_TIMEOUT
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1429,7 +1429,7 @@
|
||||
VARIABLE_COMMENT The number of seconds the server waits for activity on a connection before closing it
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 31536000
|
||||
@@ -3961,7 +3961,7 @@
|
||||
@@ -4111,7 +4111,7 @@
|
||||
VARIABLE_NAME LOG_TC_SIZE
|
||||
GLOBAL_VALUE_ORIGIN AUTO
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
|
@@ -2322,6 +2322,16 @@ NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY YES
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_ADJUST_SECONDARY_KEY_COSTS
|
||||
VARIABLE_SCOPE SESSION
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Unused, will be removed.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 2
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_DISK_READ_COST
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE DOUBLE
|
||||
|
@@ -1,6 +1,6 @@
|
||||
--- sysvars_server_notembedded.result
|
||||
+++ sysvars_server_notembedded.result
|
||||
@@ -34,7 +34,7 @@
|
||||
--- sysvars_server_notembedded.result 2024-01-28 21:15:03.862040704 +0100
|
||||
+++ sysvars_server_notembedded,32bit.result 2024-01-29 06:48:20.887541006 +0100
|
||||
@@ -44,7 +44,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME ARIA_BLOCK_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -722,7 +722,16 @@
|
||||
VARIABLE_COMMENT If this is not 0, then mysqld will use this value to reserve file descriptors to use with setrlimit(). If this value is 0 or autoset then mysqld will reserve max_connections*5 or max_connections + table_cache*2 (whichever is larger) number of file descriptors
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2514,7 +2514,7 @@
|
||||
@@ -2494,7 +2494,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_ADJUST_SECONDARY_KEY_COSTS
|
||||
VARIABLE_SCOPE SESSION
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Unused, will be removed.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 2
|
||||
@@ -2524,7 +2524,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_EXTRA_PRUNING_DEPTH
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -731,7 +740,7 @@
|
||||
VARIABLE_COMMENT If the optimizer needs to enumerate join prefix of this size or larger, then it will try aggressively prune away the search space.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 62
|
||||
@@ -2574,7 +2574,7 @@
|
||||
@@ -2584,7 +2584,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_MAX_SEL_ARGS
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -740,7 +749,7 @@
|
||||
VARIABLE_COMMENT The maximum number of SEL_ARG objects created when optimizing a range. If more objects would be needed, the range will not be used by the optimizer.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2584,7 +2584,7 @@
|
||||
@@ -2594,7 +2594,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_MAX_SEL_ARG_WEIGHT
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -749,7 +758,7 @@
|
||||
VARIABLE_COMMENT The maximum weight of the SEL_ARG graph. Set to 0 for no limit
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2594,7 +2594,7 @@
|
||||
@@ -2604,7 +2604,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_PRUNE_LEVEL
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -758,7 +767,7 @@
|
||||
VARIABLE_COMMENT Controls the heuristic(s) applied during query optimization to prune less-promising partial plans from the optimizer search space. Meaning: 0 - do not apply any heuristic, thus perform exhaustive search: 1 - prune plans based on cost and number of retrieved rows eq_ref: 2 - prune also if we find an eq_ref chain
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 2
|
||||
@@ -2664,7 +2664,7 @@
|
||||
@@ -2674,7 +2674,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_SEARCH_DEPTH
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -767,7 +776,7 @@
|
||||
VARIABLE_COMMENT Maximum depth of search performed by the query optimizer. Values larger than the number of relations in a query result in better query plans, but take longer to compile a query. Values smaller than the number of tables in a relation result in faster optimization, but may produce very bad query plans. If set to 0, the system will automatically pick a reasonable value.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 62
|
||||
@@ -2674,7 +2674,7 @@
|
||||
@@ -2684,7 +2684,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_SELECTIVITY_SAMPLING_LIMIT
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -776,7 +785,7 @@
|
||||
VARIABLE_COMMENT Controls number of record samples to check condition selectivity
|
||||
NUMERIC_MIN_VALUE 10
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -2704,17 +2704,17 @@
|
||||
@@ -2714,17 +2714,17 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_TRACE_MAX_MEM_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -797,7 +806,7 @@
|
||||
VARIABLE_COMMENT Controls selectivity of which conditions the optimizer takes into account to calculate cardinality of a partial join when it searches for the best execution plan Meaning: 1 - use selectivity of index backed range conditions to calculate the cardinality of a partial join if the last joined table is accessed by full table scan or an index scan, 2 - use selectivity of index backed range conditions to calculate the cardinality of a partial join in any case, 3 - additionally always use selectivity of range conditions that are not backed by any index to calculate the cardinality of a partial join, 4 - use histograms to calculate selectivity of range conditions that are not backed by any index to calculate the cardinality of a partial join.5 - additionally use selectivity of certain non-range predicates calculated on record samples
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 5
|
||||
@@ -2744,7 +2744,7 @@
|
||||
@@ -2754,7 +2754,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_ACCOUNTS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -806,7 +815,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented user@host accounts. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2754,7 +2754,7 @@
|
||||
@@ -2764,7 +2764,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_DIGESTS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -815,7 +824,7 @@
|
||||
VARIABLE_COMMENT Size of the statement digest. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2764,7 +2764,7 @@
|
||||
@@ -2774,7 +2774,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_STAGES_HISTORY_LONG_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -824,7 +833,7 @@
|
||||
VARIABLE_COMMENT Number of rows in EVENTS_STAGES_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2774,7 +2774,7 @@
|
||||
@@ -2784,7 +2784,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_STAGES_HISTORY_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -833,7 +842,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_STAGES_HISTORY. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2784,7 +2784,7 @@
|
||||
@@ -2794,7 +2794,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_STATEMENTS_HISTORY_LONG_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -842,7 +851,7 @@
|
||||
VARIABLE_COMMENT Number of rows in EVENTS_STATEMENTS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2794,7 +2794,7 @@
|
||||
@@ -2804,7 +2804,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_STATEMENTS_HISTORY_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -851,7 +860,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_STATEMENTS_HISTORY. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2804,7 +2804,7 @@
|
||||
@@ -2814,7 +2814,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_TRANSACTIONS_HISTORY_LONG_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -860,7 +869,7 @@
|
||||
VARIABLE_COMMENT Number of rows in EVENTS_TRANSACTIONS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2814,7 +2814,7 @@
|
||||
@@ -2824,7 +2824,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_TRANSACTIONS_HISTORY_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -869,7 +878,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_TRANSACTIONS_HISTORY. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2824,7 +2824,7 @@
|
||||
@@ -2834,7 +2834,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_WAITS_HISTORY_LONG_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -878,7 +887,7 @@
|
||||
VARIABLE_COMMENT Number of rows in EVENTS_WAITS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2834,7 +2834,7 @@
|
||||
@@ -2844,7 +2844,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_EVENTS_WAITS_HISTORY_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -887,7 +896,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_WAITS_HISTORY. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2844,7 +2844,7 @@
|
||||
@@ -2854,7 +2854,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_HOSTS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -896,7 +905,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented hosts. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2854,7 +2854,7 @@
|
||||
@@ -2864,7 +2864,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_COND_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -905,7 +914,7 @@
|
||||
VARIABLE_COMMENT Maximum number of condition instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2864,7 +2864,7 @@
|
||||
@@ -2874,7 +2874,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_COND_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -914,7 +923,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented condition objects. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2874,7 +2874,7 @@
|
||||
@@ -2884,7 +2884,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_DIGEST_LENGTH
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -923,7 +932,7 @@
|
||||
VARIABLE_COMMENT Maximum length considered for digest text, when stored in performance_schema tables.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2884,7 +2884,7 @@
|
||||
@@ -2894,7 +2894,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_FILE_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -932,7 +941,7 @@
|
||||
VARIABLE_COMMENT Maximum number of file instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2894,7 +2894,7 @@
|
||||
@@ -2904,7 +2904,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_FILE_HANDLES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -941,7 +950,7 @@
|
||||
VARIABLE_COMMENT Maximum number of opened instrumented files.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2904,7 +2904,7 @@
|
||||
@@ -2914,7 +2914,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_FILE_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -950,7 +959,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented files. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2914,7 +2914,7 @@
|
||||
@@ -2924,7 +2924,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_INDEX_STAT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -959,7 +968,7 @@
|
||||
VARIABLE_COMMENT Maximum number of index statistics for instrumented tables. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2924,7 +2924,7 @@
|
||||
@@ -2934,7 +2934,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_MEMORY_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -968,7 +977,7 @@
|
||||
VARIABLE_COMMENT Maximum number of memory pool instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -2934,7 +2934,7 @@
|
||||
@@ -2944,7 +2944,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_METADATA_LOCKS
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -977,7 +986,7 @@
|
||||
VARIABLE_COMMENT Maximum number of metadata locks. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 104857600
|
||||
@@ -2944,7 +2944,7 @@
|
||||
@@ -2954,7 +2954,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_MUTEX_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -986,7 +995,7 @@
|
||||
VARIABLE_COMMENT Maximum number of mutex instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2954,7 +2954,7 @@
|
||||
@@ -2964,7 +2964,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_MUTEX_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -995,7 +1004,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented MUTEX objects. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 104857600
|
||||
@@ -2964,7 +2964,7 @@
|
||||
@@ -2974,7 +2974,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_PREPARED_STATEMENTS_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1004,7 +1013,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented prepared statements. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2974,7 +2974,7 @@
|
||||
@@ -2984,7 +2984,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_PROGRAM_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1013,7 +1022,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented programs. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -2984,7 +2984,7 @@
|
||||
@@ -2994,7 +2994,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_RWLOCK_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1022,7 +1031,7 @@
|
||||
VARIABLE_COMMENT Maximum number of rwlock instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -2994,7 +2994,7 @@
|
||||
@@ -3004,7 +3004,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_RWLOCK_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1031,7 +1040,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented RWLOCK objects. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 104857600
|
||||
@@ -3004,7 +3004,7 @@
|
||||
@@ -3014,7 +3014,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_SOCKET_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1040,7 +1049,7 @@
|
||||
VARIABLE_COMMENT Maximum number of socket instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -3014,7 +3014,7 @@
|
||||
@@ -3024,7 +3024,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_SOCKET_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1049,7 +1058,7 @@
|
||||
VARIABLE_COMMENT Maximum number of opened instrumented sockets. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3024,7 +3024,7 @@
|
||||
@@ -3034,7 +3034,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_SQL_TEXT_LENGTH
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1058,7 +1067,7 @@
|
||||
VARIABLE_COMMENT Maximum length of displayed sql text.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3034,7 +3034,7 @@
|
||||
@@ -3044,7 +3044,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_STAGE_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1067,7 +1076,7 @@
|
||||
VARIABLE_COMMENT Maximum number of stage instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -3044,7 +3044,7 @@
|
||||
@@ -3054,7 +3054,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_STATEMENT_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1076,7 +1085,7 @@
|
||||
VARIABLE_COMMENT Maximum number of statement instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -3054,7 +3054,7 @@
|
||||
@@ -3064,7 +3064,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_STATEMENT_STACK
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1085,7 +1094,7 @@
|
||||
VARIABLE_COMMENT Number of rows per thread in EVENTS_STATEMENTS_CURRENT.
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -3064,7 +3064,7 @@
|
||||
@@ -3074,7 +3074,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_TABLE_HANDLES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1094,7 +1103,7 @@
|
||||
VARIABLE_COMMENT Maximum number of opened instrumented tables. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3074,7 +3074,7 @@
|
||||
@@ -3084,7 +3084,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_TABLE_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1103,7 +1112,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented tables. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3084,7 +3084,7 @@
|
||||
@@ -3094,7 +3094,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_TABLE_LOCK_STAT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1112,7 +1121,7 @@
|
||||
VARIABLE_COMMENT Maximum number of lock statistics for instrumented tables. Use 0 to disable, -1 for automated scaling.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3094,7 +3094,7 @@
|
||||
@@ -3104,7 +3104,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_THREAD_CLASSES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1121,7 +1130,7 @@
|
||||
VARIABLE_COMMENT Maximum number of thread instruments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 256
|
||||
@@ -3104,7 +3104,7 @@
|
||||
@@ -3114,7 +3114,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_MAX_THREAD_INSTANCES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1130,7 +1139,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented threads. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3114,7 +3114,7 @@
|
||||
@@ -3124,7 +3124,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_SESSION_CONNECT_ATTRS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1139,7 +1148,7 @@
|
||||
VARIABLE_COMMENT Size of session attribute string buffer per thread. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3124,7 +3124,7 @@
|
||||
@@ -3134,7 +3134,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_SETUP_ACTORS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1148,7 +1157,7 @@
|
||||
VARIABLE_COMMENT Maximum number of rows in SETUP_ACTORS.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -3134,7 +3134,7 @@
|
||||
@@ -3144,7 +3144,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_SETUP_OBJECTS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1157,7 +1166,7 @@
|
||||
VARIABLE_COMMENT Maximum number of rows in SETUP_OBJECTS.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3144,7 +3144,7 @@
|
||||
@@ -3154,7 +3154,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PERFORMANCE_SCHEMA_USERS_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1166,7 +1175,7 @@
|
||||
VARIABLE_COMMENT Maximum number of instrumented users. Use 0 to disable, -1 for automated sizing.
|
||||
NUMERIC_MIN_VALUE -1
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -3194,7 +3194,7 @@
|
||||
@@ -3204,7 +3204,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PRELOAD_BUFFER_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1175,7 +1184,7 @@
|
||||
VARIABLE_COMMENT The size of the buffer that is allocated when preloading indexes
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 1073741824
|
||||
@@ -3214,7 +3214,7 @@
|
||||
@@ -3224,7 +3224,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME PROFILING_HISTORY_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1184,7 +1193,7 @@
|
||||
VARIABLE_COMMENT Number of statements about which profiling information is maintained. If set to 0, no profiles are stored. See SHOW PROFILES.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 100
|
||||
@@ -3224,7 +3224,7 @@
|
||||
@@ -3234,7 +3234,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME PROGRESS_REPORT_TIME
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1193,7 +1202,7 @@
|
||||
VARIABLE_COMMENT Seconds between sending progress reports to the client for time-consuming statements. Set to 0 to disable progress reporting.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3284,7 +3284,7 @@
|
||||
@@ -3294,7 +3294,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME QUERY_ALLOC_BLOCK_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1202,7 +1211,7 @@
|
||||
VARIABLE_COMMENT Allocation block size for query parsing and execution
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3294,7 +3294,7 @@
|
||||
@@ -3304,7 +3304,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME QUERY_CACHE_LIMIT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1211,7 +1220,7 @@
|
||||
VARIABLE_COMMENT Don't cache results that are bigger than this
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3304,7 +3304,7 @@
|
||||
@@ -3314,7 +3314,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME QUERY_CACHE_MIN_RES_UNIT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1220,7 +1229,7 @@
|
||||
VARIABLE_COMMENT The minimum size for blocks allocated by the query cache
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3317,7 +3317,7 @@
|
||||
@@ -3327,7 +3327,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT The memory allocated to store results from old queries
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1229,7 +1238,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1024
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3354,7 +3354,7 @@
|
||||
@@ -3364,7 +3364,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME QUERY_PREALLOC_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1238,7 +1247,7 @@
|
||||
VARIABLE_COMMENT Persistent buffer for query parsing and execution
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3367,7 +3367,7 @@
|
||||
@@ -3377,7 +3377,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Sets the internal state of the RAND() generator for replication purposes
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1247,7 +1256,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3377,14 +3377,14 @@
|
||||
@@ -3387,14 +3387,14 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Sets the internal state of the RAND() generator for replication purposes
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1264,7 +1273,7 @@
|
||||
VARIABLE_COMMENT Allocation block size for storing ranges during optimization
|
||||
NUMERIC_MIN_VALUE 4096
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3397,14 +3397,14 @@
|
||||
@@ -3407,14 +3407,14 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Maximum speed(KB/s) to read binlog from master (0 = no limit)
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1281,7 +1290,7 @@
|
||||
VARIABLE_COMMENT Each thread that does a sequential scan allocates a buffer of this size for each table it scans. If you do many sequential scans, you may want to increase this value
|
||||
NUMERIC_MIN_VALUE 8192
|
||||
NUMERIC_MAX_VALUE 2147483647
|
||||
@@ -3424,7 +3424,7 @@
|
||||
@@ -3434,7 +3434,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME READ_RND_BUFFER_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1290,7 +1299,7 @@
|
||||
VARIABLE_COMMENT When reading rows in sorted order after a sort, the rows are read through this buffer to avoid a disk seeks
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 2147483647
|
||||
@@ -3644,10 +3644,10 @@
|
||||
@@ -3654,10 +3654,10 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME ROWID_MERGE_BUFF_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1303,7 +1312,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3664,20 +3664,20 @@
|
||||
@@ -3674,20 +3674,20 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME RPL_SEMI_SYNC_MASTER_TIMEOUT
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1328,7 +1337,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3734,10 +3734,10 @@
|
||||
@@ -3744,10 +3744,10 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME RPL_SEMI_SYNC_SLAVE_TRACE_LEVEL
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1341,7 +1350,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -3774,7 +3774,7 @@
|
||||
@@ -3784,7 +3784,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SERVER_ID
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1350,7 +1359,7 @@
|
||||
VARIABLE_COMMENT Uniquely identifies the server instance in the community of replication partners
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -3914,7 +3914,7 @@
|
||||
@@ -3924,7 +3924,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SLAVE_DOMAIN_PARALLEL_THREADS
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1359,7 +1368,7 @@
|
||||
VARIABLE_COMMENT Maximum number of parallel threads to use on slave for events in a single replication domain. When using multiple domains, this can be used to limit a single domain from grabbing all threads and thus stalling other domains. The default of 0 means to allow a domain to grab as many threads as it wants, up to the value of slave_parallel_threads.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 16383
|
||||
@@ -3944,7 +3944,7 @@
|
||||
@@ -3954,7 +3954,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SLAVE_MAX_ALLOWED_PACKET
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1368,7 +1377,7 @@
|
||||
VARIABLE_COMMENT The maximum packet length to sent successfully from the master to slave.
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 1073741824
|
||||
@@ -3974,7 +3974,7 @@
|
||||
@@ -3984,7 +3984,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SLAVE_PARALLEL_MAX_QUEUED
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1377,7 +1386,7 @@
|
||||
VARIABLE_COMMENT Limit on how much memory SQL threads should use per parallel replication thread when reading ahead in the relay log looking for opportunities for parallel replication. Only used when --slave-parallel-threads > 0.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 2147483647
|
||||
@@ -3994,7 +3994,7 @@
|
||||
@@ -4004,7 +4004,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME SLAVE_PARALLEL_THREADS
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1386,7 +1395,7 @@
|
||||
VARIABLE_COMMENT If non-zero, number of threads to spawn to apply in parallel events on the slave that were group-committed on the master or were logged with GTID in different replication domains. Note that these threads are in addition to the IO and SQL threads, which are always created by a replication slave
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 16383
|
||||
@@ -4004,7 +4004,7 @@
|
||||
@@ -4014,7 +4014,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SLAVE_PARALLEL_WORKERS
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1395,7 +1404,7 @@
|
||||
VARIABLE_COMMENT Alias for slave_parallel_threads
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 16383
|
||||
@@ -4044,7 +4044,7 @@
|
||||
@@ -4054,7 +4054,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME SLAVE_TRANSACTION_RETRIES
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1404,7 +1413,7 @@
|
||||
VARIABLE_COMMENT Number of times the slave SQL thread will retry a transaction in case it failed with a deadlock, elapsed lock wait timeout or listed in slave_transaction_retry_errors, before giving up and stopping
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -4064,7 +4064,7 @@
|
||||
@@ -4074,7 +4074,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SLAVE_TRANSACTION_RETRY_INTERVAL
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1413,7 +1422,7 @@
|
||||
VARIABLE_COMMENT Interval of the slave SQL thread will retry a transaction in case it failed with a deadlock or elapsed lock wait timeout or listed in slave_transaction_retry_errors
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 3600
|
||||
@@ -4084,7 +4084,7 @@
|
||||
@@ -4094,7 +4094,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME SLOW_LAUNCH_TIME
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1422,7 +1431,7 @@
|
||||
VARIABLE_COMMENT If creating the thread takes longer than this value (in seconds), the Slow_launch_threads counter will be incremented
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 31536000
|
||||
@@ -4127,7 +4127,7 @@
|
||||
@@ -4137,7 +4137,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Each thread that needs to do a sort allocates a buffer of this size
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
@@ -1431,7 +1440,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -4354,7 +4354,7 @@
|
||||
@@ -4364,7 +4364,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME STORED_PROGRAM_CACHE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1440,7 +1449,7 @@
|
||||
VARIABLE_COMMENT The soft upper limit for number of cached stored routines for one connection.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 524288
|
||||
@@ -4464,7 +4464,7 @@
|
||||
@@ -4474,7 +4474,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME TABLE_DEFINITION_CACHE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1449,7 +1458,7 @@
|
||||
VARIABLE_COMMENT The number of cached table definitions
|
||||
NUMERIC_MIN_VALUE 400
|
||||
NUMERIC_MAX_VALUE 2097152
|
||||
@@ -4474,7 +4474,7 @@
|
||||
@@ -4484,7 +4484,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME TABLE_OPEN_CACHE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1458,7 +1467,7 @@
|
||||
VARIABLE_COMMENT The number of cached open tables
|
||||
NUMERIC_MIN_VALUE 10
|
||||
NUMERIC_MAX_VALUE 1048576
|
||||
@@ -4534,7 +4534,7 @@
|
||||
@@ -4544,7 +4544,7 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME THREAD_CACHE_SIZE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -1467,7 +1476,7 @@
|
||||
VARIABLE_COMMENT How many threads we should keep in a cache for reuse. These are freed after 5 minutes of idle time
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 16384
|
||||
@@ -4707,7 +4707,7 @@
|
||||
@@ -4717,7 +4717,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Max size for data for an internal temporary on-disk MyISAM or Aria table.
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
@@ -1476,7 +1485,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -4717,7 +4717,7 @@
|
||||
@@ -4727,7 +4727,7 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT If an internal in-memory temporary table exceeds this size, MariaDB will automatically convert it to an on-disk MyISAM or Aria table. Same as tmp_table_size.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1485,7 +1494,7 @@
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -4727,14 +4727,14 @@
|
||||
@@ -4737,14 +4737,14 @@
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Alias for tmp_memory_table_size. If an internal in-memory temporary table exceeds this size, MariaDB will automatically convert it to an on-disk MyISAM or Aria table.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
@@ -1502,7 +1511,7 @@
|
||||
VARIABLE_COMMENT Allocation block size for transactions to be stored in binary log
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 134217728
|
||||
@@ -4744,7 +4744,7 @@
|
||||
@@ -4754,7 +4754,7 @@
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME TRANSACTION_PREALLOC_SIZE
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1511,7 +1520,7 @@
|
||||
VARIABLE_COMMENT Persistent buffer for transactions to be stored in binary log
|
||||
NUMERIC_MIN_VALUE 1024
|
||||
NUMERIC_MAX_VALUE 134217728
|
||||
@@ -4884,7 +4884,7 @@
|
||||
@@ -4894,7 +4894,7 @@
|
||||
COMMAND_LINE_ARGUMENT NULL
|
||||
VARIABLE_NAME WAIT_TIMEOUT
|
||||
VARIABLE_SCOPE SESSION
|
||||
@@ -1520,7 +1529,7 @@
|
||||
VARIABLE_COMMENT The number of seconds the server waits for activity on a connection before closing it
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 31536000
|
||||
@@ -4911,7 +4911,7 @@
|
||||
@@ -4921,7 +4921,7 @@
|
||||
VARIABLE_NAME LOG_TC_SIZE
|
||||
GLOBAL_VALUE_ORIGIN AUTO
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
|
1465
mysql-test/suite/sys_vars/r/sysvars_server_notembedded,win.rdiff
Normal file
1465
mysql-test/suite/sys_vars/r/sysvars_server_notembedded,win.rdiff
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2492,6 +2492,16 @@ NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY YES
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_ADJUST_SECONDARY_KEY_COSTS
|
||||
VARIABLE_SCOPE SESSION
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Unused, will be removed.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 2
|
||||
NUMERIC_BLOCK_SIZE 1
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME OPTIMIZER_DISK_READ_COST
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE DOUBLE
|
||||
@@ -3685,7 +3695,7 @@ COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME RPL_SEMI_SYNC_MASTER_WAIT_NO_SLAVE
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BOOLEAN
|
||||
VARIABLE_COMMENT Wait until timeout when no semi-synchronous replication slave available (enabled by default).
|
||||
VARIABLE_COMMENT Wait until timeout when no semi-synchronous replication slave is available.
|
||||
NUMERIC_MIN_VALUE NULL
|
||||
NUMERIC_MAX_VALUE NULL
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
|
@@ -15,7 +15,7 @@ set global low_priority_updates=1;
|
||||
install soname 'sql_errlog';
|
||||
|
||||
vertical_results;
|
||||
replace_regex /\/.*\//var\//;
|
||||
replace_regex /(C:)?\/.*\//var\//;
|
||||
select * from information_schema.system_variables
|
||||
where variable_name in (
|
||||
'completion_type', #session!=global, origin=compile-time
|
||||
@@ -32,7 +32,7 @@ create user foo@localhost;
|
||||
connect foo,localhost,foo;
|
||||
select global_value_path from information_schema.system_variables where variable_name='plugin_maturity';
|
||||
connection default;
|
||||
replace_regex /\/.*\//var\//;
|
||||
replace_regex /(C:)?\/.*\//var\//;
|
||||
select global_value_path from information_schema.system_variables where variable_name='plugin_maturity';
|
||||
disconnect foo;
|
||||
drop user foo@localhost;
|
||||
|
Reference in New Issue
Block a user