mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c806be33f7
SQLite3 does not recognize paths as file URIs unless the `SQLite3::Constants::Open::URI` flag is set. Therefore, without this flag, a path like "file::memory:" is interpreted as a filename, causing a "file::memory:" file to be created and used as the database. Most tests in `SQLite3TransactionTest` picked up this flag from `shared_cache_flags`, but a few did not. Because those tests were creating a file, the path was changed in #38620 such that it no longer pointed to an in-memory database. This commit restores the database path as "file::memory:" and ensures the URI flag is set whenever `in_memory_db?` is true. |
||
---|---|---|
.. | ||
collation_test.rb | ||
copy_table_test.rb | ||
explain_test.rb | ||
json_test.rb | ||
quoting_test.rb | ||
sqlite3_adapter_test.rb | ||
sqlite3_create_folder_test.rb | ||
statement_pool_test.rb | ||
transaction_test.rb |