SQLite Forum

how can i simulate the failure of sqlite3_open(":memory:", &sqlite_db)?
Login
Is there a way to simulate the failure of ```sqlite3_open(":memory:", &sqlite_db)```  i.e return not equal to ```SQLITE_OK```?

I need the failure for testing purposes.