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
53484855
Commit
53484855
authored
Oct 04, 2004
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_show.cc:
ctype_recode does not hang anymore. Small fix after Marko's change.
parent
e554888b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_show.cc
sql/sql_show.cc
+2
-2
No files found.
sql/sql_show.cc
View file @
53484855
...
@@ -1136,7 +1136,7 @@ static const char *require_quotes(const char *name, uint name_length)
...
@@ -1136,7 +1136,7 @@ static const char *require_quotes(const char *name, uint name_length)
for
(
;
name
<
end
;
name
++
)
for
(
;
name
<
end
;
name
++
)
{
{
uchar
chr
=
(
uchar
)
*
name
;
uchar
chr
=
(
uchar
)
*
name
;
length
=
my_mbcharlen
(
system_charset_info
,
chr
);
length
=
my_mbcharlen
(
system_charset_info
,
(
uchar
)
chr
);
if
(
length
==
1
&&
!
system_charset_info
->
ident_map
[
chr
])
if
(
length
==
1
&&
!
system_charset_info
->
ident_map
[
chr
])
return
name
;
return
name
;
}
}
...
@@ -1165,7 +1165,7 @@ append_identifier(THD *thd, String *packet, const char *name, uint length)
...
@@ -1165,7 +1165,7 @@ append_identifier(THD *thd, String *packet, const char *name, uint length)
for
(
name_end
=
name
+
length
;
name
<
name_end
;
name
+=
length
)
for
(
name_end
=
name
+
length
;
name
<
name_end
;
name
+=
length
)
{
{
char
chr
=
*
name
;
char
chr
=
*
name
;
length
=
my_mbcharlen
(
system_charset_info
,
chr
);
length
=
my_mbcharlen
(
system_charset_info
,
(
uchar
)
chr
);
if
(
length
==
1
&&
chr
==
quote_char
)
if
(
length
==
1
&&
chr
==
quote_char
)
packet
->
append
(
&
quote_char
,
1
,
system_charset_info
);
packet
->
append
(
&
quote_char
,
1
,
system_charset_info
);
packet
->
append
(
name
,
length
,
packet
->
charset
());
packet
->
append
(
name
,
length
,
packet
->
charset
());
...
...
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