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
2ff3f487
Commit
2ff3f487
authored
Mar 30, 2004
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix for the error message when database can not be dropped due to
the extra files being present.
parent
ff5cbb79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
sql/sql_db.cc
sql/sql_db.cc
+6
-1
No files found.
sql/sql_db.cc
View file @
2ff3f487
...
@@ -325,7 +325,12 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
...
@@ -325,7 +325,12 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
If the directory is a symbolic link, remove the link first, then
If the directory is a symbolic link, remove the link first, then
remove the directory the symbolic link pointed at
remove the directory the symbolic link pointed at
*/
*/
if
(
!
found_other_files
)
if
(
found_other_files
)
{
my_error
(
ER_DB_DROP_RMDIR
,
MYF
(
0
),
org_path
,
EEXIST
);
DBUG_RETURN
(
-
1
);
}
else
{
{
char
tmp_path
[
FN_REFLEN
],
*
pos
;
char
tmp_path
[
FN_REFLEN
],
*
pos
;
char
*
path
=
tmp_path
;
char
*
path
=
tmp_path
;
...
...
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