You could have a tmp sqlite_db variable and just assign sqlite_db_ at the end.