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
514afa7a
Commit
514afa7a
authored
Jun 03, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPACE() is now ucs2 compatible
parent
f696135c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
sql/item_create.cc
sql/item_create.cc
+14
-1
No files found.
sql/item_create.cc
View file @
514afa7a
...
...
@@ -390,7 +390,20 @@ Item *create_func_sha(Item* a)
Item
*
create_func_space
(
Item
*
a
)
{
return
new
Item_func_repeat
(
new
Item_string
(
" "
,
1
,
default_charset_info
),
a
);
CHARSET_INFO
*
cs
=
current_thd
->
variables
.
collation_connection
;
Item
*
sp
;
if
(
cs
->
state
&
MY_CS_NONTEXT
)
{
sp
=
new
Item_string
(
""
,
0
,
cs
);
if
(
sp
)
sp
->
str_value
.
copy
(
" "
,
1
,
&
my_charset_latin1
,
cs
);
}
else
{
sp
=
new
Item_string
(
" "
,
1
,
cs
);
}
return
new
Item_func_repeat
(
sp
,
a
);
}
Item
*
create_func_soundex
(
Item
*
a
)
...
...
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