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
ee235198
Commit
ee235198
authored
Mar 12, 2008
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed warnings.
git-svn-id:
file:///svn/tokudb@2762
c7de825b-a66e-492c-adef-691d508d4ae1
parent
7299745f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
newbrt/pma.c
newbrt/pma.c
+1
-1
No files found.
newbrt/pma.c
View file @
ee235198
...
@@ -1097,7 +1097,7 @@ int toku_pma_split(TOKULOGGER logger, FILENUM filenum,
...
@@ -1097,7 +1097,7 @@ int toku_pma_split(TOKULOGGER logger, FILENUM filenum,
n
=
spliti
;
n
=
spliti
;
// Since the new array is smaller than the old one, during recovery we need to do the resize after moving the elements.
// Since the new array is smaller than the old one, during recovery we need to do the resize after moving the elements.
// But we must actually do the resize first here so we can determine the size.
// But we must actually do the resize first here so we can determine the size.
unsigned
int
oldn_for_logging
,
newn_for_logging
;
unsigned
int
oldn_for_logging
=
0
,
newn_for_logging
=
0
;
error
=
pma_resize_array_nolog
(
pma
,
n
+
n
/
4
,
0
,
// zeros the elements
error
=
pma_resize_array_nolog
(
pma
,
n
+
n
/
4
,
0
,
// zeros the elements
&
oldn_for_logging
,
&
newn_for_logging
);
&
oldn_for_logging
,
&
newn_for_logging
);
assert
(
error
==
0
);
assert
(
error
==
0
);
...
...
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