WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
Uname:Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64

Base Dir : /var/www/eduesan

User : www-data


403WebShell
403Webshell
Server IP : 202.131.237.196  /  Your IP : 216.73.216.192
Web Server : nginx/1.14.0
System : Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.2.24-0ubuntu0.18.04.17
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/mysql/mysql-test/suite/sys_vars/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/mysql-test/suite/sys_vars/t/general_log_file_basic.test
################### mysql-test\t\general_log_file_basic.test ###################
#                                                                              #
# Variable Name: general_log_file                                              #
# Scope: GLOBAL                                                                #
# Access Type: Dynamic                                                         #
# Data Type: Filename                                                          #
# Default Value: host_name.log                                                 #
# Valid Values:                                                                #
#                                                                              #
#                                                                              #
# Creation Date: 2008-03-16                                                    #
# Author:  Salman Rawala                                                       #
# Modified: HHunger 2008-09-11 Set system variable back to the start value     #
#                                                                              #
# Description: Test Cases of Dynamic System Variable "general_log_file"        #
#              that checks 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          #
#                                                                              #
################################################################################

--source include/load_sysvars.inc

###########################################################
#           START OF general_log_file TESTS               #
###########################################################


########################################################################
#   Saving initial value of general_log_file in a temporary variable   #
########################################################################

SET @start_value = @@global.general_log_file;
SELECT @start_value;


--echo '#---------------------FN_DYNVARS_004_01-------------------------#'
############################################### 
#     Verify default value of variable        #
############################################### 

SET @@global.general_log_file = DEFAULT;
SET @a=concat(left(@@hostname, instr(concat(@@hostname, '.'), '.')-1), '.log');
SELECT RIGHT(@@global.general_log_file, length(@a)) = @a;


--echo '#--------------------FN_DYNVARS_004_02------------------------#'
#######################################################################
#        Change the value of general_log_file to a invalid value      #
#######################################################################

--error ER_WRONG_TYPE_FOR_VAR
SET @@global.general_log_file = mytest.log;
--error ER_WRONG_TYPE_FOR_VAR
SET @@global.general_log_file = 12;


--echo '#----------------------FN_DYNVARS_004_03------------------------#'
############################################################################## 
# Check if the value in GLOBAL Tables matches values in variable             #
##############################################################################

SELECT @@global.general_log_file = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='general_log_file';

SET @@global.general_log_file= @start_value;

#####################################################
#       END OF general_log_file TESTS               #
#####################################################


Youez - 2016 - github.com/yon3zu
LinuXploit