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/suite/rpl/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/mysql/mysql-test/suite/rpl/r/rpl_alter_convert_partition.result
include/master-slave.inc
[connection master]
#
# Ensure initial CREATE TABLE with partitioned data is replicated
# correctly
connection master;
create table t (a int, b int, key(a)) engine=innodb partition by range (b) (partition p1 values less than (10), partition pn values less than (maxvalue));
insert into t values (1,5),(2,100);
include/save_master_gtid.inc
connection slave;
include/sync_with_master_gtid.inc
include/diff_tables.inc [master:test.t,slave:test.t]
#
# Ensure ALTER TABLE .. CONVERT PARTITION .. TO TABLE replicates
# correctly
connection master;
alter table t convert partition p1 to table offspring;
include/save_master_gtid.inc
connection slave;
include/sync_with_master_gtid.inc
include/diff_tables.inc [master:test.t,slave:test.t]
include/diff_tables.inc [master:test.offspring,slave:test.offspring]
#
# Ensure data can be inserted into existing table after
# ALTER TABLE .. CONVERT PARTITION .. TO TABLE
connection master;
insert into t values (3, 6);
include/save_master_gtid.inc
connection slave;
include/sync_with_master_gtid.inc
include/diff_tables.inc [master:test.t,slave:test.t]
#
# Ensure data can be inserted into offspring table after
# ALTER TABLE .. CONVERT PARTITION .. TO TABLE
connection master;
insert into offspring values (4, 101);
include/save_master_gtid.inc
connection slave;
include/sync_with_master_gtid.inc
include/diff_tables.inc [master:test.offspring,slave:test.offspring]
#
# Ensure data can be updated in existing table after
# ALTER TABLE .. CONVERT PARTITION .. TO TABLE
connection master;
update t set b=b+1 where a=3;
include/save_master_gtid.inc
connection slave;
include/sync_with_master_gtid.inc
include/diff_tables.inc [master:test.t,slave:test.t]
#
# Ensure data can be updated in offspring table after
# ALTER TABLE .. CONVERT PARTITION .. TO TABLE
connection master;
update offspring set b=b+1 where a=4;
include/save_master_gtid.inc
connection slave;
include/sync_with_master_gtid.inc
include/diff_tables.inc [master:test.offspring,slave:test.offspring]
#
# Ensure data can be deleted in existing table after
# ALTER TABLE .. CONVERT PARTITION .. TO TABLE
connection master;
delete from t;
include/save_master_gtid.inc
connection slave;
include/sync_with_master_gtid.inc
include/diff_tables.inc [master:test.t,slave:test.t]
#
# Ensure data can be deleted in offspring table after
# ALTER TABLE .. CONVERT PARTITION .. TO TABLE
connection master;
delete from offspring;
include/save_master_gtid.inc
connection slave;
include/sync_with_master_gtid.inc
include/diff_tables.inc [master:test.offspring,slave:test.offspring]
connection master;
drop table t, offspring;
include/rpl_end.inc
# End of rpl_alter_convert_partition

Youez - 2016 - github.com/yon3zu
LinuXploit