Thread: npgsql - Npgsql2: Fixed a bug where a function which has a return type

npgsql - Npgsql2: Fixed a bug where a function which has a return type

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

Fixed a bug where a function which has a return type of record but already has the columnlist defined inside itself (
i.e.:functions with returns table clauses, see testreturnrecordresultset in the testcases) were being misinterpreted as
needinga column list. Thanks Jan Waiz for heads up and test case. Added nunit test case to catch this problem. 

Modified Files:
--------------
    Npgsql2/testsuite/noninteractive:
        add_functions.sql (r1.4 -> r1.5)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/add_functions.sql?r1=1.4&r2=1.5)
    Npgsql2/src/Npgsql:
        NpgsqlCommand.cs (r1.46 -> r1.47)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs?r1=1.46&r2=1.47)
    Npgsql2/testsuite/noninteractive/NUnit20:
        CommandTests.cs (r1.36 -> r1.37)

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