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
cf76884b
Commit
cf76884b
authored
Aug 18, 2006
by
holyfoot/hf@mysql.com/deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for the failing gis.test
parent
d094b5f2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
mysql-test/r/gis.result
mysql-test/r/gis.result
+1
-1
sql/item_geofunc.cc
sql/item_geofunc.cc
+5
-2
No files found.
mysql-test/r/gis.result
View file @
cf76884b
...
...
@@ -578,7 +578,7 @@ create table t1 select GeomFromWKB(POINT(1,3));
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`GeomFromWKB(POINT(1,3))` geometry NOT NULL
default
''
`GeomFromWKB(POINT(1,3))` geometry NOT NULL
DEFAULT
''
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
CREATE TABLE `t1` (`object_id` bigint(20) unsigned NOT NULL default '0', `geo`
...
...
sql/item_geofunc.cc
View file @
cf76884b
...
...
@@ -27,8 +27,11 @@
Field
*
Item_geometry_func
::
tmp_table_field
(
TABLE
*
t_arg
)
{
return
new
Field_geom
(
max_length
,
maybe_null
,
name
,
t_arg
->
s
,
(
Field
::
geometry_type
)
get_geometry_type
());
Field
*
result
;
if
((
result
=
new
Field_geom
(
max_length
,
maybe_null
,
name
,
t_arg
->
s
,
(
Field
::
geometry_type
)
get_geometry_type
())))
result
->
init
(
t_arg
);
return
result
;
}
void
Item_geometry_func
::
fix_length_and_dec
()
...
...
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