diff options
Diffstat (limited to 'src/exchangedb/exchange_do_batch_reserves_update.sql')
-rw-r--r-- | src/exchangedb/exchange_do_batch_reserves_update.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/exchange_do_batch_reserves_update.sql b/src/exchangedb/exchange_do_batch_reserves_update.sql index af5d358fb..05dd1876d 100644 --- a/src/exchangedb/exchange_do_batch_reserves_update.sql +++ b/src/exchangedb/exchange_do_batch_reserves_update.sql @@ -79,7 +79,7 @@ BEGIN PERFORM pg_notify(in_notify, NULL); ELSE CLOSE curs; - IF ! out_reserve_found + IF NOT in_reserve_found THEN ROLLBACK; END IF; |