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
ea19feeb
Commit
ea19feeb
authored
Nov 25, 2009
by
Kent Boortz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move DBG_* macros to after the variable declaration section in a
block, might expand to function calls (Bug#48331)
parent
40767bf5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mysys/my_sync.c
mysys/my_sync.c
+2
-2
No files found.
mysys/my_sync.c
View file @
ea19feeb
...
@@ -103,11 +103,11 @@ static const char cur_dir_name[]= {FN_CURLIB, 0};
...
@@ -103,11 +103,11 @@ static const char cur_dir_name[]= {FN_CURLIB, 0};
int
my_sync_dir
(
const
char
*
dir_name
,
myf
my_flags
)
int
my_sync_dir
(
const
char
*
dir_name
,
myf
my_flags
)
{
{
#ifdef NEED_EXPLICIT_SYNC_DIR
#ifdef NEED_EXPLICIT_SYNC_DIR
DBUG_ENTER
(
"my_sync_dir"
);
DBUG_PRINT
(
"my"
,(
"Dir: '%s' my_flags: %d"
,
dir_name
,
my_flags
));
File
dir_fd
;
File
dir_fd
;
int
res
=
0
;
int
res
=
0
;
const
char
*
correct_dir_name
;
const
char
*
correct_dir_name
;
DBUG_ENTER
(
"my_sync_dir"
);
DBUG_PRINT
(
"my"
,(
"Dir: '%s' my_flags: %d"
,
dir_name
,
my_flags
));
/* Sometimes the path does not contain an explicit directory */
/* Sometimes the path does not contain an explicit directory */
correct_dir_name
=
(
dir_name
[
0
]
==
0
)
?
cur_dir_name
:
dir_name
;
correct_dir_name
=
(
dir_name
[
0
]
==
0
)
?
cur_dir_name
:
dir_name
;
/*
/*
...
...
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