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
0b3d74e4
Commit
0b3d74e4
authored
Feb 03, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WEIGHT_STRING fix: correct Item_func_weight_string::eq() method
parent
6c9272f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sql/item_strfunc.h
sql/item_strfunc.h
+9
-0
No files found.
sql/item_strfunc.h
View file @
0b3d74e4
...
...
@@ -1057,6 +1057,15 @@ public:
const
char
*
func_name
()
const
{
return
"weight_string"
;
}
String
*
val_str
(
String
*
);
void
fix_length_and_dec
();
bool
eq
(
const
Item
*
item
,
bool
binary_cmp
)
const
{
if
(
!
Item_str_func
::
eq
(
item
,
binary_cmp
))
return
false
;
Item_func_weight_string
*
that
=
(
Item_func_weight_string
*
)
item
;
return
this
->
flags
==
that
->
flags
&&
this
->
nweights
==
that
->
nweights
&&
this
->
result_length
==
that
->
result_length
;
}
};
class
Item_func_crc32
:
public
Item_int_func
...
...
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