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
b290744c
Commit
b290744c
authored
Feb 09, 2006
by
pappa@c-9a08e253.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 fixes
parent
dd595595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/sql_partition.cc
sql/sql_partition.cc
+3
-2
No files found.
sql/sql_partition.cc
View file @
b290744c
...
...
@@ -5181,7 +5181,7 @@ write_log_dropped_partitions(ALTER_PARTITION_PARAM_TYPE *lpt,
char
tmp_path
[
FN_LEN
];
List_iterator
<
partition_element
>
part_it
(
part_info
->
partitions
);
uint
no_elements
=
part_info
->
partitions
.
elements
;
uint
i
;
uint
i
=
0
;
DBUG_ENTER
(
"write_log_dropped_partitions"
);
table_log_entry
.
action_type
=
'd'
;
...
...
@@ -5195,6 +5195,7 @@ write_log_dropped_partitions(ALTER_PARTITION_PARAM_TYPE *lpt,
{
List_iterator
<
partition_element
>
sub_it
(
part_elem
->
subpartitions
);
uint
no_subparts
=
part_info
->
no_subparts
;
uint
j
=
0
;
do
{
partition_element
*
sub_elem
=
sub_it
++
;
...
...
@@ -5212,7 +5213,7 @@ write_log_dropped_partitions(ALTER_PARTITION_PARAM_TYPE *lpt,
}
*
next_entry
=
log_entry
->
entry_pos
;
insert_part_info_log_entry_list
(
part_info
,
log_entry
);
}
while
(
++
i
<
no_subparts
);
}
while
(
++
j
<
no_subparts
);
}
else
{
...
...
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