~mdcallag/+junk/5.1-map

« back to all changes in this revision

Viewing changes to mysql-test/t/gis-rtree.test

  • Committer: msvensson at pilot
  • Date: 2007-04-24 09:11:45 UTC
  • mfrom: (2469.1.106)
  • Revision ID: sp1r-msvensson@pilot.blaudden-20070424091145-10463
Merge pilot.blaudden:/home/msvensson/mysql/my51-m-mysql_upgrade
into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
INSERT INTO t2 SELECT GeomFromText(st) FROM t1;
173
173
drop table t1, t2;
174
174
 
175
 
CREATE TABLE t1 (`geometry` geometry NOT NULL default '',SPATIAL KEY `gndx` (`geometry`(32))) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
175
CREATE TABLE t1 (`geometry` geometry NOT NULL default '',SPATIAL KEY `gndx` (`geometry`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
176
176
 
177
177
INSERT INTO t1 (geometry) VALUES
178
178
(PolygonFromText('POLYGON((-18.6086111000 -66.9327777000, -18.6055555000
192
192
#
193
193
CREATE TABLE t1 (
194
194
  c1 geometry NOT NULL default '',
195
 
  SPATIAL KEY i1 (c1(32))
 
195
  SPATIAL KEY i1 (c1)
196
196
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
197
197
INSERT INTO t1 (c1) VALUES (
198
198
  PolygonFromText('POLYGON((-18.6086111000 -66.9327777000,
206
206
#
207
207
CREATE TABLE t1 (
208
208
  c1 geometry NOT NULL default '',
209
 
  SPATIAL KEY i1 (c1(32))
 
209
  SPATIAL KEY i1 (c1)
210
210
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
211
211
INSERT INTO t1 (c1) VALUES (
212
212
  PolygonFromText('POLYGON((-18.6086111000 -66.9327777000,
241
241
INSERT INTO t1 (foo) VALUES (PointFromWKB(POINT(0,0)));
242
242
SELECT 1 FROM t1 WHERE foo != PointFromWKB(POINT(0,0));
243
243
DROP TABLE t1;
 
244
 
 
245
#
 
246
# Bug#25673 - spatial index corruption, error 126 incorrect key file for table
 
247
#
 
248
CREATE TABLE t1 (id bigint(12) unsigned NOT NULL auto_increment,
 
249
  c2 varchar(15) collate utf8_bin default NULL,
 
250
  c1 varchar(15) collate utf8_bin default NULL,
 
251
  c3 varchar(10) collate utf8_bin default NULL,
 
252
  spatial_point point NOT NULL,
 
253
  PRIMARY KEY(id),
 
254
  SPATIAL KEY (spatial_point)
 
255
  )ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
 
256
#
 
257
INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES
 
258
  ('y', 's', 'j', GeomFromText('POINT(167 74)')),
 
259
  ('r', 'n', 'd', GeomFromText('POINT(215 118)')),
 
260
  ('g', 'n', 'e', GeomFromText('POINT(203 98)')),
 
261
  ('h', 'd', 'd', GeomFromText('POINT(54 193)')),
 
262
  ('r', 'x', 'y', GeomFromText('POINT(47 69)')),
 
263
  ('t', 'q', 'r', GeomFromText('POINT(109 42)')),
 
264
  ('a', 'z', 'd', GeomFromText('POINT(0 154)')),
 
265
  ('x', 'v', 'o', GeomFromText('POINT(174 131)')),
 
266
  ('b', 'r', 'a', GeomFromText('POINT(114 253)')),
 
267
  ('x', 'z', 'i', GeomFromText('POINT(163 21)')),
 
268
  ('w', 'p', 'i', GeomFromText('POINT(42 102)')),
 
269
  ('g', 'j', 'j', GeomFromText('POINT(170 133)')),
 
270
  ('m', 'g', 'n', GeomFromText('POINT(28 22)')),
 
271
  ('b', 'z', 'h', GeomFromText('POINT(174 28)')),
 
272
  ('q', 'k', 'f', GeomFromText('POINT(233 73)')),
 
273
  ('w', 'w', 'a', GeomFromText('POINT(124 200)')),
 
274
  ('t', 'j', 'w', GeomFromText('POINT(252 101)')),
 
275
  ('d', 'r', 'd', GeomFromText('POINT(98 18)')),
 
276
  ('w', 'o', 'y', GeomFromText('POINT(165 31)')),
 
277
  ('y', 'h', 't', GeomFromText('POINT(14 220)')),
 
278
  ('d', 'p', 'u', GeomFromText('POINT(223 196)')),
 
279
  ('g', 'y', 'g', GeomFromText('POINT(207 96)')),
 
280
  ('x', 'm', 'n', GeomFromText('POINT(214 3)')),
 
281
  ('g', 'v', 'e', GeomFromText('POINT(140 205)')),
 
282
  ('g', 'm', 'm', GeomFromText('POINT(10 236)')),
 
283
  ('i', 'r', 'j', GeomFromText('POINT(137 228)')),
 
284
  ('w', 's', 'p', GeomFromText('POINT(115 6)')),
 
285
  ('o', 'n', 'k', GeomFromText('POINT(158 129)')),
 
286
  ('j', 'h', 'l', GeomFromText('POINT(129 72)')),
 
287
  ('f', 'x', 'l', GeomFromText('POINT(139 207)')),
 
288
  ('u', 'd', 'n', GeomFromText('POINT(125 109)')),
 
289
  ('b', 'a', 'z', GeomFromText('POINT(30 32)')),
 
290
  ('m', 'h', 'o', GeomFromText('POINT(251 251)')),
 
291
  ('f', 'r', 'd', GeomFromText('POINT(243 211)')),
 
292
  ('b', 'd', 'r', GeomFromText('POINT(232 80)')),
 
293
  ('g', 'k', 'v', GeomFromText('POINT(15 100)')),
 
294
  ('i', 'f', 'c', GeomFromText('POINT(109 66)')),
 
295
  ('r', 't', 'j', GeomFromText('POINT(178 6)')),
 
296
  ('y', 'n', 'f', GeomFromText('POINT(233 211)')),
 
297
  ('f', 'y', 'm', GeomFromText('POINT(99 16)')),
 
298
  ('z', 'q', 'l', GeomFromText('POINT(39 49)')),
 
299
  ('j', 'c', 'r', GeomFromText('POINT(75 187)')),
 
300
  ('c', 'y', 'y', GeomFromText('POINT(246 253)')),
 
301
  ('w', 'u', 'd', GeomFromText('POINT(56 190)')),
 
302
  ('n', 'q', 'm', GeomFromText('POINT(73 149)')),
 
303
  ('d', 'y', 'a', GeomFromText('POINT(134 6)')),
 
304
  ('z', 's', 'w', GeomFromText('POINT(216 225)')),
 
305
  ('d', 'u', 'k', GeomFromText('POINT(132 70)')),
 
306
  ('f', 'v', 't', GeomFromText('POINT(187 141)')),
 
307
  ('r', 'r', 'a', GeomFromText('POINT(152 39)')),
 
308
  ('y', 'p', 'o', GeomFromText('POINT(45 27)')),
 
309
  ('p', 'n', 'm', GeomFromText('POINT(228 148)')),
 
310
  ('e', 'g', 'e', GeomFromText('POINT(88 81)')),
 
311
  ('m', 'a', 'h', GeomFromText('POINT(35 29)')),
 
312
  ('m', 'h', 'f', GeomFromText('POINT(30 71)')),
 
313
  ('h', 'k', 'i', GeomFromText('POINT(244 78)')),
 
314
  ('z', 'v', 'd', GeomFromText('POINT(241 38)')),
 
315
  ('q', 'l', 'j', GeomFromText('POINT(13 71)')),
 
316
  ('s', 'p', 'g', GeomFromText('POINT(108 38)')),
 
317
  ('q', 's', 'j', GeomFromText('POINT(92 101)')),
 
318
  ('l', 'h', 'g', GeomFromText('POINT(120 78)')),
 
319
  ('w', 't', 'b', GeomFromText('POINT(193 109)')),
 
320
  ('b', 's', 's', GeomFromText('POINT(223 211)')),
 
321
  ('w', 'w', 'y', GeomFromText('POINT(122 42)')),
 
322
  ('q', 'c', 'c', GeomFromText('POINT(104 102)')),
 
323
  ('w', 'g', 'n', GeomFromText('POINT(213 120)')),
 
324
  ('p', 'q', 'a', GeomFromText('POINT(247 148)')),
 
325
  ('c', 'z', 'e', GeomFromText('POINT(18 106)')),
 
326
  ('z', 'u', 'n', GeomFromText('POINT(70 133)')),
 
327
  ('j', 'n', 'x', GeomFromText('POINT(232 13)')),
 
328
  ('e', 'h', 'f', GeomFromText('POINT(22 135)')),
 
329
  ('w', 'l', 'f', GeomFromText('POINT(9 180)')),
 
330
  ('a', 'v', 'q', GeomFromText('POINT(163 228)')),
 
331
  ('i', 'z', 'o', GeomFromText('POINT(180 100)')),
 
332
  ('e', 'c', 'l', GeomFromText('POINT(182 231)')),
 
333
  ('c', 'k', 'o', GeomFromText('POINT(19 60)')),
 
334
  ('q', 'f', 'p', GeomFromText('POINT(79 95)')),
 
335
  ('m', 'd', 'r', GeomFromText('POINT(3 127)')),
 
336
  ('m', 'e', 't', GeomFromText('POINT(136 154)')),
 
337
  ('w', 'w', 'w', GeomFromText('POINT(102 15)')),
 
338
  ('l', 'n', 'q', GeomFromText('POINT(71 196)')),
 
339
  ('p', 'k', 'c', GeomFromText('POINT(47 139)')),
 
340
  ('j', 'o', 'r', GeomFromText('POINT(177 128)')),
 
341
  ('j', 'q', 'a', GeomFromText('POINT(170 6)')),
 
342
  ('b', 'a', 'o', GeomFromText('POINT(63 211)')),
 
343
  ('g', 's', 'o', GeomFromText('POINT(144 251)')),
 
344
  ('w', 'u', 'w', GeomFromText('POINT(221 214)')),
 
345
  ('g', 'a', 'm', GeomFromText('POINT(14 102)')),
 
346
  ('u', 'q', 'z', GeomFromText('POINT(86 200)')),
 
347
  ('k', 'a', 'm', GeomFromText('POINT(144 222)')),
 
348
  ('j', 'u', 'r', GeomFromText('POINT(216 142)')),
 
349
  ('q', 'k', 'v', GeomFromText('POINT(121 236)')),
 
350
  ('p', 'o', 'r', GeomFromText('POINT(108 102)')),
 
351
  ('b', 'd', 'x', GeomFromText('POINT(127 198)')),
 
352
  ('k', 's', 'a', GeomFromText('POINT(2 150)')),
 
353
  ('f', 'm', 'f', GeomFromText('POINT(160 191)')),
 
354
  ('q', 'y', 'x', GeomFromText('POINT(98 111)')),
 
355
  ('o', 'f', 'm', GeomFromText('POINT(232 218)')),
 
356
  ('c', 'w', 'j', GeomFromText('POINT(156 165)')),
 
357
  ('s', 'q', 'v', GeomFromText('POINT(98 161)'));
 
358
SET @@RAND_SEED1=692635050, @@RAND_SEED2=297339954;
 
359
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
360
SET @@RAND_SEED1=159925977, @@RAND_SEED2=942570618;
 
361
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
362
SET @@RAND_SEED1=328169745, @@RAND_SEED2=410451954;
 
363
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
364
SET @@RAND_SEED1=178507359, @@RAND_SEED2=332493072;
 
365
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
366
SET @@RAND_SEED1=1034033013, @@RAND_SEED2=558966507;
 
367
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
368
UPDATE t1 set spatial_point=GeomFromText('POINT(230 9)') where  c1 like 'y%';
 
369
UPDATE t1 set spatial_point=GeomFromText('POINT(95 35)') where  c1 like 'j%';
 
370
UPDATE t1 set spatial_point=GeomFromText('POINT(93 99)') where  c1 like 'a%';
 
371
UPDATE t1 set spatial_point=GeomFromText('POINT(19 81)') where  c1 like 'r%';
 
372
UPDATE t1 set spatial_point=GeomFromText('POINT(20 177)') where  c1 like 'h%';
 
373
UPDATE t1 set spatial_point=GeomFromText('POINT(221 193)') where  c1 like 'u%';
 
374
UPDATE t1 set spatial_point=GeomFromText('POINT(195 205)') where  c1 like 'd%';
 
375
UPDATE t1 set spatial_point=GeomFromText('POINT(15 213)') where  c1 like 'u%';
 
376
UPDATE t1 set spatial_point=GeomFromText('POINT(214 63)') where  c1 like 'n%';
 
377
UPDATE t1 set spatial_point=GeomFromText('POINT(243 171)') where  c1 like 'c%';
 
378
UPDATE t1 set spatial_point=GeomFromText('POINT(198 82)') where  c1 like 'y%';
 
379
INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES
 
380
  ('f', 'y', 'p', GeomFromText('POINT(109 235)')),
 
381
  ('b', 'e', 'v', GeomFromText('POINT(20 48)')),
 
382
  ('i', 'u', 'f', GeomFromText('POINT(15 55)')),
 
383
  ('o', 'r', 'z', GeomFromText('POINT(105 64)')),
 
384
  ('a', 'p', 'a', GeomFromText('POINT(142 236)')),
 
385
  ('g', 'i', 'k', GeomFromText('POINT(10 49)')),
 
386
  ('x', 'z', 'x', GeomFromText('POINT(192 200)')),
 
387
  ('c', 'v', 'r', GeomFromText('POINT(94 168)')),
 
388
  ('y', 'z', 'e', GeomFromText('POINT(141 51)')),
 
389
  ('h', 'm', 'd', GeomFromText('POINT(35 251)')),
 
390
  ('v', 'm', 'q', GeomFromText('POINT(44 90)')),
 
391
  ('j', 'l', 'z', GeomFromText('POINT(67 237)')),
 
392
  ('i', 'v', 'a', GeomFromText('POINT(75 14)')),
 
393
  ('b', 'q', 't', GeomFromText('POINT(153 33)')),
 
394
  ('e', 'm', 'a', GeomFromText('POINT(247 49)')),
 
395
  ('l', 'y', 'g', GeomFromText('POINT(56 203)')),
 
396
  ('v', 'o', 'r', GeomFromText('POINT(90 54)')),
 
397
  ('r', 'n', 'd', GeomFromText('POINT(135 83)')),
 
398
  ('j', 't', 'u', GeomFromText('POINT(174 239)')),
 
399
  ('u', 'n', 'g', GeomFromText('POINT(104 191)')),
 
400
  ('p', 'q', 'y', GeomFromText('POINT(63 171)')),
 
401
  ('o', 'q', 'p', GeomFromText('POINT(192 103)')),
 
402
  ('f', 'x', 'e', GeomFromText('POINT(244 30)')),
 
403
  ('n', 'x', 'c', GeomFromText('POINT(92 103)')),
 
404
  ('r', 'q', 'z', GeomFromText('POINT(166 20)')),
 
405
  ('s', 'a', 'j', GeomFromText('POINT(137 205)')),
 
406
  ('z', 't', 't', GeomFromText('POINT(99 134)')),
 
407
  ('o', 'm', 'j', GeomFromText('POINT(217 3)')),
 
408
  ('n', 'h', 'j', GeomFromText('POINT(211 17)')),
 
409
  ('v', 'v', 'a', GeomFromText('POINT(41 137)')),
 
410
  ('q', 'o', 'j', GeomFromText('POINT(5 92)')),
 
411
  ('z', 'y', 'e', GeomFromText('POINT(175 212)')),
 
412
  ('j', 'z', 'h', GeomFromText('POINT(224 194)')),
 
413
  ('a', 'g', 'm', GeomFromText('POINT(31 119)')),
 
414
  ('p', 'c', 'f', GeomFromText('POINT(17 221)')),
 
415
  ('t', 'h', 'k', GeomFromText('POINT(26 203)')),
 
416
  ('u', 'w', 'p', GeomFromText('POINT(47 185)')),
 
417
  ('z', 'a', 'c', GeomFromText('POINT(61 133)')),
 
418
  ('u', 'k', 'a', GeomFromText('POINT(210 115)')),
 
419
  ('k', 'f', 'h', GeomFromText('POINT(125 113)')),
 
420
  ('t', 'v', 'y', GeomFromText('POINT(12 239)')),
 
421
  ('u', 'v', 'd', GeomFromText('POINT(90 24)')),
 
422
  ('m', 'y', 'w', GeomFromText('POINT(25 243)')),
 
423
  ('d', 'n', 'g', GeomFromText('POINT(122 92)')),
 
424
  ('z', 'm', 'f', GeomFromText('POINT(235 110)')),
 
425
  ('q', 'd', 'f', GeomFromText('POINT(233 217)')),
 
426
  ('a', 'v', 'u', GeomFromText('POINT(69 59)')),
 
427
  ('x', 'k', 'p', GeomFromText('POINT(240 14)')),
 
428
  ('i', 'v', 'r', GeomFromText('POINT(154 42)')),
 
429
  ('w', 'h', 'l', GeomFromText('POINT(178 156)')),
 
430
  ('d', 'h', 'n', GeomFromText('POINT(65 157)')),
 
431
  ('c', 'k', 'z', GeomFromText('POINT(62 33)')),
 
432
  ('e', 'l', 'w', GeomFromText('POINT(162 1)')),
 
433
  ('r', 'f', 'i', GeomFromText('POINT(127 71)')),
 
434
  ('q', 'm', 'c', GeomFromText('POINT(63 118)')),
 
435
  ('c', 'h', 'u', GeomFromText('POINT(205 203)')),
 
436
  ('d', 't', 'p', GeomFromText('POINT(234 87)')),
 
437
  ('s', 'g', 'h', GeomFromText('POINT(149 34)')),
 
438
  ('o', 'b', 'q', GeomFromText('POINT(159 179)')),
 
439
  ('k', 'u', 'f', GeomFromText('POINT(202 254)')),
 
440
  ('u', 'f', 'g', GeomFromText('POINT(70 15)')),
 
441
  ('x', 's', 'b', GeomFromText('POINT(25 181)')),
 
442
  ('s', 'c', 'g', GeomFromText('POINT(252 17)')),
 
443
  ('a', 'c', 'f', GeomFromText('POINT(89 67)')),
 
444
  ('r', 'e', 'q', GeomFromText('POINT(55 54)')),
 
445
  ('f', 'i', 'k', GeomFromText('POINT(178 230)')),
 
446
  ('p', 'e', 'l', GeomFromText('POINT(198 28)')),
 
447
  ('w', 'o', 'd', GeomFromText('POINT(204 189)')),
 
448
  ('c', 'a', 'g', GeomFromText('POINT(230 178)')),
 
449
  ('r', 'o', 'e', GeomFromText('POINT(61 116)')),
 
450
  ('w', 'a', 'a', GeomFromText('POINT(178 237)')),
 
451
  ('v', 'd', 'e', GeomFromText('POINT(70 85)')),
 
452
  ('k', 'c', 'e', GeomFromText('POINT(147 118)')),
 
453
  ('d', 'q', 't', GeomFromText('POINT(218 77)')),
 
454
  ('k', 'g', 'f', GeomFromText('POINT(192 113)')),
 
455
  ('w', 'n', 'e', GeomFromText('POINT(92 124)')),
 
456
  ('r', 'm', 'q', GeomFromText('POINT(130 65)')),
 
457
  ('o', 'r', 'r', GeomFromText('POINT(174 233)')),
 
458
  ('k', 'n', 't', GeomFromText('POINT(175 147)')),
 
459
  ('q', 'm', 'r', GeomFromText('POINT(18 208)')),
 
460
  ('l', 'd', 'i', GeomFromText('POINT(13 104)')),
 
461
  ('w', 'o', 'y', GeomFromText('POINT(207 39)')),
 
462
  ('p', 'u', 'o', GeomFromText('POINT(114 31)')),
 
463
  ('y', 'a', 'p', GeomFromText('POINT(106 59)')),
 
464
  ('a', 'x', 'z', GeomFromText('POINT(17 57)')),
 
465
  ('v', 'h', 'x', GeomFromText('POINT(170 13)')),
 
466
  ('t', 's', 'u', GeomFromText('POINT(84 18)')),
 
467
  ('z', 'z', 'f', GeomFromText('POINT(250 197)')),
 
468
  ('l', 'z', 't', GeomFromText('POINT(59 80)')),
 
469
  ('j', 'g', 's', GeomFromText('POINT(54 26)')),
 
470
  ('g', 'v', 'm', GeomFromText('POINT(89 98)')),
 
471
  ('q', 'v', 'b', GeomFromText('POINT(39 240)')),
 
472
  ('x', 'k', 'v', GeomFromText('POINT(246 207)')),
 
473
  ('k', 'u', 'i', GeomFromText('POINT(105 111)')),
 
474
  ('w', 'z', 's', GeomFromText('POINT(235 8)')),
 
475
  ('d', 'd', 'd', GeomFromText('POINT(105 4)')),
 
476
  ('c', 'z', 'q', GeomFromText('POINT(13 140)')),
 
477
  ('m', 'k', 'i', GeomFromText('POINT(208 120)')),
 
478
  ('g', 'a', 'g', GeomFromText('POINT(9 182)')),
 
479
  ('z', 'j', 'r', GeomFromText('POINT(149 153)')),
 
480
  ('h', 'f', 'g', GeomFromText('POINT(81 236)')),
 
481
  ('m', 'e', 'q', GeomFromText('POINT(209 215)')),
 
482
  ('c', 'h', 'y', GeomFromText('POINT(235 70)')),
 
483
  ('i', 'e', 'g', GeomFromText('POINT(138 26)')),
 
484
  ('m', 't', 'u', GeomFromText('POINT(119 237)')),
 
485
  ('o', 'w', 's', GeomFromText('POINT(193 166)')),
 
486
  ('f', 'm', 'q', GeomFromText('POINT(85 96)')),
 
487
  ('x', 'l', 'x', GeomFromText('POINT(58 115)')),
 
488
  ('x', 'q', 'u', GeomFromText('POINT(108 210)')),
 
489
  ('b', 'h', 'i', GeomFromText('POINT(250 139)')),
 
490
  ('y', 'd', 'x', GeomFromText('POINT(199 135)')),
 
491
  ('w', 'h', 'p', GeomFromText('POINT(247 233)')),
 
492
  ('p', 'z', 't', GeomFromText('POINT(148 249)')),
 
493
  ('q', 'a', 'u', GeomFromText('POINT(174 78)')),
 
494
  ('v', 't', 'm', GeomFromText('POINT(70 228)')),
 
495
  ('t', 'n', 'f', GeomFromText('POINT(123 2)')),
 
496
  ('x', 't', 'b', GeomFromText('POINT(35 50)')),
 
497
  ('r', 'j', 'f', GeomFromText('POINT(200 51)')),
 
498
  ('s', 'q', 'o', GeomFromText('POINT(23 184)')),
 
499
  ('u', 'v', 'z', GeomFromText('POINT(7 113)')),
 
500
  ('v', 'u', 'l', GeomFromText('POINT(145 190)')),
 
501
  ('o', 'k', 'i', GeomFromText('POINT(161 122)')),
 
502
  ('l', 'y', 'e', GeomFromText('POINT(17 232)')),
 
503
  ('t', 'b', 'e', GeomFromText('POINT(120 50)')),
 
504
  ('e', 's', 'u', GeomFromText('POINT(254 1)')),
 
505
  ('d', 'd', 'u', GeomFromText('POINT(167 140)')),
 
506
  ('o', 'b', 'x', GeomFromText('POINT(186 237)')),
 
507
  ('m', 's', 's', GeomFromText('POINT(172 149)')),
 
508
  ('t', 'y', 'a', GeomFromText('POINT(149 85)')),
 
509
  ('x', 't', 'r', GeomFromText('POINT(10 165)')),
 
510
  ('g', 'c', 'e', GeomFromText('POINT(95 165)')),
 
511
  ('e', 'e', 'z', GeomFromText('POINT(98 65)')),
 
512
  ('f', 'v', 'i', GeomFromText('POINT(149 144)')),
 
513
  ('o', 'p', 'm', GeomFromText('POINT(233 67)')),
 
514
  ('t', 'u', 'b', GeomFromText('POINT(109 215)')),
 
515
  ('o', 'o', 'b', GeomFromText('POINT(130 48)')),
 
516
  ('e', 'm', 'h', GeomFromText('POINT(88 189)')),
 
517
  ('e', 'v', 'y', GeomFromText('POINT(55 29)')),
 
518
  ('e', 't', 'm', GeomFromText('POINT(129 55)')),
 
519
  ('p', 'p', 'i', GeomFromText('POINT(126 222)')),
 
520
  ('c', 'i', 'c', GeomFromText('POINT(19 158)')),
 
521
  ('c', 'b', 's', GeomFromText('POINT(13 19)')),
 
522
  ('u', 'y', 'a', GeomFromText('POINT(114 5)')),
 
523
  ('a', 'o', 'f', GeomFromText('POINT(227 232)')),
 
524
  ('t', 'c', 'z', GeomFromText('POINT(63 62)')),
 
525
  ('d', 'o', 'k', GeomFromText('POINT(48 228)')),
 
526
  ('x', 'c', 'e', GeomFromText('POINT(204 2)')),
 
527
  ('e', 'e', 'g', GeomFromText('POINT(125 43)')),
 
528
  ('o', 'r', 'f', GeomFromText('POINT(171 140)'));
 
529
UPDATE t1 set spatial_point=GeomFromText('POINT(163 157)') where  c1 like 'w%';
 
530
UPDATE t1 set spatial_point=GeomFromText('POINT(53 151)') where  c1 like 'd%';
 
531
UPDATE t1 set spatial_point=GeomFromText('POINT(96 183)') where  c1 like 'r%';
 
532
UPDATE t1 set spatial_point=GeomFromText('POINT(57 91)') where  c1 like 'q%';
 
533
UPDATE t1 set spatial_point=GeomFromText('POINT(202 110)') where  c1 like 'c%';
 
534
UPDATE t1 set spatial_point=GeomFromText('POINT(120 137)') where  c1 like 'w%';
 
535
UPDATE t1 set spatial_point=GeomFromText('POINT(207 147)') where  c1 like 'c%';
 
536
UPDATE t1 set spatial_point=GeomFromText('POINT(31 125)') where  c1 like 'e%';
 
537
UPDATE t1 set spatial_point=GeomFromText('POINT(27 36)') where  c1 like 'r%';
 
538
INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES
 
539
  ('b', 'c', 'e', GeomFromText('POINT(41 137)')),
 
540
  ('p', 'y', 'k', GeomFromText('POINT(50 22)')),
 
541
  ('s', 'c', 'h', GeomFromText('POINT(208 173)')),
 
542
  ('x', 'u', 'l', GeomFromText('POINT(199 175)')),
 
543
  ('s', 'r', 'h', GeomFromText('POINT(85 192)')),
 
544
  ('j', 'k', 'u', GeomFromText('POINT(18 25)')),
 
545
  ('p', 'w', 'h', GeomFromText('POINT(152 197)')),
 
546
  ('e', 'd', 'c', GeomFromText('POINT(229 3)')),
 
547
  ('o', 'x', 'k', GeomFromText('POINT(187 155)')),
 
548
  ('o', 'b', 'k', GeomFromText('POINT(208 150)')),
 
549
  ('d', 'a', 'j', GeomFromText('POINT(70 87)')),
 
550
  ('f', 'e', 'k', GeomFromText('POINT(156 96)')),
 
551
  ('u', 'y', 'p', GeomFromText('POINT(239 193)')),
 
552
  ('n', 'v', 'p', GeomFromText('POINT(223 98)')),
 
553
  ('z', 'j', 'r', GeomFromText('POINT(87 89)')),
 
554
  ('h', 'x', 'x', GeomFromText('POINT(92 0)')),
 
555
  ('r', 'v', 'r', GeomFromText('POINT(159 139)')),
 
556
  ('v', 'g', 'g', GeomFromText('POINT(16 229)')),
 
557
  ('z', 'k', 'u', GeomFromText('POINT(99 52)')),
 
558
  ('p', 'p', 'o', GeomFromText('POINT(105 125)')),
 
559
  ('w', 'h', 'y', GeomFromText('POINT(105 154)')),
 
560
  ('v', 'y', 'z', GeomFromText('POINT(134 238)')),
 
561
  ('x', 'o', 'o', GeomFromText('POINT(178 88)')),
 
562
  ('z', 'w', 'd', GeomFromText('POINT(123 60)')),
 
563
  ('q', 'f', 'u', GeomFromText('POINT(64 90)')),
 
564
  ('s', 'n', 't', GeomFromText('POINT(50 138)')),
 
565
  ('v', 'p', 't', GeomFromText('POINT(114 91)')),
 
566
  ('a', 'o', 'n', GeomFromText('POINT(78 43)')),
 
567
  ('k', 'u', 'd', GeomFromText('POINT(185 161)')),
 
568
  ('w', 'd', 'n', GeomFromText('POINT(25 92)')),
 
569
  ('k', 'w', 'a', GeomFromText('POINT(59 238)')),
 
570
  ('t', 'c', 'f', GeomFromText('POINT(65 87)')),
 
571
  ('g', 's', 'p', GeomFromText('POINT(238 126)')),
 
572
  ('d', 'n', 'y', GeomFromText('POINT(107 173)')),
 
573
  ('l', 'a', 'w', GeomFromText('POINT(125 152)')),
 
574
  ('m', 'd', 'j', GeomFromText('POINT(146 53)')),
 
575
  ('q', 'm', 'c', GeomFromText('POINT(217 187)')),
 
576
  ('i', 'r', 'r', GeomFromText('POINT(6 113)')),
 
577
  ('e', 'j', 'b', GeomFromText('POINT(37 83)')),
 
578
  ('w', 'w', 'h', GeomFromText('POINT(83 199)')),
 
579
  ('k', 'b', 's', GeomFromText('POINT(170 64)')),
 
580
  ('s', 'b', 'c', GeomFromText('POINT(163 130)')),
 
581
  ('c', 'h', 'a', GeomFromText('POINT(141 3)')),
 
582
  ('k', 'j', 'u', GeomFromText('POINT(143 76)')),
 
583
  ('r', 'h', 'o', GeomFromText('POINT(243 92)')),
 
584
  ('i', 'd', 'b', GeomFromText('POINT(205 13)')),
 
585
  ('r', 'y', 'q', GeomFromText('POINT(138 8)')),
 
586
  ('m', 'o', 'i', GeomFromText('POINT(36 45)')),
 
587
  ('v', 'g', 'm', GeomFromText('POINT(0 40)')),
 
588
  ('f', 'e', 'i', GeomFromText('POINT(76 6)')),
 
589
  ('c', 'q', 'q', GeomFromText('POINT(115 248)')),
 
590
  ('x', 'c', 'i', GeomFromText('POINT(29 74)')),
 
591
  ('l', 's', 't', GeomFromText('POINT(83 18)')),
 
592
  ('t', 't', 'a', GeomFromText('POINT(26 168)')),
 
593
  ('u', 'n', 'x', GeomFromText('POINT(200 110)')),
 
594
  ('j', 'b', 'd', GeomFromText('POINT(216 136)')),
 
595
  ('s', 'p', 'w', GeomFromText('POINT(38 156)')),
 
596
  ('f', 'b', 'v', GeomFromText('POINT(29 186)')),
 
597
  ('v', 'e', 'r', GeomFromText('POINT(149 40)')),
 
598
  ('v', 't', 'm', GeomFromText('POINT(184 24)')),
 
599
  ('y', 'g', 'a', GeomFromText('POINT(219 105)')),
 
600
  ('s', 'f', 'i', GeomFromText('POINT(114 130)')),
 
601
  ('e', 'q', 'h', GeomFromText('POINT(203 135)')),
 
602
  ('h', 'g', 'b', GeomFromText('POINT(9 208)')),
 
603
  ('o', 'l', 'r', GeomFromText('POINT(245 79)')),
 
604
  ('s', 's', 'v', GeomFromText('POINT(238 198)')),
 
605
  ('w', 'w', 'z', GeomFromText('POINT(209 232)')),
 
606
  ('v', 'd', 'n', GeomFromText('POINT(30 193)')),
 
607
  ('q', 'w', 'k', GeomFromText('POINT(133 18)')),
 
608
  ('o', 'h', 'o', GeomFromText('POINT(42 140)')),
 
609
  ('f', 'f', 'h', GeomFromText('POINT(145 1)')),
 
610
  ('u', 's', 'r', GeomFromText('POINT(70 62)')),
 
611
  ('x', 'n', 'q', GeomFromText('POINT(33 86)')),
 
612
  ('u', 'p', 'v', GeomFromText('POINT(232 220)')),
 
613
  ('z', 'e', 'a', GeomFromText('POINT(130 69)')),
 
614
  ('r', 'u', 'z', GeomFromText('POINT(243 241)')),
 
615
  ('b', 'n', 't', GeomFromText('POINT(120 12)')),
 
616
  ('u', 'f', 's', GeomFromText('POINT(190 212)')),
 
617
  ('a', 'd', 'q', GeomFromText('POINT(235 191)')),
 
618
  ('f', 'q', 'm', GeomFromText('POINT(176 2)')),
 
619
  ('n', 'c', 's', GeomFromText('POINT(218 163)')),
 
620
  ('e', 'm', 'h', GeomFromText('POINT(163 108)')),
 
621
  ('c', 'f', 'l', GeomFromText('POINT(220 115)')),
 
622
  ('c', 'v', 'q', GeomFromText('POINT(66 45)')),
 
623
  ('w', 'v', 'x', GeomFromText('POINT(251 220)')),
 
624
  ('f', 'w', 'z', GeomFromText('POINT(146 149)')),
 
625
  ('h', 'n', 'h', GeomFromText('POINT(148 128)')),
 
626
  ('y', 'k', 'v', GeomFromText('POINT(28 110)')),
 
627
  ('c', 'x', 'q', GeomFromText('POINT(13 13)')),
 
628
  ('e', 'd', 's', GeomFromText('POINT(91 190)')),
 
629
  ('c', 'w', 'c', GeomFromText('POINT(10 231)')),
 
630
  ('u', 'j', 'n', GeomFromText('POINT(250 21)')),
 
631
  ('w', 'n', 'x', GeomFromText('POINT(141 69)')),
 
632
  ('f', 'p', 'y', GeomFromText('POINT(228 246)')),
 
633
  ('d', 'q', 'f', GeomFromText('POINT(194 22)')),
 
634
  ('d', 'z', 'l', GeomFromText('POINT(233 181)')),
 
635
  ('c', 'a', 'q', GeomFromText('POINT(183 96)')),
 
636
  ('m', 'i', 'd', GeomFromText('POINT(117 226)')),
 
637
  ('z', 'y', 'y', GeomFromText('POINT(62 81)')),
 
638
  ('g', 'v', 'm', GeomFromText('POINT(66 158)'));
 
639
SET @@RAND_SEED1=481064922, @@RAND_SEED2=438133497;
 
640
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
641
SET @@RAND_SEED1=280535103, @@RAND_SEED2=444518646;
 
642
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
643
SET @@RAND_SEED1=1072017234, @@RAND_SEED2=484203885;
 
644
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
645
SET @@RAND_SEED1=358851897, @@RAND_SEED2=358495224;
 
646
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
647
SET @@RAND_SEED1=509031459, @@RAND_SEED2=675962925;
 
648
DELETE FROM t1 ORDER BY RAND() LIMIT 10;
 
649
UPDATE t1 set spatial_point=GeomFromText('POINT(61 203)') where  c1 like 'y%';
 
650
UPDATE t1 set spatial_point=GeomFromText('POINT(202 194)') where  c1 like 'f%';
 
651
UPDATE t1 set spatial_point=GeomFromText('POINT(228 18)') where  c1 like 'h%';
 
652
UPDATE t1 set spatial_point=GeomFromText('POINT(88 18)') where  c1 like 'l%';
 
653
UPDATE t1 set spatial_point=GeomFromText('POINT(176 94)') where  c1 like 'e%';
 
654
UPDATE t1 set spatial_point=GeomFromText('POINT(44 47)') where  c1 like 'g%';
 
655
UPDATE t1 set spatial_point=GeomFromText('POINT(95 191)') where  c1 like 'b%';
 
656
UPDATE t1 set spatial_point=GeomFromText('POINT(179 218)') where  c1 like 'y%';
 
657
UPDATE t1 set spatial_point=GeomFromText('POINT(239 40)') where  c1 like 'g%';
 
658
UPDATE t1 set spatial_point=GeomFromText('POINT(248 41)') where  c1 like 'q%';
 
659
UPDATE t1 set spatial_point=GeomFromText('POINT(167 82)') where  c1 like 't%';
 
660
UPDATE t1 set spatial_point=GeomFromText('POINT(13 104)') where  c1 like 'u%';
 
661
UPDATE t1 set spatial_point=GeomFromText('POINT(139 84)') where  c1 like 'a%';
 
662
UPDATE t1 set spatial_point=GeomFromText('POINT(145 108)') where  c1 like 'p%';
 
663
UPDATE t1 set spatial_point=GeomFromText('POINT(147 57)') where  c1 like 't%';
 
664
UPDATE t1 set spatial_point=GeomFromText('POINT(217 144)') where  c1 like 'n%';
 
665
UPDATE t1 set spatial_point=GeomFromText('POINT(160 224)') where  c1 like 'w%';
 
666
UPDATE t1 set spatial_point=GeomFromText('POINT(38 28)') where  c1 like 'j%';
 
667
UPDATE t1 set spatial_point=GeomFromText('POINT(104 114)') where  c1 like 'q%';
 
668
UPDATE t1 set spatial_point=GeomFromText('POINT(88 19)') where  c1 like 'c%';
 
669
INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES
 
670
  ('f', 'x', 'p', GeomFromText('POINT(92 181)')),
 
671
  ('s', 'i', 'c', GeomFromText('POINT(49 60)')),
 
672
  ('c', 'c', 'i', GeomFromText('POINT(7 57)')),
 
673
  ('n', 'g', 'k', GeomFromText('POINT(252 105)')),
 
674
  ('g', 'b', 'm', GeomFromText('POINT(180 11)')),
 
675
  ('u', 'l', 'r', GeomFromText('POINT(32 90)')),
 
676
  ('c', 'x', 'e', GeomFromText('POINT(143 24)')),
 
677
  ('x', 'u', 'a', GeomFromText('POINT(123 92)')),
 
678
  ('s', 'b', 'h', GeomFromText('POINT(190 108)')),
 
679
  ('c', 'x', 'b', GeomFromText('POINT(104 100)')),
 
680
  ('i', 'd', 't', GeomFromText('POINT(214 104)')),
 
681
  ('r', 'w', 'g', GeomFromText('POINT(29 67)')),
 
682
  ('b', 'f', 'g', GeomFromText('POINT(149 46)')),
 
683
  ('r', 'r', 'd', GeomFromText('POINT(242 196)')),
 
684
  ('j', 'l', 'a', GeomFromText('POINT(90 196)')),
 
685
  ('e', 't', 'b', GeomFromText('POINT(190 64)')),
 
686
  ('l', 'x', 'w', GeomFromText('POINT(250 73)')),
 
687
  ('q', 'y', 'r', GeomFromText('POINT(120 182)')),
 
688
  ('s', 'j', 'a', GeomFromText('POINT(180 175)')),
 
689
  ('n', 'i', 'y', GeomFromText('POINT(124 136)')),
 
690
  ('s', 'x', 's', GeomFromText('POINT(176 209)')),
 
691
  ('u', 'f', 's', GeomFromText('POINT(215 173)')),
 
692
  ('m', 'j', 'x', GeomFromText('POINT(44 140)')),
 
693
  ('v', 'g', 'x', GeomFromText('POINT(177 233)')),
 
694
  ('u', 't', 'b', GeomFromText('POINT(136 197)')),
 
695
  ('f', 'g', 'b', GeomFromText('POINT(10 8)')),
 
696
  ('v', 'c', 'j', GeomFromText('POINT(13 81)')),
 
697
  ('d', 's', 'q', GeomFromText('POINT(200 100)')),
 
698
  ('a', 'p', 'j', GeomFromText('POINT(33 40)')),
 
699
  ('i', 'c', 'g', GeomFromText('POINT(168 204)')),
 
700
  ('k', 'h', 'i', GeomFromText('POINT(93 243)')),
 
701
  ('s', 'b', 's', GeomFromText('POINT(157 13)')),
 
702
  ('v', 'l', 'l', GeomFromText('POINT(103 6)')),
 
703
  ('r', 'b', 'k', GeomFromText('POINT(244 137)')),
 
704
  ('l', 'd', 'r', GeomFromText('POINT(162 254)')),
 
705
  ('q', 'b', 'z', GeomFromText('POINT(136 246)')),
 
706
  ('x', 'x', 'p', GeomFromText('POINT(120 37)')),
 
707
  ('m', 'e', 'z', GeomFromText('POINT(203 167)')),
 
708
  ('q', 'n', 'p', GeomFromText('POINT(94 119)')),
 
709
  ('b', 'g', 'u', GeomFromText('POINT(93 248)')),
 
710
  ('r', 'v', 'v', GeomFromText('POINT(53 88)')),
 
711
  ('y', 'a', 'i', GeomFromText('POINT(98 219)')),
 
712
  ('a', 's', 'g', GeomFromText('POINT(173 138)')),
 
713
  ('c', 'a', 't', GeomFromText('POINT(235 135)')),
 
714
  ('q', 'm', 'd', GeomFromText('POINT(224 208)')),
 
715
  ('e', 'p', 'k', GeomFromText('POINT(161 238)')),
 
716
  ('n', 'g', 'q', GeomFromText('POINT(35 204)')),
 
717
  ('t', 't', 'x', GeomFromText('POINT(230 178)')),
 
718
  ('w', 'f', 'a', GeomFromText('POINT(150 221)')),
 
719
  ('z', 'm', 'z', GeomFromText('POINT(119 42)')),
 
720
  ('l', 'j', 's', GeomFromText('POINT(97 96)')),
 
721
  ('f', 'z', 'x', GeomFromText('POINT(208 65)')),
 
722
  ('i', 'v', 'c', GeomFromText('POINT(145 79)')),
 
723
  ('l', 'f', 'k', GeomFromText('POINT(83 234)')),
 
724
  ('u', 'a', 's', GeomFromText('POINT(250 49)')),
 
725
  ('o', 'k', 'p', GeomFromText('POINT(46 50)')),
 
726
  ('d', 'e', 'z', GeomFromText('POINT(30 198)')),
 
727
  ('r', 'r', 'l', GeomFromText('POINT(78 189)')),
 
728
  ('y', 'l', 'f', GeomFromText('POINT(188 132)')),
 
729
  ('d', 'q', 'm', GeomFromText('POINT(247 107)')),
 
730
  ('p', 'j', 'n', GeomFromText('POINT(148 227)')),
 
731
  ('b', 'o', 'i', GeomFromText('POINT(172 25)')),
 
732
  ('e', 'v', 'd', GeomFromText('POINT(94 248)')),
 
733
  ('q', 'd', 'f', GeomFromText('POINT(15 29)')),
 
734
  ('w', 'b', 'b', GeomFromText('POINT(74 111)')),
 
735
  ('g', 'q', 'f', GeomFromText('POINT(107 215)')),
 
736
  ('o', 'h', 'r', GeomFromText('POINT(25 168)')),
 
737
  ('u', 't', 'w', GeomFromText('POINT(251 188)')),
 
738
  ('h', 's', 'w', GeomFromText('POINT(254 247)')),
 
739
  ('f', 'f', 'b', GeomFromText('POINT(166 103)'));
 
740
SET @@RAND_SEED1=866613816, @@RAND_SEED2=92289615;
 
741
INSERT INTO t1 (c2, c1, c3, spatial_point) VALUES
 
742
  ('l', 'c', 'l', GeomFromText('POINT(202 98)')),
 
743
  ('k', 'c', 'b', GeomFromText('POINT(46 206)')),
 
744
  ('r', 'y', 'm', GeomFromText('POINT(74 140)')),
 
745
  ('y', 'z', 'd', GeomFromText('POINT(200 160)')),
 
746
  ('s', 'y', 's', GeomFromText('POINT(156 205)')),
 
747
  ('u', 'v', 'p', GeomFromText('POINT(86 82)')),
 
748
  ('j', 's', 's', GeomFromText('POINT(91 233)')),
 
749
  ('x', 'j', 'f', GeomFromText('POINT(3 14)')),
 
750
  ('l', 'z', 'v', GeomFromText('POINT(123 156)')),
 
751
  ('h', 'i', 'o', GeomFromText('POINT(145 229)')),
 
752
  ('o', 'r', 'd', GeomFromText('POINT(15 22)')),
 
753
  ('f', 'x', 't', GeomFromText('POINT(21 60)')),
 
754
  ('t', 'g', 'h', GeomFromText('POINT(50 153)')),
 
755
  ('g', 'u', 'b', GeomFromText('POINT(82 85)')),
 
756
  ('v', 'a', 'p', GeomFromText('POINT(231 178)')),
 
757
  ('n', 'v', 'o', GeomFromText('POINT(183 25)')),
 
758
  ('j', 'n', 'm', GeomFromText('POINT(50 144)')),
 
759
  ('e', 'f', 'i', GeomFromText('POINT(46 16)')),
 
760
  ('d', 'w', 'a', GeomFromText('POINT(66 6)')),
 
761
  ('f', 'x', 'a', GeomFromText('POINT(107 197)')),
 
762
  ('m', 'o', 'a', GeomFromText('POINT(142 80)')),
 
763
  ('q', 'l', 'g', GeomFromText('POINT(251 23)')),
 
764
  ('c', 's', 's', GeomFromText('POINT(158 43)')),
 
765
  ('y', 'd', 'o', GeomFromText('POINT(196 228)')),
 
766
  ('d', 'p', 'l', GeomFromText('POINT(107 5)')),
 
767
  ('h', 'a', 'b', GeomFromText('POINT(183 166)')),
 
768
  ('m', 'w', 'p', GeomFromText('POINT(19 59)')),
 
769
  ('b', 'y', 'o', GeomFromText('POINT(178 30)')),
 
770
  ('x', 'w', 'i', GeomFromText('POINT(168 94)')),
 
771
  ('t', 'k', 'z', GeomFromText('POINT(171 5)')),
 
772
  ('r', 'm', 'a', GeomFromText('POINT(222 19)')),
 
773
  ('u', 'v', 'e', GeomFromText('POINT(224 80)')),
 
774
  ('q', 'r', 'k', GeomFromText('POINT(212 218)')),
 
775
  ('d', 'p', 'j', GeomFromText('POINT(169 7)')),
 
776
  ('d', 'r', 'v', GeomFromText('POINT(193 23)')),
 
777
  ('n', 'y', 'y', GeomFromText('POINT(130 178)')),
 
778
  ('m', 'z', 'r', GeomFromText('POINT(81 200)')),
 
779
  ('j', 'e', 'w', GeomFromText('POINT(145 239)')),
 
780
  ('v', 'h', 'x', GeomFromText('POINT(24 105)')),
 
781
  ('z', 'm', 'a', GeomFromText('POINT(175 129)')),
 
782
  ('b', 'c', 'v', GeomFromText('POINT(213 10)')),
 
783
  ('t', 't', 'u', GeomFromText('POINT(2 129)')),
 
784
  ('r', 's', 'v', GeomFromText('POINT(209 192)')),
 
785
  ('x', 'p', 'g', GeomFromText('POINT(43 63)')),
 
786
  ('t', 'e', 'u', GeomFromText('POINT(139 210)')),
 
787
  ('l', 'e', 't', GeomFromText('POINT(245 148)')),
 
788
  ('a', 'i', 'k', GeomFromText('POINT(167 195)')),
 
789
  ('m', 'o', 'h', GeomFromText('POINT(206 120)')),
 
790
  ('g', 'z', 's', GeomFromText('POINT(169 240)')),
 
791
  ('z', 'u', 's', GeomFromText('POINT(202 120)')),
 
792
  ('i', 'b', 'a', GeomFromText('POINT(216 18)')),
 
793
  ('w', 'y', 'g', GeomFromText('POINT(119 236)')),
 
794
  ('h', 'y', 'p', GeomFromText('POINT(161 24)'));
 
795
UPDATE t1 set spatial_point=GeomFromText('POINT(33 100)') where  c1 like 't%';
 
796
UPDATE t1 set spatial_point=GeomFromText('POINT(41 46)') where  c1 like 'f%';
 
797
CHECK TABLE t1 EXTENDED;
 
798
DROP TABLE t1;
 
799
 
244
800
# End of 4.1 tests
245
801
 
246
802
#