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
ac44a5f6
Commit
ac44a5f6
authored
Mar 27, 2003
by
pem@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced a couple of strcasecmps.
parent
c77699ca
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
sql/sp.cc
sql/sp.cc
+1
-1
sql/sp_head.cc
sql/sp_head.cc
+2
-2
sql/sp_pcontext.cc
sql/sp_pcontext.cc
+1
-1
No files found.
sql/sp.cc
View file @
ac44a5f6
...
...
@@ -348,7 +348,7 @@ sp_cache_functions(THD *thd, LEX *lex)
while
((
sp
=
lisp
++
))
{
if
(
strcasecmp
(
fn
,
sp
->
name
())
==
0
)
if
(
my_strcasecmp
(
system_charset_info
,
fn
,
sp
->
name
())
==
0
)
break
;
}
if
(
sp
)
...
...
sql/sp_head.cc
View file @
ac44a5f6
...
...
@@ -358,7 +358,7 @@ sp_head::restore_lex(THD *thd)
char **it;
while ((it= li++))
if (
strcasecmp(
proc, *it) == 0)
if (
my_strcasecmp(system_charset_info,
proc, *it) == 0)
break;
if (! it)
m_calls.push_back(&proc);
...
...
@@ -380,7 +380,7 @@ sp_head::restore_lex(THD *thd)
char **tb;
while ((tb= li++))
if (
strcasecmp(
tables->real_name, *tb) == 0)
if (
my_strcasecmp(system_charset_info,
tables->real_name, *tb) == 0)
break;
if (! tb)
m_tables.push_back(&tables->real_name);
...
...
sql/sp_pcontext.cc
View file @
ac44a5f6
...
...
@@ -120,7 +120,7 @@ sp_pcontext::find_label(char *name)
sp_label_t
*
lab
;
while
((
lab
=
li
++
))
if
(
strcasecmp
(
name
,
lab
->
name
)
==
0
)
if
(
my_strcasecmp
(
system_charset_info
,
name
,
lab
->
name
)
==
0
)
return
lab
;
return
NULL
;
...
...
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