mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Final fix for bug#38349: Did the changes due to the 2 reviews.
- Updated slow_query_log_file_basic and general_log_file basis instead of the func version as the func version run good but the basic versions fail. - Sent innodb.test to dev@innodb.com. - variables.test has differences probably due to a bug in mtr or in the SET statement (see bug#39369). - general_log_file_basic.test and slow_query_log_file_bsaic.test have differences, which might be produced by the new mtr (see bug#38124).
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
# #
|
||||
# Creation Date: 2008-03-16 #
|
||||
# Author: Salman Rawala #
|
||||
# Modified: HHunger 2008-09-11 set system var back to start value #
|
||||
# #
|
||||
# Description: Test Cases of Dynamic System Variable "slow_query_log_file" #
|
||||
# that checks behavior of this variable in the following ways #
|
||||
@ -18,8 +19,8 @@
|
||||
# * Scope & Access method #
|
||||
# * Data Integrity #
|
||||
# #
|
||||
# Reference: http://dev.mysql.com/doc/refman/5.1/en/ #
|
||||
# server-system-variables.html#option_mysqld_slow_query_log_file #
|
||||
# Reference: #
|
||||
# http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html
|
||||
# #
|
||||
################################################################################
|
||||
|
||||
@ -35,8 +36,6 @@
|
||||
###########################################################################
|
||||
|
||||
SET @start_value = @@global.slow_query_log_file;
|
||||
SELECT @start_value;
|
||||
|
||||
|
||||
--echo '#---------------------FN_DYNVARS_004_01-------------------------#'
|
||||
###############################################
|
||||
@ -66,7 +65,8 @@ SELECT @@global.slow_query_log_file = VARIABLE_VALUE
|
||||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
WHERE VARIABLE_NAME='slow_query_log_file';
|
||||
|
||||
|
||||
SET @@global.slow_query_log_file= @start_value;
|
||||
#####################################################
|
||||
# END OF slow_query_log_file TESTS #
|
||||
#####################################################
|
||||
|
||||
|
Reference in New Issue
Block a user