mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
Merge branch '10.0' into 10.1
This commit is contained in:
commit
a5679af1b1
222 changed files with 7304 additions and 3924 deletions
|
|
@ -130,9 +130,6 @@ os_log_bytes_written disabled
|
|||
os_log_fsyncs disabled
|
||||
os_log_pending_fsyncs disabled
|
||||
os_log_pending_writes disabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
trx_rw_commits disabled
|
||||
trx_ro_commits disabled
|
||||
trx_nl_ro_commits disabled
|
||||
|
|
@ -281,9 +278,6 @@ lock_row_lock_time disabled
|
|||
lock_row_lock_time_max disabled
|
||||
lock_row_lock_waits disabled
|
||||
lock_row_lock_time_avg disabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
innodb_rwlock_s_spin_waits disabled
|
||||
innodb_rwlock_x_spin_waits disabled
|
||||
innodb_rwlock_s_spin_rounds disabled
|
||||
|
|
@ -322,9 +316,6 @@ os_log_bytes_written disabled
|
|||
os_log_fsyncs disabled
|
||||
os_log_pending_fsyncs enabled
|
||||
os_log_pending_writes enabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
set global innodb_monitor_enable="";
|
||||
ERROR 42000: Variable 'innodb_monitor_enable' can't be set to the value of ''
|
||||
set global innodb_monitor_enable="_";
|
||||
|
|
|
|||
|
|
@ -130,9 +130,6 @@ os_log_bytes_written disabled
|
|||
os_log_fsyncs disabled
|
||||
os_log_pending_fsyncs disabled
|
||||
os_log_pending_writes disabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
trx_rw_commits disabled
|
||||
trx_ro_commits disabled
|
||||
trx_nl_ro_commits disabled
|
||||
|
|
@ -281,9 +278,6 @@ lock_row_lock_time disabled
|
|||
lock_row_lock_time_max disabled
|
||||
lock_row_lock_waits disabled
|
||||
lock_row_lock_time_avg disabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
innodb_rwlock_s_spin_waits disabled
|
||||
innodb_rwlock_x_spin_waits disabled
|
||||
innodb_rwlock_s_spin_rounds disabled
|
||||
|
|
@ -322,9 +316,6 @@ os_log_bytes_written disabled
|
|||
os_log_fsyncs disabled
|
||||
os_log_pending_fsyncs enabled
|
||||
os_log_pending_writes enabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
set global innodb_monitor_enable="";
|
||||
ERROR 42000: Variable 'innodb_monitor_enable' can't be set to the value of ''
|
||||
set global innodb_monitor_enable="_";
|
||||
|
|
|
|||
|
|
@ -130,9 +130,6 @@ os_log_bytes_written disabled
|
|||
os_log_fsyncs disabled
|
||||
os_log_pending_fsyncs disabled
|
||||
os_log_pending_writes disabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
trx_rw_commits disabled
|
||||
trx_ro_commits disabled
|
||||
trx_nl_ro_commits disabled
|
||||
|
|
@ -281,9 +278,6 @@ lock_row_lock_time disabled
|
|||
lock_row_lock_time_max disabled
|
||||
lock_row_lock_waits disabled
|
||||
lock_row_lock_time_avg disabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
innodb_rwlock_s_spin_waits disabled
|
||||
innodb_rwlock_x_spin_waits disabled
|
||||
innodb_rwlock_s_spin_rounds disabled
|
||||
|
|
@ -322,9 +316,6 @@ os_log_bytes_written disabled
|
|||
os_log_fsyncs disabled
|
||||
os_log_pending_fsyncs enabled
|
||||
os_log_pending_writes enabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
set global innodb_monitor_enable="";
|
||||
ERROR 42000: Variable 'innodb_monitor_enable' can't be set to the value of ''
|
||||
set global innodb_monitor_enable="_";
|
||||
|
|
|
|||
|
|
@ -130,9 +130,6 @@ os_log_bytes_written disabled
|
|||
os_log_fsyncs disabled
|
||||
os_log_pending_fsyncs disabled
|
||||
os_log_pending_writes disabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
trx_rw_commits disabled
|
||||
trx_ro_commits disabled
|
||||
trx_nl_ro_commits disabled
|
||||
|
|
@ -281,9 +278,6 @@ lock_row_lock_time disabled
|
|||
lock_row_lock_time_max disabled
|
||||
lock_row_lock_waits disabled
|
||||
lock_row_lock_time_avg disabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
innodb_rwlock_s_spin_waits disabled
|
||||
innodb_rwlock_x_spin_waits disabled
|
||||
innodb_rwlock_s_spin_rounds disabled
|
||||
|
|
@ -322,9 +316,6 @@ os_log_bytes_written disabled
|
|||
os_log_fsyncs disabled
|
||||
os_log_pending_fsyncs enabled
|
||||
os_log_pending_writes enabled
|
||||
os_merge_blocks_written disabled
|
||||
os_merge_blocks_read disabled
|
||||
os_merge_blocks_merged disabled
|
||||
set global innodb_monitor_enable="";
|
||||
ERROR 42000: Variable 'innodb_monitor_enable' can't be set to the value of ''
|
||||
set global innodb_monitor_enable="_";
|
||||
|
|
|
|||
35
mysql-test/suite/sys_vars/r/innodb_tmpdir_basic.result
Normal file
35
mysql-test/suite/sys_vars/r/innodb_tmpdir_basic.result
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
SET @start_global_value = @@global.innodb_tmpdir;
|
||||
SELECT @start_global_value;
|
||||
@start_global_value
|
||||
NULL
|
||||
select @@session.innodb_tmpdir;
|
||||
@@session.innodb_tmpdir
|
||||
NULL
|
||||
show global variables like 'innodb_tmpdir';
|
||||
Variable_name Value
|
||||
innodb_tmpdir
|
||||
show session variables like 'innodb_tmpdir';
|
||||
Variable_name Value
|
||||
innodb_tmpdir
|
||||
select * from information_schema.global_variables where variable_name='innodb_tmpdir';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_TMPDIR
|
||||
select * from information_schema.session_variables where variable_name='innodb_tmpdir';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_TMPDIR
|
||||
set global innodb_tmpdir=@@global.tmpdir;
|
||||
set session innodb_tmpdir=@@global.tmpdir;
|
||||
set global innodb_tmpdir=1.1;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_tmpdir'
|
||||
set global innodb_tmpdir=1e1;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_tmpdir'
|
||||
set global innodb_tmpdir=repeat('a',1000);
|
||||
ERROR 42000: Variable 'innodb_tmpdir' can't be set to the value of 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
|
||||
show warnings;
|
||||
Level Code Message
|
||||
Warning 1210 Path length should not exceed 512 bytes
|
||||
Error 1231 Variable 'innodb_tmpdir' can't be set to the value of 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
|
||||
SET @@global.innodb_tmpdir = @start_global_value;
|
||||
SELECT @@global.innodb_tmpdir;
|
||||
@@global.innodb_tmpdir
|
||||
NULL
|
||||
|
|
@ -571,14 +571,21 @@
|
|||
NUMERIC_MIN_VALUE NULL
|
||||
NUMERIC_MAX_VALUE NULL
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
@@ -2203,6 +2637,34 @@
|
||||
@@ -2203,14 +2637,28 @@
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
-VARIABLE_NAME INNODB_TMPDIR
|
||||
-SESSION_VALUE
|
||||
-GLOBAL_VALUE
|
||||
+VARIABLE_NAME INNODB_TRACK_CHANGED_PAGES
|
||||
+SESSION_VALUE NULL
|
||||
+GLOBAL_VALUE OFF
|
||||
+GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
-DEFAULT_VALUE
|
||||
-VARIABLE_SCOPE SESSION
|
||||
-VARIABLE_TYPE VARCHAR
|
||||
-VARIABLE_COMMENT Directory for temporary non-tablespace files.
|
||||
+DEFAULT_VALUE OFF
|
||||
+VARIABLE_SCOPE GLOBAL
|
||||
+VARIABLE_TYPE BOOLEAN
|
||||
|
|
@ -597,16 +604,10 @@
|
|||
+VARIABLE_SCOPE GLOBAL
|
||||
+VARIABLE_TYPE BOOLEAN
|
||||
+VARIABLE_COMMENT Force log tracker to catch up with checkpoint now
|
||||
+NUMERIC_MIN_VALUE NULL
|
||||
+NUMERIC_MAX_VALUE NULL
|
||||
+NUMERIC_BLOCK_SIZE NULL
|
||||
+ENUM_VALUE_LIST NULL
|
||||
+READ_ONLY NO
|
||||
+COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME INNODB_TRX_PURGE_VIEW_UPDATE_ONLY_DEBUG
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE OFF
|
||||
@@ -2280,7 +2742,7 @@
|
||||
NUMERIC_MIN_VALUE NULL
|
||||
NUMERIC_MAX_VALUE NULL
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
@@ -2294,7 +2742,7 @@
|
||||
DEFAULT_VALUE OFF
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BOOLEAN
|
||||
|
|
@ -615,7 +616,7 @@
|
|||
NUMERIC_MIN_VALUE NULL
|
||||
NUMERIC_MAX_VALUE NULL
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
@@ -2301,6 +2763,20 @@
|
||||
@@ -2315,6 +2763,20 @@
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY YES
|
||||
COMMAND_LINE_ARGUMENT NONE
|
||||
|
|
@ -636,7 +637,7 @@
|
|||
VARIABLE_NAME INNODB_USE_MTFLUSH
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE OFF
|
||||
@@ -2315,6 +2791,20 @@
|
||||
@@ -2329,6 +2791,20 @@
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY YES
|
||||
COMMAND_LINE_ARGUMENT NONE
|
||||
|
|
@ -657,12 +658,12 @@
|
|||
VARIABLE_NAME INNODB_USE_SYS_MALLOC
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE ON
|
||||
@@ -2345,12 +2835,12 @@
|
||||
@@ -2359,12 +2835,12 @@
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME INNODB_VERSION
|
||||
SESSION_VALUE NULL
|
||||
-GLOBAL_VALUE 5.6.27
|
||||
+GLOBAL_VALUE 5.6.26-76.0
|
||||
-GLOBAL_VALUE 5.6.29
|
||||
+GLOBAL_VALUE 5.6.28-76.1
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE NULL
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
|
|
|
|||
|
|
@ -2203,6 +2203,20 @@ NUMERIC_BLOCK_SIZE 0
|
|||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME INNODB_TMPDIR
|
||||
SESSION_VALUE
|
||||
GLOBAL_VALUE
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE
|
||||
VARIABLE_SCOPE SESSION
|
||||
VARIABLE_TYPE VARCHAR
|
||||
VARIABLE_COMMENT Directory for temporary non-tablespace files.
|
||||
NUMERIC_MIN_VALUE NULL
|
||||
NUMERIC_MAX_VALUE NULL
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME INNODB_TRX_PURGE_VIEW_UPDATE_ONLY_DEBUG
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE OFF
|
||||
|
|
@ -2345,7 +2359,7 @@ READ_ONLY NO
|
|||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME INNODB_VERSION
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE 5.6.27
|
||||
GLOBAL_VALUE 5.6.29
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE NULL
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
|
|
|
|||
48
mysql-test/suite/sys_vars/t/innodb_tmpdir_basic.test
Normal file
48
mysql-test/suite/sys_vars/t/innodb_tmpdir_basic.test
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
--source include/have_innodb.inc
|
||||
|
||||
if (`select plugin_auth_version <= "5.6.28-MariaDB-76.1" from information_schema.plugins where plugin_name='innodb'`)
|
||||
{
|
||||
--skip Not fixed in XtraDB as of 5.6.28-MariaDB-76.1 or earlier
|
||||
}
|
||||
|
||||
SET @start_global_value = @@global.innodb_tmpdir;
|
||||
SELECT @start_global_value;
|
||||
|
||||
#
|
||||
# exists as global and session
|
||||
#
|
||||
select @@session.innodb_tmpdir;
|
||||
|
||||
show global variables like 'innodb_tmpdir';
|
||||
show session variables like 'innodb_tmpdir';
|
||||
|
||||
select * from information_schema.global_variables where variable_name='innodb_tmpdir';
|
||||
select * from information_schema.session_variables where variable_name='innodb_tmpdir';
|
||||
#
|
||||
# Show that it is writable
|
||||
#
|
||||
|
||||
set global innodb_tmpdir=@@global.tmpdir;
|
||||
set session innodb_tmpdir=@@global.tmpdir;
|
||||
|
||||
#
|
||||
# incorrect types
|
||||
#
|
||||
--error ER_WRONG_TYPE_FOR_VAR
|
||||
set global innodb_tmpdir=1.1;
|
||||
--error ER_WRONG_TYPE_FOR_VAR
|
||||
set global innodb_tmpdir=1e1;
|
||||
|
||||
#
|
||||
# path len more than 512
|
||||
#
|
||||
--error ER_WRONG_VALUE_FOR_VAR
|
||||
set global innodb_tmpdir=repeat('a',1000);
|
||||
show warnings;
|
||||
|
||||
#
|
||||
# Cleanup
|
||||
#
|
||||
|
||||
SET @@global.innodb_tmpdir = @start_global_value;
|
||||
SELECT @@global.innodb_tmpdir;
|
||||
Loading…
Add table
Add a link
Reference in a new issue