Bug 259312
| Summary: | Fix SQLiteDatabase::turnOnIncrementalAutoVacuum() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Nham <nham> |
| Component: | Website Storage | Assignee: | Ben Nham <nham> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | sihui_liu |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ben Nham
PulkoMandy from the Haiku port found that turnOnIncrementalAutoVacuum is broken again on trunk due to 258673@main. (It was previously fixed in 241334@main.) The issue is that we need to call lastError() before finalizing the auto_vacuum statement rather than before. Otherwise lastError() returns the return code from the sqlite3_finalize that destroyed the statement rather than the sqlite3_step that enabled auto-vacuum.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ben Nham
*** This bug has been marked as a duplicate of bug 259284 ***