Thread: npgsql - Npgsql2: Fixed regression with prepared statements with

npgsql - Npgsql2: Fixed regression with prepared statements with

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

Fixed regression with prepared statements with parameters with sizes. The size of parameters were being added in the
statementtail. Thanks Rodrigo Cuevas (bellinux at gmail dot com) for heads up and Lee Ibbotson (lee.ibbotson @nospam@
sequence.co.uk)for patch. 

Added testcase for this problem.

Modified Files:
--------------
    Npgsql2/testsuite/noninteractive/NUnit20:
        CommandTests.cs (r1.26 -> r1.27)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/NUnit20/CommandTests.cs.diff?r1=1.26&r2=1.27)
    Npgsql2/src/Npgsql:
        NpgsqlCommand.cs (r1.37 -> r1.38)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs.diff?r1=1.37&r2=1.38)