Implemented as part of ENG-10603
This is native-specific and should be placed in the shared SQLiteQueryExecutor. It should also be executed only once, as this is more of a connectionManager responsibility than SQLiteQueryExecutor—in the previous implementation, there was a bug; this code was executed as many times as many threads were using the database.
Depends on D14737