Skip to content

Conversation

MasterOdin
Copy link
Member

PR adds a SQLiteAdapter::isMemory helper function to check if we are using an in-memory database, unifying the three places we check to have same logic.

This does also "fix" a potential warning (as shown in #2335) where if you leave off name and memory, but did provide pdo, you'd get a warning about $options['name'] being empty. Won't hit that anymore, though I think it's still good to encourage people to always use name as it is important for other adapters.

@MasterOdin MasterOdin merged commit 6f0ec12 into 0.x Dec 14, 2024
12 checks passed
@MasterOdin MasterOdin deleted the ref-sqlite-memory branch December 14, 2024 19:15
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.

1 participant