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
092a2388
Commit
092a2388
authored
Oct 11, 2013
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a problem of the patch for mdev-5105 that caused valgrind complains.
parent
7c87385e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
sql/item_func.h
sql/item_func.h
+10
-7
No files found.
sql/item_func.h
View file @
092a2388
...
...
@@ -488,17 +488,20 @@ class Item_int_func :public Item_func
protected:
bool
sargable
;
public:
Item_int_func
()
:
Item_func
()
{
max_length
=
21
;
}
Item_int_func
(
Item
*
a
)
:
Item_func
(
a
)
{
max_length
=
21
;
}
Item_int_func
(
Item
*
a
,
Item
*
b
)
:
Item_func
(
a
,
b
)
{
max_length
=
21
;
}
Item_int_func
()
:
Item_func
()
{
max_length
=
21
;
sargable
=
false
;
}
Item_int_func
(
Item
*
a
)
:
Item_func
(
a
)
{
max_length
=
21
;
sargable
=
false
;
}
Item_int_func
(
Item
*
a
,
Item
*
b
)
:
Item_func
(
a
,
b
)
{
max_length
=
21
;
sargable
=
false
;
}
Item_int_func
(
Item
*
a
,
Item
*
b
,
Item
*
c
)
:
Item_func
(
a
,
b
,
c
)
{
max_length
=
21
;
}
Item_int_func
(
List
<
Item
>
&
list
)
:
Item_func
(
list
)
{
max_length
=
21
;
}
Item_int_func
(
THD
*
thd
,
Item_int_func
*
item
)
:
Item_func
(
thd
,
item
)
{}
{
max_length
=
21
;
sargable
=
false
;
}
Item_int_func
(
List
<
Item
>
&
list
)
:
Item_func
(
list
)
{
max_length
=
21
;
sargable
=
false
;
}
Item_int_func
(
THD
*
thd
,
Item_int_func
*
item
)
:
Item_func
(
thd
,
item
)
{
sargable
=
false
;}
double
val_real
();
String
*
val_str
(
String
*
str
);
enum
Item_result
result_type
()
const
{
return
INT_RESULT
;
}
void
fix_length_and_dec
()
{
sargable
=
false
;
}
void
fix_length_and_dec
()
{}
bool
count_sargable_conds
(
uchar
*
arg
);
};
...
...
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