[webkit-changes] [WebKit/WebKit] b182e9: SQLiteDatabase should try to set RunningBoard file...
Chris Dumez
noreply at github.com
Tue Jul 11 13:03:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b182e96083de03417b61e77e60483b4a47c8eef7
https://github.com/WebKit/WebKit/commit/b182e96083de03417b61e77e60483b4a47c8eef7
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-07-11 (Tue, 11 Jul 2023)
Changed paths:
M Source/WebCore/platform/sql/SQLiteDatabase.cpp
M Source/WebCore/platform/sql/SQLiteFileSystem.cpp
M Source/WebCore/platform/sql/SQLiteFileSystem.h
Log Message:
-----------
SQLiteDatabase should try to set RunningBoard file attribute on all database files, not just the main one
https://bugs.webkit.org/show_bug.cgi?id=259117
rdar://97212284
Reviewed by Ben Nham.
SQLiteDatabase should try to set RunningBoard file attribute on all database
files, not just the main one.
This is a follow-up to 265951 at main. This is not perfect this we don't control
when the `-shm` file will be created for example. However, this is a best
effort until we have something better (like an API from SQLite).
* Source/WebCore/platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::open):
* Source/WebCore/platform/sql/SQLiteFileSystem.cpp:
(WebCore::SQLiteFileSystem::setCanSuspendLockedFileAttribute):
* Source/WebCore/platform/sql/SQLiteFileSystem.h:
Canonical link: https://commits.webkit.org/265962@main
More information about the webkit-changes
mailing list