Current Path : /home/usr.opt/mysql57/mysql-test/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 |
Current File : //home/usr.opt/mysql57/mysql-test/r/mysqldump-binary.result |
# Bug#22601255 Restoring a dump of binary column, made with mysqldump, warns of invalid string CREATE TABLE t1( u CHAR(10), b BINARY(16), blo BLOB, g GEOMETRY, bi BIT(64)); INSERT INTO t1 VALUES( 'basic', x'EE0C6D03C34C11E5B1640026B977EB17', x'EE0C6D03C34C11E5B1640026B977EB17', ST_GeomFromText('POINT(1 1)'), x'EE0C6D03C34C11E5'); SELECT u='basic', HEX(b)='EE0C6D03C34C11E5B1640026B977EB17', HEX(blo)='EE0C6D03C34C11E5B1640026B977EB17', HEX(g)='000000000101000000000000000000F03F000000000000F03F', HEX(bi)='EE0C6D03C34C11E5', ST_AsText(g) FROM t1; u='basic' HEX(b)='EE0C6D03C34C11E5B1640026B977EB17' HEX(blo)='EE0C6D03C34C11E5B1640026B977EB17' HEX(g)='000000000101000000000000000000F03F000000000000F03F' HEX(bi)='EE0C6D03C34C11E5' ST_AsText(g) 1 1 1 1 1 POINT(1 1) DROP TABLE t1; Warning (Code 3090): Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Warning (Code 3090): Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `u` char(10) DEFAULT NULL, `b` binary(16) DEFAULT NULL, `blo` blob, `g` geometry DEFAULT NULL, `bi` bit(64) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 SELECT u='basic', HEX(b)='EE0C6D03C34C11E5B1640026B977EB17', HEX(blo)='EE0C6D03C34C11E5B1640026B977EB17', HEX(g)='000000000101000000000000000000F03F000000000000F03F', HEX(bi)='EE0C6D03C34C11E5', ST_AsText(g) FROM t1; u='basic' HEX(b)='EE0C6D03C34C11E5B1640026B977EB17' HEX(blo)='EE0C6D03C34C11E5B1640026B977EB17' HEX(g)='000000000101000000000000000000F03F000000000000F03F' HEX(bi)='EE0C6D03C34C11E5' ST_AsText(g) 1 1 1 1 1 POINT(1 1) DROP TABLE t1; Warning (Code 3090): Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Warning (Code 3090): Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `u` char(10) DEFAULT NULL, `b` binary(16) DEFAULT NULL, `blo` blob, `g` geometry DEFAULT NULL, `bi` bit(64) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 SELECT u='basic', HEX(b)='EE0C6D03C34C11E5B1640026B977EB17', HEX(blo)='EE0C6D03C34C11E5B1640026B977EB17', HEX(g)='000000000101000000000000000000F03F000000000000F03F', HEX(bi)='EE0C6D03C34C11E5', ST_AsText(g) FROM t1; u='basic' HEX(b)='EE0C6D03C34C11E5B1640026B977EB17' HEX(blo)='EE0C6D03C34C11E5B1640026B977EB17' HEX(g)='000000000101000000000000000000F03F000000000000F03F' HEX(bi)='EE0C6D03C34C11E5' ST_AsText(g) 1 1 1 1 1 POINT(1 1) DROP TABLE t1; Warning (Code 3090): Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. Note (Code 1007): Can't create database 'test'; database exists Warning (Code 3090): Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `u` char(10) DEFAULT NULL, `b` binary(16) DEFAULT NULL, `blo` blob, `g` geometry DEFAULT NULL, `bi` bit(64) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 SELECT u='basic', HEX(b)='EE0C6D03C34C11E5B1640026B977EB17', HEX(blo)='EE0C6D03C34C11E5B1640026B977EB17', HEX(g)='000000000101000000000000000000F03F000000000000F03F', HEX(bi)='EE0C6D03C34C11E5', ST_AsText(g) FROM t1; u='basic' HEX(b)='EE0C6D03C34C11E5B1640026B977EB17' HEX(blo)='EE0C6D03C34C11E5B1640026B977EB17' HEX(g)='000000000101000000000000000000F03F000000000000F03F' HEX(bi)='EE0C6D03C34C11E5' ST_AsText(g) 1 1 1 1 1 POINT(1 1) DROP TABLE t1;