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
635b0a9d
Commit
635b0a9d
authored
Apr 01, 2006
by
mikron@c-2509e253.1238-1-64736c10.cust.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL 2826: Error handling of ALTER TABLE for partitioning
More review fixes
parent
f8088c18
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
111 additions
and
55 deletions
+111
-55
sql/mysql_priv.h
sql/mysql_priv.h
+6
-0
sql/sql_partition.cc
sql/sql_partition.cc
+2
-1
sql/sql_table.cc
sql/sql_table.cc
+103
-54
No files found.
sql/mysql_priv.h
View file @
635b0a9d
...
...
@@ -1266,6 +1266,12 @@ typedef struct st_ddl_log_entry
uint
entry_pos
;
enum
ddl_log_entry_code
entry_type
;
enum
ddl_log_action_code
action_type
;
/*
Most actions have only one phase. REPLACE does however have two
phases. The first phase removes the file with the new name if
there was one there before and the second phase renames the
old name to the new name.
*/
char
phase
;
}
DDL_LOG_ENTRY
;
...
...
sql/sql_partition.cc
View file @
635b0a9d
...
...
@@ -5634,7 +5634,8 @@ static void write_log_completed(ALTER_PARTITION_PARAM_TYPE *lpt,
Failed to write, Bad...
We have completed the operation but have log records to REMOVE
stuff that shouldn't be removed. What clever things could one do
here?
here? An error output was written to the error output by the
above method so we don't do anything here.
*/
;
}
...
...
sql/sql_table.cc
View file @
635b0a9d
This diff is collapsed.
Click to expand it.
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