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
90d1e58e
Commit
90d1e58e
authored
Jul 02, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-22941: Fix the DBUG_ENTER name
parent
41b0d98e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/sql_show.cc
sql/sql_show.cc
+4
-4
No files found.
sql/sql_show.cc
View file @
90d1e58e
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates.
Copyright (c) 2009, 20
17
, MariaDB
Copyright (c) 2009, 20
20
, MariaDB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -4962,16 +4962,16 @@ bool store_schema_shemata(THD* thd, TABLE *table, LEX_STRING *db_name,
*/
static
bool
verify_database_directory_exists
(
const
LEX_STRING
&
dbname
)
{
DBUG_ENTER
(
"veri
ty_database
_exists"
);
DBUG_ENTER
(
"veri
fy_database_directory
_exists"
);
char
path
[
FN_REFLEN
+
16
];
uint
path_len
;
MY_STAT
stat_info
;
if
(
!
dbname
.
str
[
0
])
DBUG_RETURN
(
true
);
// Empty database name: does not exi
ts
.
DBUG_RETURN
(
true
);
// Empty database name: does not exi
st
.
path_len
=
build_table_filename
(
path
,
sizeof
(
path
)
-
1
,
dbname
.
str
,
""
,
""
,
0
);
path
[
path_len
-
1
]
=
0
;
if
(
!
mysql_file_stat
(
key_file_misc
,
path
,
&
stat_info
,
MYF
(
0
)))
DBUG_RETURN
(
true
);
// The database directory was not found: does not exist
s
.
DBUG_RETURN
(
true
);
// The database directory was not found: does not exist.
DBUG_RETURN
(
false
);
// The database directory was found.
}
...
...
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