AnonSec Shell
Server IP : 185.86.78.101  /  Your IP : 216.73.216.124
Web Server : Apache
System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/server/mysql/mysql-test/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /www/server/mysql/mysql-test/t/variables_debug.test
# The include statement below is a temp one for tests that are yet to
#be ported to run with InnoDB,
#but needs to be kept for tests that would need MyISAM in future.
--source include/force_myisam_default.inc

--source include/have_debug.inc

SET @old_debug = @@GLOBAL.debug;

#
# Bug#34678 @@debug variables incremental mode
#

set debug= 'T';
select @@debug;
set debug= '+P';
select @@debug;
set debug= '-P';
select @@debug;

#
# Bug#38054: "SET SESSION debug" modifies @@global.debug variable
#

SELECT @@session.debug, @@global.debug;

SET SESSION debug = '';

SELECT @@session.debug, @@global.debug;

--echo #
--echo # Bug #52629: memory leak from sys_var_thd_dbug in 
--echo #  binlog.binlog_write_error
--echo #

SET GLOBAL debug='d,injecting_fault_writing';
SELECT @@global.debug;
SET GLOBAL debug='';
SELECT @@global.debug;

SET GLOBAL debug=@old_debug;

--echo #
--echo # Bug #56709: Memory leaks at running the 5.1 test suite
--echo # 

SET @old_local_debug = @@debug;

SET @@debug='d,foo';
SELECT @@debug;
SET @@debug='';
SELECT @@debug;

SET @@debug = @old_local_debug;

--echo End of 5.1 tests


--echo #
--echo # Bug#46165 server crash in dbug
--echo #

SET @old_globaldebug = @@global.debug;
SET @old_sessiondebug= @@session.debug;

--echo # Test 1 - Bug test case, single connection
SET GLOBAL  debug= '+O,../../log/bug46165.1.trace';
SET SESSION debug= '-d:-t:-i';

SET GLOBAL  debug= '';
SET SESSION debug= '';

--echo # Test 2 - Bug test case, two connections
--echo # Connection default
connection default;
SET GLOBAL  debug= '+O,../../log/bug46165.2.trace';
SET SESSION debug= '-d:-t:-i';

--echo # Connection con1
connect (con1, localhost, root);
SET GLOBAL  debug= '';

--echo # Connection default
connection default;
SET SESSION debug= '';
--echo # Connection con1
connection con1;
disconnect con1;
--source include/wait_until_disconnected.inc
--echo # Connection default
connection default;
SET GLOBAL  debug= '';

--echo # Test 3 - Active session trace file on disconnect
--echo # Connection con1
connect (con1, localhost, root);
SET GLOBAL  debug= '+O,../../log/bug46165.3.trace';
SET SESSION debug= '-d:-t:-i';
SET GLOBAL  debug= '';
disconnect con1;
--source include/wait_until_disconnected.inc

--echo # Test 4 - Active session trace file on two connections
--echo # Connection default
connection default;
SET GLOBAL  debug= '+O,../../log/bug46165.4.trace';
SET SESSION debug= '-d:-t:-i';

--echo # Connection con1
connect (con1, localhost, root);
SET SESSION debug= '-d:-t:-i';
SET GLOBAL  debug= '';
SET SESSION debug= '';

--echo # Connection default
connection default;
SET SESSION debug= '';
--echo # Connection con1
connection con1;
disconnect con1;
--source include/wait_until_disconnected.inc
--echo # Connection default
connection default;

--echo # Test 5 - Different trace files
SET SESSION debug= '+O,../../log/bug46165.5.trace';
SET SESSION debug= '+O,../../log/bug46165.6.trace';
SET SESSION debug= '-O';

SET GLOBAL  debug= @old_globaldebug;
SET SESSION debug= @old_sessiondebug;

Anon7 - 2022
AnonSec Team