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
d1b25890
Commit
d1b25890
authored
Jul 05, 2016
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing class Item_func_integer. It's not used since MySQL-5.0.
parent
1ec91803
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
sql/item_func.cc
sql/item_func.cc
+0
-9
sql/item_func.h
sql/item_func.h
+0
-7
No files found.
sql/item_func.cc
View file @
d1b25890
...
...
@@ -2313,15 +2313,6 @@ longlong Item_func_bit_neg::val_int()
// Conversion functions
void
Item_func_integer
::
fix_length_and_dec
()
{
max_length
=
args
[
0
]
->
max_length
-
args
[
0
]
->
decimals
+
1
;
uint
tmp
=
float_length
(
decimals
);
set_if_smaller
(
max_length
,
tmp
);
decimals
=
0
;
}
void
Item_func_int_val
::
fix_length_and_dec
()
{
DBUG_ENTER
(
"Item_func_int_val::fix_length_and_dec"
);
...
...
sql/item_func.h
View file @
d1b25890
...
...
@@ -949,13 +949,6 @@ class Item_func_cot :public Item_dec_func
const
char
*
func_name
()
const
{
return
"cot"
;
}
};
class
Item_func_integer
:
public
Item_int_func
{
public:
inline
Item_func_integer
(
THD
*
thd
,
Item
*
a
)
:
Item_int_func
(
thd
,
a
)
{}
void
fix_length_and_dec
();
};
class
Item_func_int_val
:
public
Item_func_num1
{
...
...
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