Fix an sqlite3_stmt_status() problem caused by recent changs on this branch.