mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-09 13:46:51 +02:00
If a query that expected no results returned an error then it would incorrectly report that no results were expected because the error was interpreted as a result. Switch the order of the checks so that an error is reported instead and add a test to prevent regression.