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
bae25543
Commit
bae25543
authored
Feb 19, 2004
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_select.cc, item_cmpfunc.h:
After merge fix for collation.
parent
e720c2ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
sql/item_cmpfunc.h
sql/item_cmpfunc.h
+2
-0
sql/sql_select.cc
sql/sql_select.cc
+6
-0
No files found.
sql/item_cmpfunc.h
View file @
bae25543
...
...
@@ -1020,6 +1020,8 @@ class Item_equal: public Item_bool_func
bool
walk
(
Item_processor
processor
,
byte
*
arg
);
Item
*
transform
(
Item_transformer
transformer
,
byte
*
arg
);
void
print
(
String
*
str
);
CHARSET_INFO
*
compare_collation
()
{
return
fields
.
head
()
->
collation
.
collation
;
}
};
class
COND_EQUAL
...
...
sql/sql_select.cc
View file @
bae25543
...
...
@@ -4539,6 +4539,12 @@ static bool check_equality(Item *item, COND_EQUAL *cond_equal)
field_item
->
result_type
()
==
const_item
->
result_type
())
{
bool
copyfl
;
if
(
field_item
->
result_type
()
==
STRING_RESULT
&&
((
Field_str
*
)
field_item
)
->
charset
()
!=
((
Item_cond
*
)
item
)
->
compare_collation
())
return
FALSE
;
Item_equal
*
item_equal
=
find_item_equal
(
cond_equal
,
field_item
->
field
,
&
copyfl
);
if
(
copyfl
)
...
...
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