I'm working with unit/integration tests and SQLite doesn't support completely certain SQL features (like RIGHT JOIN and FULL OUTER JOIN). Is there any way to work with MySQL (or MariaDB) where the contents of a database are completely stored in memory?
MySQL has MEMORY table engine, however, this table engine still may generate inconsistency in my tests. What I need is some alternative to :memory: from SQLite but with the same features as MySQL.
Edit:
To be more specific, my problem is related to the performance of the unit/integration tests. Several tutorials indicate using SQLite with database in-memory to speed up the testing process, however, some queries in my application aren't compatible with SQLite. I also do not find it a good practice to do the tests in SQLite if the production database is MariaDB.
My question is whether there is any alternative to testing in MySQL/MariaDB that works the same way as the SQLite :memory: option.
FULL OUTER JOIN
, but it can be easily simulated. – Rick James