Browse Source
Merge branch '10.1' of github.com:MariaDB/server into 10.1
Merge branch '10.1' of github.com:MariaDB/server into 10.1
Conflicts: storage/xtradb/handler/ha_innodb.ccpull/4/head
52 changed files with 731 additions and 934 deletions
-
7CMakeLists.txt
-
29cmake/build_configurations/mysql_release.cmake
-
2cmake/install_macros.cmake
-
138cmake/plugin.cmake
-
2cmake/ssl.cmake
-
1config.h.cmake
-
2extra/CMakeLists.txt
-
2mysql-test/mysql-test-run.pl
-
8mysql-test/r/myisam.result
-
121mysql-test/r/mysqld--help.result
-
4mysql-test/r/not_embedded_server.result
-
3mysql-test/r/sp-destruct.result
-
20mysql-test/r/temp_table_frm.result
-
8mysql-test/suite/rpl/r/rpl_skip_replication.result
-
22mysql-test/suite/sys_vars/r/innodb_checksum_algorithm_basic.result
-
6mysql-test/suite/sys_vars/r/innodb_cleaner_lsn_age_factor_basic.result
-
6mysql-test/suite/sys_vars/r/innodb_empty_free_list_algorithm_basic.result
-
6mysql-test/suite/sys_vars/r/innodb_foreground_preflush_basic.result
-
22mysql-test/suite/sys_vars/r/innodb_log_checksum_algorithm_basic.result
-
38mysql-test/suite/sys_vars/r/myisam_stats_method_basic.result
-
6mysql-test/suite/sys_vars/r/myisam_stats_method_func.result
-
12mysql-test/suite/sys_vars/r/replicate_events_marked_for_skip_basic.result
-
2mysql-test/t/not_embedded_server.test
-
1mysql-test/t/sp-destruct.test
-
13mysql-test/t/temp_table_frm.test
-
93mysys/my_getopt.c
-
12plugin/auth_pam/CMakeLists.txt
-
5plugin/auth_socket/CMakeLists.txt
-
12plugin/feedback/CMakeLists.txt
-
2plugin/server_audit/server_audit.c
-
2scripts/CMakeLists.txt
-
1sql/handler.h
-
3sql/log.cc
-
8sql/mysqld.cc
-
666sql/sql_acl.cc
-
8sql/sql_acl.h
-
14sql/sql_base.cc
-
3sql/sql_base.h
-
2sql/sql_plugin.cc
-
27sql/sql_table.cc
-
68sql/sql_truncate.cc
-
90sql/sys_vars.cc
-
3sql/unireg.cc
-
52storage/cassandra/CMakeLists.txt
-
2storage/connect/CMakeLists.txt
-
12storage/innobase/handler/ha_innodb.cc
-
14storage/maria/ha_maria.cc
-
7storage/myisam/ha_myisam.cc
-
26storage/oqgraph/CMakeLists.txt
-
1storage/tokudb/CMakeLists.txt
-
18storage/xtradb/CMakeLists.txt
-
33storage/xtradb/handler/ha_innodb.cc
@ -0,0 +1,20 @@ |
|||
create table t1 select * from information_schema.session_status where variable_name like 'Opened%'; |
|||
create temporary table t2 (a int) engine=memory; |
|||
select variable_name, session_status.variable_value - t1.variable_value |
|||
from information_schema.session_status join t1 using (variable_name); |
|||
variable_name session_status.variable_value - t1.variable_value |
|||
OPENED_FILES 0 |
|||
OPENED_PLUGIN_LIBRARIES 0 |
|||
OPENED_TABLE_DEFINITIONS 2 |
|||
OPENED_TABLES 2 |
|||
OPENED_VIEWS 0 |
|||
truncate table t2; |
|||
select variable_name, session_status.variable_value - t1.variable_value |
|||
from information_schema.session_status join t1 using (variable_name); |
|||
variable_name session_status.variable_value - t1.variable_value |
|||
OPENED_FILES 0 |
|||
OPENED_PLUGIN_LIBRARIES 0 |
|||
OPENED_TABLE_DEFINITIONS 2 |
|||
OPENED_TABLES 2 |
|||
OPENED_VIEWS 0 |
|||
drop table t1; |
|||
@ -1,47 +1,47 @@ |
|||
SET @orig = @@global.innodb_checksum_algorithm; |
|||
SELECT @orig; |
|||
@orig |
|||
innodb |
|||
INNODB |
|||
SET GLOBAL innodb_checksum_algorithm = 'crc32'; |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
crc32 |
|||
CRC32 |
|||
SET GLOBAL innodb_checksum_algorithm = 'strict_crc32'; |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
strict_crc32 |
|||
STRICT_CRC32 |
|||
SET GLOBAL innodb_checksum_algorithm = 'innodb'; |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
innodb |
|||
INNODB |
|||
SET GLOBAL innodb_checksum_algorithm = 'strict_innodb'; |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
strict_innodb |
|||
STRICT_INNODB |
|||
SET GLOBAL innodb_checksum_algorithm = 'none'; |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
none |
|||
NONE |
|||
SET GLOBAL innodb_checksum_algorithm = 'strict_none'; |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
strict_none |
|||
STRICT_NONE |
|||
SET GLOBAL innodb_checksum_algorithm = ''; |
|||
ERROR 42000: Variable 'innodb_checksum_algorithm' can't be set to the value of '' |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
strict_none |
|||
STRICT_NONE |
|||
SET GLOBAL innodb_checksum_algorithm = 'foobar'; |
|||
ERROR 42000: Variable 'innodb_checksum_algorithm' can't be set to the value of 'foobar' |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
strict_none |
|||
STRICT_NONE |
|||
SET GLOBAL innodb_checksum_algorithm = 123; |
|||
ERROR 42000: Variable 'innodb_checksum_algorithm' can't be set to the value of '123' |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
strict_none |
|||
STRICT_NONE |
|||
SET GLOBAL innodb_checksum_algorithm = @orig; |
|||
SELECT @@global.innodb_checksum_algorithm; |
|||
@@global.innodb_checksum_algorithm |
|||
innodb |
|||
INNODB |
|||
@ -1,47 +1,47 @@ |
|||
SET @orig = @@global.innodb_log_checksum_algorithm; |
|||
SELECT @orig; |
|||
@orig |
|||
innodb |
|||
INNODB |
|||
SET GLOBAL innodb_log_checksum_algorithm = 'crc32'; |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
crc32 |
|||
CRC32 |
|||
SET GLOBAL innodb_log_checksum_algorithm = 'strict_crc32'; |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
strict_crc32 |
|||
STRICT_CRC32 |
|||
SET GLOBAL innodb_log_checksum_algorithm = 'innodb'; |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
innodb |
|||
INNODB |
|||
SET GLOBAL innodb_log_checksum_algorithm = 'strict_innodb'; |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
strict_innodb |
|||
STRICT_INNODB |
|||
SET GLOBAL innodb_log_checksum_algorithm = 'none'; |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
none |
|||
NONE |
|||
SET GLOBAL innodb_log_checksum_algorithm = 'strict_none'; |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
strict_none |
|||
STRICT_NONE |
|||
SET GLOBAL innodb_log_checksum_algorithm = ''; |
|||
ERROR 42000: Variable 'innodb_log_checksum_algorithm' can't be set to the value of '' |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
strict_none |
|||
STRICT_NONE |
|||
SET GLOBAL innodb_log_checksum_algorithm = 'foobar'; |
|||
ERROR 42000: Variable 'innodb_log_checksum_algorithm' can't be set to the value of 'foobar' |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
strict_none |
|||
STRICT_NONE |
|||
SET GLOBAL innodb_log_checksum_algorithm = 123; |
|||
ERROR 42000: Variable 'innodb_log_checksum_algorithm' can't be set to the value of '123' |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
strict_none |
|||
STRICT_NONE |
|||
SET GLOBAL innodb_log_checksum_algorithm = @orig; |
|||
SELECT @@global.innodb_log_checksum_algorithm; |
|||
@@global.innodb_log_checksum_algorithm |
|||
innodb |
|||
INNODB |
|||
@ -0,0 +1,13 @@ |
|||
# |
|||
# MDEV-4260 Don't create frm files for temporary tables |
|||
# |
|||
create table t1 select * from information_schema.session_status where variable_name like 'Opened%'; |
|||
create temporary table t2 (a int) engine=memory; |
|||
select variable_name, session_status.variable_value - t1.variable_value |
|||
from information_schema.session_status join t1 using (variable_name); |
|||
let $tmpdir= `select @@tmpdir`; |
|||
--list_files $tmpdir/ #sql* |
|||
truncate table t2; |
|||
select variable_name, session_status.variable_value - t1.variable_value |
|||
from information_schema.session_status join t1 using (variable_name); |
|||
drop table t1; |
|||
666
sql/sql_acl.cc
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue