RESOLVED DUPLICATE of bug 259284 259312
Fix SQLiteDatabase::turnOnIncrementalAutoVacuum()
https://bugs.webkit.org/show_bug.cgi?id=259312
Summary Fix SQLiteDatabase::turnOnIncrementalAutoVacuum()
Ben Nham
Reported 2023-07-18 11:14:06 PDT
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
Ben Nham
Comment 1 2023-07-18 11:15:31 PDT
*** This bug has been marked as a duplicate of bug 259284 ***
Note You need to log in before you can comment on or make changes to this bug.