Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
S
Sqlightning
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lukas W
Sqlightning
Commits
e52a9949
Commit
e52a9949
authored
Apr 18, 2015
by
Johannes Munk
Committed by
Lukas W
Apr 18, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btree mdb_env_set_mapsize 64 bit
parent
5a70c78c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/btree.c
src/btree.c
+1
-1
No files found.
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
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