Closed
Bug 752431
Opened 13 years ago
Closed 12 years ago
FileHandle: Support 64 bit file sizes
Categories
(Core :: Storage: IndexedDB, defect)
Core
Storage: IndexedDB
Tracking
()
RESOLVED
FIXED
People
(Reporter: janv, Unassigned)
References
Details
Per https://bugzilla.mozilla.org/show_bug.cgi?id=726593#c33
@@ +58,5 @@
> + default:
> + whence = -1;
> + }
> +
> + int rc = sqlite3_quota_fseek(mQuotaFile, aOffset, whence);
This will truncate aOffset. Need to NS_ENSURE that aOffset < PR_INT32_MAX, and we need to make sure we don't deal with bigger sizes anywhere else in this code.
We probably should file a bug to update this all to handle 64bit file sizes, and we need to get the sqlite guys to change their api to do it.
Reporter | ||
Comment 1•12 years ago
|
||
This won't be an issue once the initial quota manager lands, bug 787804
Depends on: 787804
Reporter | ||
Comment 2•12 years ago
|
||
We no longer use sqlite3_quota_* API. The streams introduced in bug 787804 should support 64 bit file sizes just fine.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•