Feature request: [ 1614574 ] Port sqlj functions to pl/pgsql

Fixed two typos (Blush).
This commit is contained in:
kontro 2007-01-28 20:54:45 +00:00
parent d750bd5903
commit 044def8767
1 changed files with 2 additions and 2 deletions

View File

@ -56,10 +56,10 @@ $$
IF accSign = "N" AND accType NOT IN ("A", "E") THEN
--If account sign is natural and account type not asset or expense
--mark sign to be credit.
accSign = "C";
accSign := "C";
END IF;
END IF;
IF accSign == 'C' THEN
IF accSign = 'C' THEN
RETURN (COALESCE($2, 0) - COALESCE($3, 0));
END IF;
RETURN (COALESCE($3, 0) - COALESCE($2, 0));