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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/rpl/r/rpl_session_var.result
include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
drop table if exists t1;
Warnings:
Note	1051	Unknown table 'test.t1'
create table t1(a varchar(100),b int);
set @@session.sql_mode=pipes_as_concat;
Warnings:
Warning	3090	Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
insert into t1 values('My'||'SQL', 1);
set @@session.sql_mode=default;
insert into t1 values('1'||'2', 2);
select * from t1 where b<3 order by a;
a	b
1	2
MySQL	1
include/sync_slave_sql_with_master.inc
select * from t1 where b<3 order by a;
a	b
1	2
MySQL	1
set @@session.sql_mode=ignore_space;
Warnings:
Warning	3090	Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
insert into t1 values(LTRIM          ('  MySQL'), 3);
set @@session.sql_mode=ansi_quotes;
create table "t2" ("a" int);
drop table t1, t2;
set @@session.sql_mode=default;
create table t1(a int auto_increment primary key);
create table t2(b int, a int);
include/sync_slave_sql_with_master.inc
include/stop_slave_sql.inc
set @sav.sql_auto_is_null=@@session.sql_auto_is_null;
set @@session.sql_auto_is_null=1;
insert into t1 values(null);
insert into t2 select 1,a from t1 where a is null;
include/assert.inc [set @@session.last_insert_id must be found in results of the insert..select]
insert into t1 values(null);
set @@session.sql_auto_is_null=1;
set @@session.last_insert_id=2;;
insert into t2 select 1,a from t1 where a is null;
include/assert.inc [set @@session.last_insert_id must be found in results of the insert..select]
insert into t1 values(null);
set @@session.sql_auto_is_null=0;
insert into t2 select 1,a from t1 where a is null;
insert into t1 values(null);
set @@session.last_insert_id=last_insert_id();
insert into t2 select 1,a from t1 where a is null;
include/assert.inc [set @@session.last_insert_id must *not* be found in results of the insert..select]
set @@session.sql_auto_is_null= @sav.sql_auto_is_null;
include/start_slave_sql.inc
include/sync_slave_sql_with_master.inc
include/diff_tables.inc [master:t2, slave:t2]
delete from t1;
delete from t2;
insert into t1 values(null);
flush logs;
set @sav.sql_auto_is_null=@@session.sql_auto_is_null;
set @@session.sql_auto_is_null=1;
insert into t2 select 1,a from t1 where a is null;
set @@session.sql_auto_is_null= @sav.sql_auto_is_null;
flush logs;
delete from t2;
include/assert.inc [set @@session.last_insert_id must be found in binlog results of the insert..select]
include/sync_slave_sql_with_master.inc
include/diff_tables.inc [master:t2, slave:t2]
drop table t1,t2;
include/sync_slave_sql_with_master.inc
CREATE TABLE t1 (
`id` int(11) NOT NULL auto_increment,
`data` varchar(100),
PRIMARY KEY  (`id`)
) ENGINE=MyISAM;
INSERT INTO t1(data) VALUES(SESSION_USER());
include/sync_slave_sql_with_master.inc
SELECT length(data) < 100 FROM t1;
length(data) < 100
1
drop table t1;
include/rpl_end.inc

Youez - 2016 - github.com/yon3zu
LinuXploit