File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -5312,14 +5312,6 @@ long pg_db_result (SV *h, imp_dbh_t *imp_dbh)
53125312 /* Don't return early - let the full processing happen below */
53135313 }
53145314
5315- if (imp_sth && imp_sth -> async_status == -99 ) {
5316- pg_error (aTHX_ h , PGRES_FATAL_ERROR ,
5317- "Results for this query were discarded by PG_OLDQUERY_WAIT. "
5318- "To preserve results, call pg_result() before executing another async query.\n" );
5319- if (TEND_slow ) TRC (DBILOGFP , "%sEnd pg_db_result (error: results discarded)\n" , THEADER_slow );
5320- return -2 ;
5321- }
5322-
53235315 /* Skip async status check for auto-retrieved results and errors */
53245316 if (1 != imp_dbh -> async_status && !(imp_sth && (imp_sth -> async_status == 100 || imp_sth -> async_status == -1 ))) {
53255317 pg_error (aTHX_ h , PGRES_FATAL_ERROR , "No asynchronous query is running\n" );
You can’t perform that action at this time.
0 commit comments