Do proper checks for each individual sqlite_v2 function