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
645b4862
Commit
645b4862
authored
15 years ago
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merged 5.0-bugteam -> 5.1-bugteam
parents
8c25823f
8d16eb71
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
35 deletions
+4
-35
mysql-test/r/lowercase_utf8.result
mysql-test/r/lowercase_utf8.result
+0
-9
mysql-test/t/lowercase_utf8-master.opt
mysql-test/t/lowercase_utf8-master.opt
+0
-4
mysql-test/t/lowercase_utf8.test
mysql-test/t/lowercase_utf8.test
+0
-9
sql/sql_show.cc
sql/sql_show.cc
+4
-13
No files found.
mysql-test/r/lowercase_utf8.result
deleted
100644 → 0
View file @
8c25823f
set names utf8;
create table `Ö` (id int);
show tables from test like 'Ö';
Tables_in_test (Ö)
ö
show tables from test like 'ö';
Tables_in_test (ö)
ö
drop table `Ö`;
This diff is collapsed.
Click to expand it.
mysql-test/t/lowercase_utf8-master.opt
deleted
100644 → 0
View file @
8c25823f
--lower-case-table-names=1 --character-set-server=utf8
This diff is collapsed.
Click to expand it.
mysql-test/t/lowercase_utf8.test
deleted
100644 → 0
View file @
8c25823f
#
# Bug#25830 SHOW TABLE STATUS behaves differently depending on table name
#
set
names
utf8
;
create
table
`Ö`
(
id
int
);
show
tables
from
test
like
'Ö'
;
show
tables
from
test
like
'ö'
;
drop
table
`Ö`
;
This diff is collapsed.
Click to expand it.
sql/sql_show.cc
View file @
645b4862
...
...
@@ -468,17 +468,11 @@ find_files(THD *thd, List<LEX_STRING> *files, const char *db,
#ifndef NO_EMBEDDED_ACCESS_CHECKS
uint
col_access
=
thd
->
col_access
;
#endif
uint
wild_length
=
0
;
TABLE_LIST
table_list
;
DBUG_ENTER
(
"find_files"
);
if
(
wild
)
{
if
(
!
wild
[
0
])
wild
=
0
;
else
wild_length
=
strlen
(
wild
);
}
if
(
wild
&&
!
wild
[
0
])
wild
=
0
;
bzero
((
char
*
)
&
table_list
,
sizeof
(
table_list
));
...
...
@@ -543,11 +537,8 @@ find_files(THD *thd, List<LEX_STRING> *files, const char *db,
{
if
(
lower_case_table_names
)
{
if
(
my_wildcmp
(
files_charset_info
,
uname
,
uname
+
file_name_len
,
wild
,
wild
+
wild_length
,
wild_prefix
,
wild_one
,
wild_many
))
continue
;
if
(
wild_case_compare
(
files_charset_info
,
uname
,
wild
))
continue
;
}
else
if
(
wild_compare
(
uname
,
wild
,
0
))
continue
;
...
...
This diff is collapsed.
Click to expand it.
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