Commit b42da2dd authored by unknown's avatar unknown

merging

parent 3cc91604
...@@ -879,7 +879,7 @@ c1 varchar(15) collate utf8_bin default NULL, ...@@ -879,7 +879,7 @@ c1 varchar(15) collate utf8_bin default NULL,
c3 varchar(10) collate utf8_bin default NULL, c3 varchar(10) collate utf8_bin default NULL,
spatial_point point NOT NULL, spatial_point point NOT NULL,
PRIMARY KEY(id), PRIMARY KEY(id),
SPATIAL KEY (spatial_point(32)) SPATIAL KEY (spatial_point)
)ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; )ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES
('y', 's', 'j', GeomFromText('POINT(167 74)')), ('y', 's', 'j', GeomFromText('POINT(167 74)')),
......
...@@ -251,7 +251,7 @@ CREATE TABLE t1 (id bigint(12) unsigned NOT NULL auto_increment, ...@@ -251,7 +251,7 @@ CREATE TABLE t1 (id bigint(12) unsigned NOT NULL auto_increment,
c3 varchar(10) collate utf8_bin default NULL, c3 varchar(10) collate utf8_bin default NULL,
spatial_point point NOT NULL, spatial_point point NOT NULL,
PRIMARY KEY(id), PRIMARY KEY(id),
SPATIAL KEY (spatial_point(32)) SPATIAL KEY (spatial_point)
)ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; )ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
# #
INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment