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
1386274a
Commit
1386274a
authored
Nov 25, 2007
by
istruewing@stella.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge stella.local:/home2/mydev/mysql-5.1-bug26379-8
into stella.local:/home2/mydev/mysql-5.1-axmrg
parents
bd215483
3be8cf8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
mysys/my_delete.c
mysys/my_delete.c
+7
-3
No files found.
mysys/my_delete.c
View file @
1386274a
...
...
@@ -56,16 +56,20 @@ int nt_share_delete(const char *name, myf MyFlags)
ulong
cnt
;
DBUG_ENTER
(
"nt_share_delete"
);
DBUG_PRINT
(
"my"
,(
"name %s MyFlags %d"
,
name
,
MyFlags
));
for
(
cnt
=
GetTickCount
();
cnt
;
cnt
--
)
{
sprintf
(
buf
,
"%s.%08X.deleted"
,
name
,
cnt
);
if
(
MoveFile
(
name
,
buf
))
break
;
if
((
errno
=
GetLastError
())
==
ERROR_ALREADY_EXISTS
)
continue
;
/* This happened during tests with MERGE tables. */
if
(
errno
==
ERROR_ACCESS_DENIED
)
continue
;
DBUG_PRINT
(
"warning"
,
(
"Failed to rename %s to %s, errno: %d"
,
name
,
buf
,
errno
));
break
;
...
...
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