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
cbcb418f
Commit
cbcb418f
authored
Apr 19, 2007
by
dkatz@damien-katzs-computer.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #25761 Table is partially created when disk is full, causing database corruption
parent
587cc24f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
mysys/my_copy.c
mysys/my_copy.c
+6
-1
No files found.
mysys/my_copy.c
View file @
cbcb418f
...
@@ -111,6 +111,11 @@ int my_copy(const char *from, const char *to, myf MyFlags)
...
@@ -111,6 +111,11 @@ int my_copy(const char *from, const char *to, myf MyFlags)
err:
err:
if
(
from_file
>=
0
)
VOID
(
my_close
(
from_file
,
MyFlags
));
if
(
from_file
>=
0
)
VOID
(
my_close
(
from_file
,
MyFlags
));
if
(
to_file
>=
0
)
VOID
(
my_close
(
to_file
,
MyFlags
));
if
(
to_file
>=
0
)
{
VOID
(
my_close
(
to_file
,
MyFlags
));
/* attempt to delete the to-file we've partially written */
VOID
(
my_delete
(
to
,
MyFlags
));
}
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
-
1
);
}
/* my_copy */
}
/* my_copy */
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