support nested txns in ShadowSQLiteDatabase