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
dafc2c7a
Commit
dafc2c7a
authored
Feb 14, 2006
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-review fix (WL#2987)
parent
36715c70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
sql/sql_partition.cc
sql/sql_partition.cc
+4
-7
No files found.
sql/sql_partition.cc
View file @
dafc2c7a
...
@@ -3641,14 +3641,11 @@ void prune_partition_set(const TABLE *table, part_id_range *part_spec)
...
@@ -3641,14 +3641,11 @@ void prune_partition_set(const TABLE *table, part_id_range *part_spec)
part_spec
->
start_part
=
i
;
part_spec
->
start_part
=
i
;
last_partition
=
i
;
last_partition
=
i
;
}
}
else
{
if
(
last_partition
==
-
1
)
/* No partition found in pruned bitmap yet */
part_spec
->
start_part
=
i
+
1
;
}
}
}
if
(
last_partition
==
-
1
)
if
(
last_partition
!=
-
1
)
/* No partition found in pruned bitmap */
part_spec
->
start_part
=
part_spec
->
end_part
+
1
;
else
//if (last_partition != -1)
part_spec
->
end_part
=
last_partition
;
part_spec
->
end_part
=
last_partition
;
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
...
...
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