Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0f40f150
Commit
0f40f150
authored
Mar 18, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge abarkov@build.mysql.com:/home/bk/mysql-4.1
into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
parents
8103c4c5
0ccb7c37
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
206 additions
and
311 deletions
+206
-311
mysql-test/r/gis-rtree.result
mysql-test/r/gis-rtree.result
+202
-304
mysql-test/t/gis-rtree.test
mysql-test/t/gis-rtree.test
+4
-7
No files found.
mysql-test/r/gis-rtree.result
View file @
0f40f150
This diff is collapsed.
Click to expand it.
mysql-test/t/gis-rtree.test
View file @
0f40f150
...
...
@@ -23,10 +23,8 @@ while ($1)
}
SELECT
count
(
*
)
FROM
t1
;
EXPLAIN
SELECT
fid
,
AsText
(
g
)
FROM
t1
WHERE
Within
(
g
,
GeomFromText
(
'Polygon((140 140,160 140,160 160,140 160,140 140))'
));
SELECT
fid
,
AsText
(
g
)
FROM
t1
WHERE
Within
(
g
,
GeomFromText
(
'Polygon((140 140,160 140,160 160,140 160,140 140))'
));
EXPLAIN
SELECT
fid
,
AsText
(
g
)
FROM
t1
WHERE
Within
(
g
,
GeomFromText
(
'Polygon((140 140,160 140,160 160,140 160,140 140))'
));
SELECT
fid
,
AsText
(
g
)
FROM
t1
WHERE
Within
(
g
,
GeomFromText
(
'Polygon((140 140,160 140,160 160,140 160,140 140))'
));
DROP
TABLE
t1
;
...
...
@@ -41,8 +39,7 @@ while ($1)
let
$
2
=
10
;
while
(
$
2
)
{
eval
INSERT
INTO
t2
(
g
)
VALUES
(
LineString
(
Point
(
$
1
*
10
-
9
,
$
2
*
10
-
9
),
Point
(
$
1
*
10
,
$
2
*
10
)));
eval
INSERT
INTO
t2
(
g
)
VALUES
(
GeometryFromWKB
(
LineString
(
Point
(
$
1
*
10
-
9
,
$
2
*
10
-
9
),
Point
(
$
1
*
10
,
$
2
*
10
))));
dec
$
2
;
}
dec
$
1
;
...
...
@@ -62,7 +59,7 @@ while ($1)
let
$
2
=
10
;
while
(
$
2
)
{
eval
DELETE
FROM
t2
WHERE
Within
(
g
,
Envelope
(
LineString
(
Point
(
$
1
*
10
-
9
,
$
2
*
10
-
9
),
Point
(
$
1
*
10
,
$
2
*
10
))));
eval
DELETE
FROM
t2
WHERE
Within
(
g
,
Envelope
(
GeometryFromWKB
(
LineString
(
Point
(
$
1
*
10
-
9
,
$
2
*
10
-
9
),
Point
(
$
1
*
10
,
$
2
*
10
)
))));
SELECT
count
(
*
)
FROM
t2
;
dec
$
2
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment