002+ [007] API id should have been reset to 0 because previous query was SELECT, got API 1, SQL 1
003+ [010] API id should have been reset to 0 because previous query was SELECT, got API 1, SQL 1
008+ [027] API id should have been reset to 0 because previous query failed, got API 4, SQL 4