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
d5991c13
Commit
d5991c13
authored
Mar 09, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addendum to the test for bug 51357 : disable the (possibly binary)
output from HANDLER ... READ .. NEXT ...
parent
d8eda3d2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
mysql-test/r/gis-rtree.result
mysql-test/r/gis-rtree.result
+1
-1
mysql-test/t/gis-rtree.test
mysql-test/t/gis-rtree.test
+3
-0
No files found.
mysql-test/r/gis-rtree.result
View file @
d5991c13
...
@@ -1544,8 +1544,8 @@ HANDLER t1 OPEN;
...
@@ -1544,8 +1544,8 @@ HANDLER t1 OPEN;
HANDLER t1 READ a FIRST;
HANDLER t1 READ a FIRST;
a
a
INSERT INTO t1 VALUES (GeomFromText('Polygon((40 40,60 40,60 60,40 60,40 40))'));
INSERT INTO t1 VALUES (GeomFromText('Polygon((40 40,60 40,60 60,40 60,40 40))'));
# should not crash
HANDLER t1 READ a NEXT;
HANDLER t1 READ a NEXT;
a
HANDLER t1 CLOSE;
HANDLER t1 CLOSE;
DROP TABLE t1;
DROP TABLE t1;
End of 5.0 tests.
End of 5.0 tests.
mysql-test/t/gis-rtree.test
View file @
d5991c13
...
@@ -918,7 +918,10 @@ HANDLER t1 CLOSE;
...
@@ -918,7 +918,10 @@ HANDLER t1 CLOSE;
HANDLER
t1
OPEN
;
HANDLER
t1
OPEN
;
HANDLER
t1
READ
a
FIRST
;
HANDLER
t1
READ
a
FIRST
;
INSERT
INTO
t1
VALUES
(
GeomFromText
(
'Polygon((40 40,60 40,60 60,40 60,40 40))'
));
INSERT
INTO
t1
VALUES
(
GeomFromText
(
'Polygon((40 40,60 40,60 60,40 60,40 40))'
));
--
echo
# should not crash
--
disable_result_log
HANDLER
t1
READ
a
NEXT
;
HANDLER
t1
READ
a
NEXT
;
--
enable_result_log
HANDLER
t1
CLOSE
;
HANDLER
t1
CLOSE
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
...
...
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