Skip to content

Use the new SQLite driver loader file when available#20

Merged
JanJakes merged 1 commit intomainfrom
sqlite-loader
Feb 27, 2026
Merged

Use the new SQLite driver loader file when available#20
JanJakes merged 1 commit intomainfrom
sqlite-loader

Conversation

@JanJakes
Copy link
Contributor

@JanJakes JanJakes commented Feb 24, 2026

Summary

  • The new SQLite driver now exposes wp-pdo-mysql-on-sqlite.php as a single entry point for loading. When the file is present, use it instead of manually requiring individual driver files.
  • Falls back to the existing manual requires for older driver versions that don't ship the loader file.

This is needed so that the new driver files in the SQLite repository can be reorganized into a monorepo-like structure.

@JanJakes JanJakes changed the base branch from main to fix/composer-dependency-conflict February 24, 2026 14:49
Base automatically changed from fix/composer-dependency-conflict to main February 24, 2026 20:58
The new SQLite driver now exposes wp-pdo-mysql-on-sqlite.php as a
single entry point. Use it when present, falling back to the manual
requires for older versions.
@JanJakes JanJakes requested a review from a team February 27, 2026 09:55
Copy link
Member

@sejas sejas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, and safe.
The new loader reference a file that lives in the plugin repo https://github.com/WordPress/sqlite-database-integration/blob/065098384942af69af20de89f95ee0a99fd1170b/wp-pdo-mysql-on-sqlite.php

@JanJakes JanJakes merged commit 2636429 into main Feb 27, 2026
54 checks passed
@JanJakes JanJakes deleted the sqlite-loader branch February 27, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants