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
f1f0de84
Commit
f1f0de84
authored
Feb 28, 2007
by
gluh@mysql.com/eagle.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
valgrind error fix
parent
c3970e73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
sql/ha_partition.cc
sql/ha_partition.cc
+6
-3
No files found.
sql/ha_partition.cc
View file @
f1f0de84
...
@@ -2261,9 +2261,12 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
...
@@ -2261,9 +2261,12 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
}
}
/* Initialise the bitmap we use to determine what partitions are used */
/* Initialise the bitmap we use to determine what partitions are used */
if
(
!
is_clone
)
{
if
(
bitmap_init
(
&
(
m_part_info
->
used_partitions
),
NULL
,
m_tot_parts
,
TRUE
))
if
(
bitmap_init
(
&
(
m_part_info
->
used_partitions
),
NULL
,
m_tot_parts
,
TRUE
))
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
bitmap_set_all
(
&
(
m_part_info
->
used_partitions
));
bitmap_set_all
(
&
(
m_part_info
->
used_partitions
));
}
/* Recalculate table flags as they may change after open */
/* Recalculate table flags as they may change after open */
m_table_flags
=
m_file
[
0
]
->
table_flags
();
m_table_flags
=
m_file
[
0
]
->
table_flags
();
...
...
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