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
3bdfe448
Commit
3bdfe448
authored
Jan 19, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warn when mysqld starts up with lower_case_table_names=2 but datadir is
on a case-sensitive filesystem. (Bug #7887)
parent
027d1ff1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
sql/mysqld.cc
sql/mysqld.cc
+11
-0
No files found.
sql/mysqld.cc
View file @
3bdfe448
...
...
@@ -2913,6 +2913,17 @@ You should consider changing lower_case_table_names to 1 or 2",
lower_case_table_names
=
2
;
}
}
else
if
(
lower_case_table_names
==
2
&&
(
test_if_case_insensitive
(
mysql_real_data_home
)
==
0
))
{
if
(
global_system_variables
.
log_warnings
)
sql_print_warning
(
"\
You have forced lower_case_table_names to 2 through a command-line \
option, even though your file system '%s' is case sensitive. This means \
that you can create a table that you can then no longer access. \
You should consider changing lower_case_table_names to 0."
,
mysql_real_data_home
);
}
select_thread
=
pthread_self
();
select_thread_in_use
=
1
;
...
...
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