403Webshell
Server IP : 104.21.38.3  /  Your IP : 172.70.93.26
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/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/innodb/t/innodb_row_log_read.test
--echo #
--echo # Bug #31529221	ALTER TABLE FAILS AND REPORTS INCORRECT KEY FILE FOR TABLE T1
--echo #

--source include/have_innodb_16k.inc
--source include/have_debug.inc
--source include/have_debug_sync.inc
--source include/big_test.inc
--source include/not_embedded.inc

SET @old_innodb_online_alter_log_max_size := @@innodb_online_alter_log_max_size;
SET @old_max_allowed_packet := @@max_allowed_packet;
set global innodb_online_alter_log_max_size=1342177280000;
set global max_allowed_packet=1024*1024*1024;

create table t1(d1 longblob);

--connect (con1,localhost,root,,test,,)
insert into t1(d1) values (repeat(UNHEX('000f'), 1022*1022*88));
SET DEBUG_SYNC= 'alter_table_inplace_after_lock_downgrade SIGNAL proceed_insert WAIT_FOR proceed_alter';
--send alter table t1 ADD COLUMN `d2` char(128) not null default '0' after d1;

--connect (con2,localhost,root,,test,,)
SET DEBUG_SYNC= 'now WAIT_FOR proceed_insert';

#insert sufficient records so that the operation gets logged in the temporary file
--disable_query_log
let $c=3241;
while($c) {
  insert into t1(d1) values (repeat(UNHEX('000f'), 1022*3));
  dec $c;
}
--enable_query_log
SET DEBUG_SYNC= 'now SIGNAL proceed_alter';

--connection con1
--reap

--connection default
disconnect con1;
disconnect con2;
SET DEBUG_SYNC= 'RESET';
drop table t1;
SET GLOBAL innodb_online_alter_log_max_size = @old_innodb_online_alter_log_max_size;
set global max_allowed_packet = @old_max_allowed_packet;


Youez - 2016 - github.com/yon3zu
LinuXploit