Thread: npgsql - Npgsql2: Bug: Money to Decimal conversion.

npgsql - Npgsql2: Bug: Money to Decimal conversion.

From
fxjr@pgfoundry.org (User Fxjr)
Date:
Log Message:
-----------

Bug: Money to Decimal conversion. Fixed problem where negative money values weren't being returned correctly. Thanks
DenisMoinel (denis.moinel @nospam@ gmail.com) for heads up and patch. See
http://pgfoundry.org/forum/message.php?msg_id=1005647for more info. 

Also added test case.

Modified Files:
--------------
    Npgsql2/src/NpgsqlTypes:
        NpgsqlTypeConverters.cs (r1.17 -> r1.18)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypeConverters.cs?r1=1.17&r2=1.18)
    Npgsql2/testsuite/noninteractive/NUnit20:
        CommandTests.cs (r1.30 -> r1.31)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/NUnit20/CommandTests.cs?r1=1.30&r2=1.31)