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
9a0253ff
Commit
9a0253ff
authored
Mar 14, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some default_charset_info
parent
8959b690
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
client/sql_string.cc
client/sql_string.cc
+1
-1
mysys/hash.c
mysys/hash.c
+1
-2
No files found.
client/sql_string.cc
View file @
9a0253ff
...
...
@@ -617,7 +617,7 @@ int wild_case_compare(CHARSET_INFO *cs, const char *str,const char *str_end,
{
int
result
=
-
1
;
// Not found, using wildcards
#ifdef USE_MB
bool
use_mb_flag
=
use_mb
(
default_charset_info
);
bool
use_mb_flag
=
use_mb
(
cs
);
#endif
while
(
wildstr
!=
wildend
)
{
...
...
mysys/hash.c
View file @
9a0253ff
...
...
@@ -275,10 +275,9 @@ static int hashcmp(HASH *hash,HASH_LINK *pos,const byte *key,uint length)
{
uint
rec_keylength
;
byte
*
rec_key
=
hash_key
(
hash
,
pos
->
data
,
&
rec_keylength
,
1
);
/* BAR TODO: remove default_charset_info */
return
(
length
&&
length
!=
rec_keylength
)
||
(
hash
->
flags
&
HASH_CASE_INSENSITIVE
?
my_strncasecmp
(
default_charset_info
,
rec_key
,
key
,
rec_keylength
)
:
my_strncasecmp
(
hash
->
charset
,
rec_key
,
key
,
rec_keylength
)
:
memcmp
(
rec_key
,
key
,
rec_keylength
));
}
...
...
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