summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-09-30 14:53:27 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-09-30 14:53:27 +0000
commit3a3352d9963d64214e015d8b38938b85d1dfa130 (patch)
tree8c6797c52fb8f8046cfabd1cc639e80bd993a5a5 /sql
parentbf2133de02409b0f9aa497eb0ed32a3e2550ba84 (diff)
Correcting bug with multiple payment posting.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2345 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql')
-rw-r--r--sql/modules/Payment.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/modules/Payment.sql b/sql/modules/Payment.sql
index 4b45c002..8cf67901 100644
--- a/sql/modules/Payment.sql
+++ b/sql/modules/Payment.sql
@@ -477,6 +477,7 @@ BEGIN
set paid = paid + (select amount from bulk_payments_in b
where b.id = ap.id)
where id in (select id from bulk_payments_in) $E$;
+ EXECUTE $E$ DROP TABLE bulk_payments_in $E$;
perform unlock_all();
return out_count;
END;