mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Provide Assert() for frontend code.
Per discussion on-hackers. psql is converted to use the new code. Follows a suggestion from Heikki Linnakangas.
This commit is contained in:
@@ -1160,7 +1160,7 @@ ExecQueryUsingCursor(const char *query, double *elapsed_msec)
|
||||
}
|
||||
|
||||
OK = AcceptResult(results);
|
||||
psql_assert(!OK);
|
||||
Assert(!OK);
|
||||
PQclear(results);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user