Skip to content

Commit 03f1b4f

Browse files
committed
Fix misleading comment in assertDatabasePrerequisites
The comment incorrectly described the SQLite preload file check as a MySQL proxy check. The preload file is created by preloadSqliteIntegration or mounted via hooks — the MySQL proxy case is handled separately via the usesSqlite flag.
1 parent 8ea08f7 commit 03f1b4f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • packages/playground/wordpress/src

packages/playground/wordpress/src/boot.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,9 @@ async function assertDatabasePrerequisites(
369369
) {
370370
const php = await requestHandler.getPrimaryPhp();
371371

372-
// If a MySQL proxy is configured (usesSqlite is true in that case),
373-
// the database is handled through the proxy. Skip further checks.
372+
// If the SQLite preload file exists (installed by preloadSqliteIntegration
373+
// or mounted externally via hooks), the database integration is already
374+
// in place. Skip further checks.
374375
if (php.isFile('/internal/shared/preload/0-sqlite.php')) {
375376
return;
376377
}

0 commit comments

Comments
 (0)