1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix typos in mysql-test/

This commit is contained in:
Vasilii Lakhin
2025-04-07 20:13:58 +03:00
committed by Daniel Black
parent 40c5b62531
commit 1b95e46524
682 changed files with 967 additions and 968 deletions

View File

@@ -1,9 +1,9 @@
#*****************************************************************
# The Orginal name of the testcase : gis.test
# The following are the modification done
# The Original name of the testcase : gis.test
# The following are the modification done
# 1.SET default_storage_engine=InnoDB;
# 2.MyiSam to Innodb where ever is required.
# 3.Spatial index to Index as Innodb does not support
# 3.Spatial index to Index as Innodb does not support
#*****************************************************************
--source include/have_innodb.inc
-- source include/have_geometry.inc

View File

@@ -5,8 +5,8 @@
# Test table column having both indexes spatial and Btree
# Test error Alter table spatial index using hash/Btree
# Test modify column from point to multipoint,line to multiline
# Test modify column from mutipoint to point,multiline to line
# Test discard & import tablepsace
# Test modify column from multipoint to point,multiline to line
# Test discard & import tablespace
# spatial index on temp tables
# Unique constraint on spatial index column Geometry
# Unique constraint on spatial index column POINT

View File

@@ -21,7 +21,7 @@ location point, INDEX (location)) ENGINE=InnoDB;
INSERT INTO t1 (location) SELECT POINT(tmp1.id, tmp2.id) FROM tmp tmp1,
tmp tmp2 ORDER BY tmp1.id, tmp2.id;
#Befor fix, the row number will be the total number of index recs,
#Before fix, the row number will be the total number of index recs,
#After fix, the row number will be 1.
EXPLAIN SELECT id, ST_AsText(location) FROM t1 WHERE location = POINT(1,
2);

View File

@@ -5,7 +5,7 @@
# SELECT/DELETE/UPDATE with =,>,< predicate conditions
# Datatypes with Procedure (IN/INOUT/OUT,Cursors,Trigger)
# Datatypes with Aggregate functions
# File Formts Compressed & Dynamic
# File Formats Compressed & Dynamic
# All Geometric functions.
#********************************************************
--source include/have_geometry.inc
@@ -93,7 +93,7 @@ INSERT into gis_geometry SELECT * FROM gis_multi_line;
INSERT into gis_geometry SELECT * FROM gis_multi_polygon;
INSERT into gis_geometry SELECT * FROM gis_geometrycollection;
--echo #check format coversion functions & spatial values
--echo #check format conversion functions & spatial values
SELECT fid, ST_AsText(g) FROM gis_point;
SELECT fid, ST_AsText(g) FROM gis_line;
SELECT fid, ST_AsText(g) FROM gis_polygon;
@@ -299,7 +299,7 @@ SET @c8=ST_GeomCollFromText('GeometryCollection(Point(1 1),LineString(2 2, 3 3))
--echo #call the proc
CALL geom_insert(@c1,@c2,@c3,@c4,@c5,@c6,@c7,@c8);
--echo #check the values ofter proc call
--echo #check the values after proc call
SELECT ST_AsText(c0) FROM tab;
SELECT ST_AsText(c2) FROM tab;
SELECT ST_AsText(c3) FROM tab;
@@ -346,7 +346,7 @@ SHOW CREATE TABLE tab2;
delimiter |;
--echo #create a tigger and populate the values into tab2
--echo #create a trigger and populate the values into tab2
CREATE TRIGGER geom_trigger AFTER INSERT ON tab
FOR EACH ROW
BEGIN

View File

@@ -151,7 +151,7 @@ INSERT INTO gis_multi_linestring VALUES
(514, ST_GEOMFROMWKB(ST_ASWKB(ST_GEOMFROMTEXT('MULTILINESTRING((0 0,10 10,-10 10,0 0),(0 0,-10 -10,10 -10,0 0))')))),
(515, ST_GEOMFROMWKB(ST_ASWKB(ST_GEOMFROMTEXT('MULTILINESTRING((0 0,0 100),(0 0,100 0),(0 0,0 -100),(0 0,-100 0))'))));
--echo # Inserting MULTIPOLGYON Geometry Values
--echo # Inserting MULTIPOLYGON Geometry Values
INSERT INTO gis_multi_polygon VALUES
(601, ST_GEOMFROMTEXT('MULTIPOLYGON(((0 0,0 5,5 5,0 0)))')),
(602, ST_GEOMFROMTEXT('MULTIPOLYGON(((0 0,0 5,5 5,0 0)),((5 5,5 10,10 10,5 5)))')),

View File

@@ -2,7 +2,7 @@
# Test spatial index with isolation level Repeatable Read on DML
# This will also test the no phantom rows happens
# Check the COUNT(*) and SELECT results before & after COMMIT in
# the last con1 statment
# the last con1 statement
# Test at con1: Global Repeatable Read con2 : Sess Read Committed
# Test at con1: Sess Repeatable Read con2 : Sess Read Committed
# *****************************************************************

View File

@@ -1,7 +1,7 @@
#*****************************************************************
# This was a Myisam testcase, converted to InnoDB
# Since Innodb does not support the spatial key, hence converted
# Orginal name of the testcase : gis_rt_precise.test
# Original name of the testcase : gis_rt_precise.test
#*****************************************************************
--source include/have_innodb.inc
-- source include/have_geometry.inc

View File

@@ -19,7 +19,7 @@ begin;
insert into t1 select @s:=1+(seq mod 9), point(@s, @s)
from seq_1_to_576;
#Check second round spliting.
#Check second round splitting.
SET @saved_dbug = @@SESSION.debug_dbug;
SET debug_dbug = '+d,rtr_page_need_second_split';
insert into t1 select @s:=1+(seq mod 9), point(@s, @s)