ctype_cp932_binlog.result

来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· RESULT 代码 · 共 46 行

RESULT
46
字号
drop table if exists t1;set names cp932;set character_set_database = cp932;RESET MASTER;CREATE TABLE t1(f1 blob);PREPARE stmt1 FROM 'INSERT INTO t1 VALUES(?)';SET @var1= x'8300';EXECUTE stmt1 USING @var1;SHOW BINLOG EVENTS FROM 98;Log_name	Pos	Event_type	Server_id	End_log_pos	Infomaster-bin.000001	98	Query	1	188	use `test`; CREATE TABLE t1(f1 blob)master-bin.000001	188	Query	1	283	use `test`; INSERT INTO t1 VALUES(0x8300)SELECT HEX(f1) FROM t1;HEX(f1)8300DROP table t1;CREATE TABLE t4 (s1 CHAR(50) CHARACTER SET latin1,s2 CHAR(50) CHARACTER SET cp932,d DECIMAL(10,2))|CREATE PROCEDURE bug18293 (IN ins1 CHAR(50),IN ins2 CHAR(50) CHARACTER SET cp932,IN ind DECIMAL(10,2))BEGININSERT INTO t4 VALUES (ins1, ins2, ind);END|CALL bug18293("Foo's a Bar", _cp932 0xED40ED41ED42, 47.93)|SELECT HEX(s1),HEX(s2),d FROM t4|HEX(s1)	HEX(s2)	d466F6F2773206120426172	ED40ED41ED42	47.93DROP PROCEDURE bug18293|DROP TABLE t4|SHOW BINLOG EVENTS FROM 362|Log_name	Pos	Event_type	Server_id	End_log_pos	Infomaster-bin.000001	362	Query	1	528	use `test`; CREATE TABLE t4 (s1 CHAR(50) CHARACTER SET latin1,s2 CHAR(50) CHARACTER SET cp932,d DECIMAL(10,2))master-bin.000001	528	Query	1	776	use `test`; CREATE DEFINER=`root`@`localhost` PROCEDURE bug18293 (IN ins1 CHAR(50),IN ins2 CHAR(50) CHARACTER SET cp932,IN ind DECIMAL(10,2))BEGININSERT INTO t4 VALUES (ins1, ins2, ind);ENDmaster-bin.000001	776	Query	1	995	use `test`; INSERT INTO t4 VALUES ( NAME_CONST('ins1',_latin1 0x466F6F2773206120426172),  NAME_CONST('ins2',_cp932 0xED40ED41ED42),  NAME_CONST('ind',47.93))master-bin.000001	995	Query	1	1084	use `test`; DROP PROCEDURE bug18293master-bin.000001	1084	Query	1	1163	use `test`; DROP TABLE t4

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?