403Webshell
Server IP : 104.21.38.3  /  Your IP : 162.158.170.97
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 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 : ON
Directory :  /www/server/mysql/src/mysql-test/suite/innodb/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/innodb/r/blob-crash-16k.result
#
# Bug #16963396 INNODB: USE OF LARGE EXTERNALLY-STORED FIELDS MAKES
# CRASH RECOVERY LOSE DATA
#
#
# Uncompressed Table - UPDATE Operation - Crash Test
# Update that moves non-updated column to blob
#
create table t2 (f1 bigint primary key, f2 longblob, f3 longblob,
index(f2(10), f3(10))) engine=innodb;
insert into t2 values (1, repeat('%', 7000), repeat('+', 30));
select f1, length(f2), length(f3) from t2;
f1	length(f2)	length(f3)
1	7000	30
# Connection con1:
set debug_sync='ib_mv_nonupdated_column_offpage SIGNAL s1 WAIT_FOR go_update';
begin;
update t2 set f3 = repeat('[', 3000);
# Connection default:
set debug_sync='now WAIT_FOR s1';
set debug_sync='now SIGNAL go_update';
# Connection con1:
# reap: update t2 set f3 = repeat('[', 3000);
# Connection default:
# Kill and restart
select f1, length(f2), length(f3) from t2;
f1	length(f2)	length(f3)
1	7000	30
select f1, right(f2, 40), right(f3, 40) from t2;
f1	right(f2, 40)	right(f3, 40)
1	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%	++++++++++++++++++++++++++++++
check table t2;
Table	Op	Msg_type	Msg_text
test.t2	check	status	OK
#
# Compressed Table - Update Operation
# update that moves a non-updated column to BLOB
#
set global innodb_compression_level = 0;
create table t3 (f1 bigint primary key, f2 longblob, f3 longblob,
index(f2(10), f3(10))) engine=innodb row_format=compressed;
insert into t3 values (1, repeat('%', 7000), repeat('+', 30));
select f1, length(f2), length(f3) from t3;
f1	length(f2)	length(f3)
1	7000	30
# Connection con2:
set debug_sync='ib_mv_nonupdated_column_offpage SIGNAL s1 WAIT_FOR go_upd';
begin;
update t3 set f3 = repeat('[', 3000) where f1 = 1;;
# Connection default:
set debug_sync='now WAIT_FOR s1';
set debug_sync='now SIGNAL go_upd';
# Connection con2:
# reap: update t3 set f3 = repeat('[', 3000) where f1 = 1;
# Connection default:
# Kill and restart
select f1, length(f2), length(f3) from t3;
f1	length(f2)	length(f3)
1	7000	30
select f1, right(f2, 30), right(f3, 20) from t3;
f1	right(f2, 30)	right(f3, 20)
1	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%	++++++++++++++++++++
check table t3;
Table	Op	Msg_type	Msg_text
test.t3	check	status	OK
DROP TABLE t2, t3;

Youez - 2016 - github.com/yon3zu
LinuXploit