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
9755e44f
Commit
9755e44f
authored
Mar 24, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item_strfunc.cc:
The result didn't return proper collation
parent
d37ebc34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
sql/item_strfunc.cc
sql/item_strfunc.cc
+4
-1
No files found.
sql/item_strfunc.cc
View file @
9755e44f
...
@@ -1663,13 +1663,16 @@ longlong Item_func_elt::val_int()
...
@@ -1663,13 +1663,16 @@ longlong Item_func_elt::val_int()
String
*
Item_func_elt
::
val_str
(
String
*
str
)
String
*
Item_func_elt
::
val_str
(
String
*
str
)
{
{
uint
tmp
;
uint
tmp
;
String
*
res
;
if
((
tmp
=
(
uint
)
item
->
val_int
())
==
0
||
tmp
>
arg_count
)
if
((
tmp
=
(
uint
)
item
->
val_int
())
==
0
||
tmp
>
arg_count
)
{
{
null_value
=
1
;
null_value
=
1
;
return
NULL
;
return
NULL
;
}
}
null_value
=
0
;
null_value
=
0
;
return
args
[
tmp
-
1
]
->
val_str
(
str
);
res
=
args
[
tmp
-
1
]
->
val_str
(
str
);
res
->
set_charset
(
charset
());
return
res
;
}
}
...
...
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