Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
What's new
2
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Projects
Groups
Snippets
Sign up now
Login
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lukas W
Sqlightning
Commits
e52a9949
Commit
e52a9949
authored
Apr 18, 2015
by
ghost-83990-987689
Committed by
Lukas W
Apr 18, 2015
Browse files
btree mdb_env_set_mapsize 64 bit
parent
5a70c78c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/btree.c
View file @
e52a9949
...
...
@@ -930,7 +930,7 @@ int sqlite3BtreeMaxPageCount(Btree *p, int mxPage){
int
n
;
LOG
(
"done"
,
0
);
if
(
mxPage
>
0
)
mdb_env_set_mapsize
(
p
->
pBt
->
env
,
mxPage
*
p
->
pBt
->
env
->
me_psize
);
mdb_env_set_mapsize
(
p
->
pBt
->
env
,
(
size_t
)
mxPage
*
(
size_t
)
p
->
pBt
->
env
->
me_psize
);
return
p
->
pBt
->
env
->
me_maxpg
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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