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
b2fec887
Commit
b2fec887
authored
Oct 08, 2007
by
dkatz@damien-katzs-computer.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
into damien-katzs-computer.local:/Users/dkatz/mysql-5.0-runtime
parents
2885d0df
2034df15
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
sql/item.cc
sql/item.cc
+4
-0
sql/set_var.cc
sql/set_var.cc
+0
-1
No files found.
sql/item.cc
View file @
b2fec887
...
@@ -4363,12 +4363,14 @@ Field *Item::tmp_table_field_from_field_type(TABLE *table)
...
@@ -4363,12 +4363,14 @@ Field *Item::tmp_table_field_from_field_type(TABLE *table)
return
new
Field_blob
(
max_length
,
maybe_null
,
name
,
table
,
return
new
Field_blob
(
max_length
,
maybe_null
,
name
,
table
,
collation
.
collation
);
collation
.
collation
);
break
;
// Blob handled outside of case
break
;
// Blob handled outside of case
#ifdef HAVE_SPATIAL
case
MYSQL_TYPE_GEOMETRY
:
case
MYSQL_TYPE_GEOMETRY
:
return
new
Field_geom
(
max_length
,
maybe_null
,
name
,
table
,
return
new
Field_geom
(
max_length
,
maybe_null
,
name
,
table
,
(
Field
::
geometry_type
)
(
Field
::
geometry_type
)
((
type
()
==
Item
::
TYPE_HOLDER
)
?
((
type
()
==
Item
::
TYPE_HOLDER
)
?
((
Item_type_holder
*
)
this
)
->
get_geometry_type
()
:
((
Item_type_holder
*
)
this
)
->
get_geometry_type
()
:
((
Item_geometry_func
*
)
this
)
->
get_geometry_type
()));
((
Item_geometry_func
*
)
this
)
->
get_geometry_type
()));
#endif
/* HAVE_SPATIAL */
}
}
}
}
...
@@ -6488,10 +6490,12 @@ Item_type_holder::Item_type_holder(THD *thd, Item *item)
...
@@ -6488,10 +6490,12 @@ Item_type_holder::Item_type_holder(THD *thd, Item *item)
if
(
Field
::
result_merge_type
(
fld_type
)
==
INT_RESULT
)
if
(
Field
::
result_merge_type
(
fld_type
)
==
INT_RESULT
)
decimals
=
0
;
decimals
=
0
;
prev_decimal_int_part
=
item
->
decimal_int_part
();
prev_decimal_int_part
=
item
->
decimal_int_part
();
#ifdef HAVE_SPATIAL
if
(
item
->
field_type
()
==
MYSQL_TYPE_GEOMETRY
)
if
(
item
->
field_type
()
==
MYSQL_TYPE_GEOMETRY
)
geometry_type
=
(
item
->
type
()
==
Item
::
FIELD_ITEM
)
?
geometry_type
=
(
item
->
type
()
==
Item
::
FIELD_ITEM
)
?
((
Item_field
*
)
item
)
->
get_geometry_type
()
:
((
Item_field
*
)
item
)
->
get_geometry_type
()
:
(
Field
::
geometry_type
)((
Item_geometry_func
*
)
item
)
->
get_geometry_type
();
(
Field
::
geometry_type
)((
Item_geometry_func
*
)
item
)
->
get_geometry_type
();
#endif
/* HAVE_SPATIAL */
}
}
...
...
sql/set_var.cc
View file @
b2fec887
...
@@ -784,7 +784,6 @@ sys_var *sys_variables[]=
...
@@ -784,7 +784,6 @@ sys_var *sys_variables[]=
&
sys_innodb_max_purge_lag
,
&
sys_innodb_max_purge_lag
,
&
sys_innodb_table_locks
,
&
sys_innodb_table_locks
,
&
sys_innodb_support_xa
,
&
sys_innodb_support_xa
,
&
sys_innodb_max_purge_lag
,
&
sys_innodb_autoextend_increment
,
&
sys_innodb_autoextend_increment
,
&
sys_innodb_sync_spin_loops
,
&
sys_innodb_sync_spin_loops
,
&
sys_innodb_concurrency_tickets
,
&
sys_innodb_concurrency_tickets
,
...
...
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