[webkit-changes] [WebKit/WebKit] 722cf9: Make SQLiteTransaction notify SQLiteDatabaseTracke...

bnham noreply at github.com
Mon Jul 10 14:35:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 722cf9996ceb152c7dfb9ba23235d0e456d29295
      https://github.com/WebKit/WebKit/commit/722cf9996ceb152c7dfb9ba23235d0e456d29295
  Author: Ben Nham <nham at apple.com>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

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

  Log Message:
  -----------
  Make SQLiteTransaction notify SQLiteDatabaseTracker on macOS
https://bugs.webkit.org/show_bug.cgi?id=259062
rdar://112027513

Reviewed by Chris Dumez and Brent Fulgham.

In 265791 at main we enabled SQLiteDatabaseTracker on macOS, but it still does nothing because
SQLiteTransaction doesn't notify it. Change SQLiteTransaction to notify the tracker about ongoing
transactions on macOS as well.

* Source/WebCore/platform/sql/SQLiteTransaction.cpp:
(WebCore::SQLiteTransaction::begin):
(WebCore::SQLiteTransaction::commit):
(WebCore::SQLiteTransaction::rollback):
(WebCore::SQLiteTransaction::stop):

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




More information about the webkit-changes mailing list