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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
093789aa
Commit
093789aa
authored
Aug 27, 2005
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gis.test corrected with Pem's wishes
parent
23a51871
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
mysql-test/r/gis.result
mysql-test/r/gis.result
+2
-1
mysql-test/t/gis.test
mysql-test/t/gis.test
+3
-0
No files found.
mysql-test/r/gis.result
View file @
093789aa
...
...
@@ -670,10 +670,11 @@ create trigger t1_bu before update on t1 for each row set new.s1 = null;
insert into t1 values (null,null);
ERROR 23000: Column 's1' cannot be null
drop table t1;
drop procedure if exists fn3;
create function fn3 () returns point return GeomFromText("point(1 1)");
show create function fn3;
Function sql_mode Create Function
fn3 CREATE FUNCTION `
test`.`
fn3`() RETURNS point
fn3 CREATE FUNCTION `fn3`() RETURNS point
return GeomFromText("point(1 1)")
select astext(fn3());
astext(fn3())
...
...
mysql-test/t/gis.test
View file @
093789aa
...
...
@@ -387,6 +387,9 @@ drop table t1;
#
# Bug #10499 (function creation with GEOMETRY datatype)
#
--
disable_warnings
drop
procedure
if
exists
fn3
;
--
enable_warnings
create
function
fn3
()
returns
point
return
GeomFromText
(
"point(1 1)"
);
show
create
function
fn3
;
select
astext
(
fn3
());
...
...
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