[webkit-changes] [WebKit/WebKit] 8217dc: Fix potential VACCUM error by counting destructor

Ahmad Saleem noreply at github.com
Mon Jan 9 10:33:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8217dce03e25ceeb5f3099840fddd6660d5feb5b
      https://github.com/WebKit/WebKit/commit/8217dce03e25ceeb5f3099840fddd6660d5feb5b
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M Source/WebCore/platform/sql/SQLiteDatabase.cpp

  Log Message:
  -----------
  Fix potential VACCUM error by counting destructor

Fix potential VACCUM error by counting destructor
https://bugs.webkit.org/show_bug.cgi?id=249598

Reviewed by Ben Nham.

This patch is to fix error where if vacuum mode is not set-up initially, it can lead to vacuum run being blocked.
This patch will fix this potential error by counting on destructor.

* Source/WebCore/platform/sql/SQLiteDatabase.cpp:
(SQLiteDatabase::turnOnIncrementalAutoVacuum): Add 'int' variable and wrap function and count on destructor on introduced variable

Canonical link: https://commits.webkit.org/258673@main




More information about the webkit-changes mailing list