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
64e63131
Commit
64e63131
authored
Apr 14, 2017
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving implementation of Item_hybrid_func::fix_attributes() from item_cmpfunc.cc to item_func.cc
parent
45730fb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+0
-8
sql/item_func.cc
sql/item_func.cc
+9
-0
No files found.
sql/item_cmpfunc.cc
View file @
64e63131
...
...
@@ -3315,14 +3315,6 @@ my_decimal *Item_func_coalesce::decimal_op(my_decimal *decimal_value)
}
bool
Item_hybrid_func
::
fix_attributes
(
Item
**
items
,
uint
nitems
)
{
bool
rc
=
Item_hybrid_func
::
type_handler
()
->
Item_hybrid_func_fix_attributes
(
current_thd
,
this
,
items
,
nitems
);
DBUG_ASSERT
(
!
rc
||
current_thd
->
is_error
());
return
rc
;
}
/****************************************************************************
Classes and function for the IN operator
****************************************************************************/
...
...
sql/item_func.cc
View file @
64e63131
...
...
@@ -543,6 +543,15 @@ my_decimal *Item_func::val_decimal(my_decimal *decimal_value)
}
bool
Item_hybrid_func
::
fix_attributes
(
Item
**
items
,
uint
nitems
)
{
bool
rc
=
Item_hybrid_func
::
type_handler
()
->
Item_hybrid_func_fix_attributes
(
current_thd
,
this
,
items
,
nitems
);
DBUG_ASSERT
(
!
rc
||
current_thd
->
is_error
());
return
rc
;
}
String
*
Item_real_func
::
val_str
(
String
*
str
)
{
DBUG_ASSERT
(
fixed
==
1
);
...
...
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