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:
@ -1,6 +1,6 @@
|
||||
###################### mysql-test\t\log_basic.test ############################
|
||||
# #
|
||||
# Variable Name: log_basic #
|
||||
# Variable Name: log_basic #
|
||||
# Scope: GLOBAL #
|
||||
# Access Type: Dynamic #
|
||||
# Data Type: string #
|
||||
@ -11,15 +11,16 @@
|
||||
# Creation Date: 2008-02-07 #
|
||||
# Author: Rizwan #
|
||||
# #
|
||||
# Description: Test Cases of Dynamic System Variable log #
|
||||
# that checks the behavior of this variable in the following ways#
|
||||
# Description: #
|
||||
# Test Cases of Dynamic System Variable log that checks the behavior of #
|
||||
# this variable in the following ways #
|
||||
# * Default Value #
|
||||
# * Valid & Invalid values #
|
||||
# * Scope & Access method #
|
||||
# * Data Integrity #
|
||||
# #
|
||||
# Reference: http://dev.mysql.com/doc/refman/5.1/en/ #
|
||||
# server-system-variables.html #
|
||||
# Reference: #
|
||||
# http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
@ -34,6 +35,8 @@
|
||||
# Accessing variable #
|
||||
#############################################################
|
||||
|
||||
SET @start_log= @@global.log;
|
||||
|
||||
SELECT @@global.log AS INIT_VALUE;
|
||||
|
||||
SELECT @@log AS INIT_VALUE;
|
||||
@ -47,14 +50,17 @@ SET global log = 0;
|
||||
|
||||
|
||||
--echo '#--------------------FN_DYNVARS_062_02-------------------------#'
|
||||
###################################################################################
|
||||
# Check if the value in GLOBAL Table matches value in variable #
|
||||
###################################################################################
|
||||
################################################################################
|
||||
# Check if the value in GLOBAL Table matches value in variable #
|
||||
################################################################################
|
||||
# We can only access log value from information schema global_variables table
|
||||
SELECT VARIABLE_VALUE
|
||||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
SELECT VARIABLE_VALUE
|
||||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
WHERE VARIABLE_NAME='log';
|
||||
|
||||
SET @@global.log= @start_log;
|
||||
|
||||
############################################
|
||||
# END OF log TESTS #
|
||||
############################################
|
||||
|
||||
|
Reference in New Issue
Block a user