Server IP : 104.21.38.3 / Your IP : 104.23.175.105 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/rpl/t/ |
Upload File : |
# # Check LOAD DATA + character sets + replication # --source include/not_group_replication_plugin.inc source include/master-slave.inc; # # Bug#15126 character_set_database is not replicated # (LOAD DATA INFILE need it) # connection master; create table t1 (a varchar(10) character set utf8); load data infile '../../std_data/loaddata6.dat' into table t1; set @@character_set_database=koi8r; load data infile '../../std_data/loaddata6.dat' into table t1; set @@character_set_database=DEFAULT; load data infile '../../std_data/loaddata6.dat' into table t1; load data infile '../../std_data/loaddata6.dat' into table t1; load data infile '../../std_data/loaddata6.dat' into table t1; set @@character_set_database=koi8r; load data infile '../../std_data/loaddata6.dat' into table t1; set @@character_set_database=DEFAULT; load data infile '../../std_data/loaddata6.dat' into table t1 character set koi8r; select hex(a) from t1; --source include/sync_slave_sql_with_master.inc select hex(a) from t1; connection master; drop table t1; --source include/sync_slave_sql_with_master.inc # # Bug#45516 # When slave SQL thread executing LOAD DATA command, the # thd->variables.collation_database was not set properly to the default # database charset # echo -------------test bug#45516------------------; # LOAD DATA INFILE let $LOAD_LOCAL=1; source include/rpl_loaddata_charset.inc; # LOAD DATA LOCAL INFILE let $LOAD_LOCAL=0; source include/rpl_loaddata_charset.inc; --source include/rpl_end.inc