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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c9085e51
Commit
c9085e51
authored
Apr 19, 2006
by
mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL2826: Error handling of ALTER TABLE for partitioning
Actual error reported in my_errno from my_delete
parent
dd257b22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/sql_table.cc
sql/sql_table.cc
+3
-3
No files found.
sql/sql_table.cc
View file @
c9085e51
...
...
@@ -550,13 +550,13 @@ static bool init_ddl_log()
FALSE Success
*/
static
bool
execute_ddl_log_action
(
THD
*
thd
,
DDL_LOG_ENTRY
*
ddl_log_entry
)
static
int
execute_ddl_log_action
(
THD
*
thd
,
DDL_LOG_ENTRY
*
ddl_log_entry
)
{
bool
frm_action
=
FALSE
;
LEX_STRING
handler_name
;
handler
*
file
=
NULL
;
MEM_ROOT
mem_root
;
bool
error
=
TRUE
;
int
error
=
TRUE
;
char
to_path
[
FN_REFLEN
];
char
from_path
[
FN_REFLEN
];
char
*
par_ext
=
(
char
*
)
".par"
;
...
...
@@ -602,7 +602,7 @@ static bool execute_ddl_log_action(THD *thd, DDL_LOG_ENTRY *ddl_log_entry)
strxmov
(
to_path
,
ddl_log_entry
->
name
,
reg_ext
,
NullS
);
if
((
error
=
my_delete
(
to_path
,
MYF
(
MY_WME
))))
{
if
(
error
!=
ENOENT
)
if
(
my_errno
!=
ENOENT
)
break
;
}
#ifdef WITH_PARTITION_STORAGE_ENGINE
...
...
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