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_binlog_json.result

#
# Bug#21276751 JSON+MYSQLBINLOG: JSON DATA NOT PRINTING PROPERLY
#              WHEN USING MYSQLBINLOG UTILITY
#
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]
CREATE TABLE tab1 (json_col1 JSON);
INSERT INTO tab1 (json_col1) VALUES ('{"key": "value", "key2": [1, 2, 3]}');
SELECT json_col1 FROM tab1;
json_col1
{"key": "value", "key2": [1, 2, 3]}
include/sync_slave_sql_with_master.inc
SELECT json_col1 FROM tab1;
json_col1
{"key": "value", "key2": [1, 2, 3]}
UPDATE tab1 SET json_col1 = JSON_SET(json_col1, '$.key3', 'abc');
SELECT json_col1 FROM tab1;
json_col1
{"key": "value", "key2": [1, 2, 3], "key3": "abc"}
include/sync_slave_sql_with_master.inc
SELECT json_col1 FROM tab1;
json_col1
{"key": "value", "key2": [1, 2, 3], "key3": "abc"}
UPDATE tab1 SET json_col1 = NULL;
SELECT json_col1 FROM tab1;
json_col1
NULL
include/sync_slave_sql_with_master.inc
SELECT json_col1 FROM tab1;
json_col1
NULL
UPDATE tab1 SET json_col1 = '[ 1, { "k" : "v" } ]' WHERE json_col1 IS NULL;
SELECT json_col1 FROM tab1;
json_col1
[1, {"k": "v"}]
include/sync_slave_sql_with_master.inc
SELECT json_col1 FROM tab1;
json_col1
[1, {"k": "v"}]
INSERT INTO tab1 VALUES (NULL);
SELECT json_col1 FROM tab1;
json_col1
[1, {"k": "v"}]
NULL
include/sync_slave_sql_with_master.inc
SELECT json_col1 FROM tab1;
json_col1
[1, {"k": "v"}]
NULL
DELETE FROM tab1;
SELECT json_col1 FROM tab1;
json_col1
include/sync_slave_sql_with_master.inc
SELECT json_col1 FROM tab1;
json_col1
DROP TABLE tab1;
FLUSH LOGS;
include/mysqlbinlog.inc
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Start: binlog v #, server v # created # at startup
ROLLBACK/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Previous-GTIDs
# [empty]
# at #
# # server id #  end_log_pos # CRC32 # 	Anonymous_GTID	last_committed=#	sequence_number=#	rbr_only=no
SET @@SESSION.GTID_NEXT= '#'/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Query	thread_id=#	exec_time=#	error_code=0
use `test`/*!*/;
SET TIMESTAMP=#/*!*/;
SET @@session.pseudo_thread_id=#/*!*/;
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1/*!*/;
SET @@session.sql_mode=1436549152/*!*/;
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
/*!\C latin1 *//*!*/;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8/*!*/;
SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/;
CREATE TABLE tab1 (json_col1 JSON)
/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Anonymous_GTID	last_committed=#	sequence_number=#	rbr_only=yes
/*!50718 SET TRANSACTION ISOLATION LEVEL READ COMMITTED*//*!*/;
SET @@SESSION.GTID_NEXT= '#'/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Query	thread_id=#	exec_time=#	error_code=0
SET TIMESTAMP=#/*!*/;
BEGIN
/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Table_map: `test`.`tab1` mapped to number #
# at #
# # server id #  end_log_pos # CRC32 # 	Write_rows: table id # flags: STMT_END_F
### INSERT INTO `test`.`tab1`
### SET
###   @1='\x00\x02\x00,\x00\x12\x00\x03\x00\x15\x00\x04\x00\x0c\x19\x00\x02\x1f\x00keykey2\x05value\x03\x00\x0d\x00\x05\x01\x00\x05\x02\x00\x05\x03\x00'
# at #
# # server id #  end_log_pos # CRC32 # 	Xid = #
COMMIT/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Anonymous_GTID	last_committed=#	sequence_number=#	rbr_only=yes
/*!50718 SET TRANSACTION ISOLATION LEVEL READ COMMITTED*//*!*/;
SET @@SESSION.GTID_NEXT= '#'/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Query	thread_id=#	exec_time=#	error_code=0
SET TIMESTAMP=#/*!*/;
BEGIN
/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Table_map: `test`.`tab1` mapped to number #
# at #
# # server id #  end_log_pos # CRC32 # 	Update_rows: table id # flags: STMT_END_F
### UPDATE `test`.`tab1`
### WHERE
###   @1='\x00\x02\x00,\x00\x12\x00\x03\x00\x15\x00\x04\x00\x0c\x19\x00\x02\x1f\x00keykey2\x05value\x03\x00\x0d\x00\x05\x01\x00\x05\x02\x00\x05\x03\x00'
### SET
###   @1='\x00\x03\x00;\x00\x19\x00\x03\x00\x1c\x00\x04\x00 \x00\x04\x00\x0c$\x00\x02*\x00\x0c7\x00keykey2key3\x05value\x03\x00\x0d\x00\x05\x01\x00\x05\x02\x00\x05\x03\x00\x03abc'
# at #
# # server id #  end_log_pos # CRC32 # 	Xid = #
COMMIT/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Anonymous_GTID	last_committed=#	sequence_number=#	rbr_only=yes
/*!50718 SET TRANSACTION ISOLATION LEVEL READ COMMITTED*//*!*/;
SET @@SESSION.GTID_NEXT= '#'/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Query	thread_id=#	exec_time=#	error_code=0
SET TIMESTAMP=#/*!*/;
BEGIN
/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Table_map: `test`.`tab1` mapped to number #
# at #
# # server id #  end_log_pos # CRC32 # 	Update_rows: table id # flags: STMT_END_F
### UPDATE `test`.`tab1`
### WHERE
###   @1='\x00\x03\x00;\x00\x19\x00\x03\x00\x1c\x00\x04\x00 \x00\x04\x00\x0c$\x00\x02*\x00\x0c7\x00keykey2key3\x05value\x03\x00\x0d\x00\x05\x01\x00\x05\x02\x00\x05\x03\x00\x03abc'
### SET
###   @1=NULL
# at #
# # server id #  end_log_pos # CRC32 # 	Xid = #
COMMIT/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Anonymous_GTID	last_committed=#	sequence_number=#	rbr_only=yes
/*!50718 SET TRANSACTION ISOLATION LEVEL READ COMMITTED*//*!*/;
SET @@SESSION.GTID_NEXT= '#'/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Query	thread_id=#	exec_time=#	error_code=0
SET TIMESTAMP=#/*!*/;
BEGIN
/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Table_map: `test`.`tab1` mapped to number #
# at #
# # server id #  end_log_pos # CRC32 # 	Update_rows: table id # flags: STMT_END_F
### UPDATE `test`.`tab1`
### WHERE
###   @1=NULL
### SET
###   @1='\x02\x02\x00\x18\x00\x05\x01\x00\x00\x0a\x00\x01\x00\x0e\x00\x0b\x00\x01\x00\x0c\x0c\x00k\x01v'
# at #
# # server id #  end_log_pos # CRC32 # 	Xid = #
COMMIT/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Anonymous_GTID	last_committed=#	sequence_number=#	rbr_only=yes
/*!50718 SET TRANSACTION ISOLATION LEVEL READ COMMITTED*//*!*/;
SET @@SESSION.GTID_NEXT= '#'/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Query	thread_id=#	exec_time=#	error_code=0
SET TIMESTAMP=#/*!*/;
BEGIN
/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Table_map: `test`.`tab1` mapped to number #
# at #
# # server id #  end_log_pos # CRC32 # 	Write_rows: table id # flags: STMT_END_F
### INSERT INTO `test`.`tab1`
### SET
###   @1=NULL
# at #
# # server id #  end_log_pos # CRC32 # 	Xid = #
COMMIT/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Anonymous_GTID	last_committed=#	sequence_number=#	rbr_only=yes
/*!50718 SET TRANSACTION ISOLATION LEVEL READ COMMITTED*//*!*/;
SET @@SESSION.GTID_NEXT= '#'/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Query	thread_id=#	exec_time=#	error_code=0
SET TIMESTAMP=#/*!*/;
BEGIN
/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Table_map: `test`.`tab1` mapped to number #
# at #
# # server id #  end_log_pos # CRC32 # 	Delete_rows: table id # flags: STMT_END_F
### DELETE FROM `test`.`tab1`
### WHERE
###   @1='\x02\x02\x00\x18\x00\x05\x01\x00\x00\x0a\x00\x01\x00\x0e\x00\x0b\x00\x01\x00\x0c\x0c\x00k\x01v'
### DELETE FROM `test`.`tab1`
### WHERE
###   @1=NULL
# at #
# # server id #  end_log_pos # CRC32 # 	Xid = #
COMMIT/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Anonymous_GTID	last_committed=#	sequence_number=#	rbr_only=no
SET @@SESSION.GTID_NEXT= '#'/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Query	thread_id=#	exec_time=#	error_code=0
SET TIMESTAMP=#/*!*/;
DROP TABLE `tab1` /* generated by server */
/*!*/;
# at #
# # server id #  end_log_pos # CRC32 # 	Rotate to master-bin.000002  pos: 4
SET @@SESSION.GTID_NEXT= '#' /* added by mysqlbinlog */ /*!*/;
DELIMITER ;
# End of log file
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
include/rpl_end.inc

Man Man