config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/r/rpl_master_pos_wait.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]
include/sync_slave_sql_with_master.inc
include/rpl_restart_server.inc [server_number=1]
include/rpl_restart_server.inc [server_number=2]
include/start_slave.inc
select master_pos_wait('master-bin.999999',0,2);
master_pos_wait('master-bin.999999',0,2)
-1
explain extended select master_pos_wait('master-bin.999999',0,2);
id	select_type	table	partitions	type	possible_keys	key	key_len	ref	rows	filtered	Extra
1	SIMPLE	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	No tables used
Warnings:
Warning	1681	'EXTENDED' is deprecated and will be removed in a future release.
Note	1003	/* select#1 */ select master_pos_wait('master-bin.999999',0,2) AS `master_pos_wait('master-bin.999999',0,2)`
select master_pos_wait('master-bin.999999',0);
stop slave sql_thread;
master_pos_wait('master-bin.999999',0)
NULL
"*** must be empty ***"
show slave status;
"*** must be NULL ***"
select master_pos_wait('foo', 98);
master_pos_wait('foo', 98)
NULL
include/start_slave_sql.inc
Test MASTER_POS_WAIT function with negative timeout value.
When SQL_MODE is strict, then it will throw WRONG_ARGUMENTS
error.
SET @save_sql_mode=@@SESSION.SQL_MODE;
SET @@SESSION.SQL_MODE="STRICT_ALL_TABLES";
Warnings:
Warning	3135	'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
Warning	3090	Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
SELECT MASTER_POS_WAIT('master-bin.999999', 4, -1);
ERROR HY000: Incorrect arguments to MASTER_POS_WAIT.
SET @@SESSION.SQL_MODE="";
SELECT MASTER_POS_WAIT('master-bin.999999', 4, -1);
MASTER_POS_WAIT('master-bin.999999', 4, -1)
NULL
Warnings:
Warning	1210	Incorrect arguments to MASTER_POS_WAIT.
SET @@SESSION.SQL_MODE=@save_sql_mode;
Warnings:
Warning	3090	Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.
Test WAIT_FOR_EXECUTED_GTID_SET function with fractional timeout value.
Earlier(before fix), 0.4 is read as integer value '0' and the function
hanged forever (or till all the specified gtids are executed).
Now(after fix) 0.4 will be read as doube 0.4 and will waitfor
atleast 0.4 seconds (or till all the specified  gtids are executed).
Also check that in case of timeout, function returns -1.
include/assert.inc [MASTER_POS_WAIT returns -1 if the timeout has been exceeded.]
include/rpl_end.inc

Man Man