Thread: npgsql - Npgsql2: Fixed a bug where boolean values were being quoted

npgsql - Npgsql2: Fixed a bug where boolean values were being quoted

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


Fixed a bug where boolean values were being quoted which caused problems with edmgen support. Also, fixed a problem
raisedby this modification when using protocol 2: when issuing an execute statement after being prepared the cast
wasn'tbeing issued. It was being sent as execute npgsqlplan1(1) when it should be execute npgsqlplan1(1::bit). 

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        NpgsqlCommand.cs (r1.29 -> r1.30)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs.diff?r1=1.29&r2=1.30)
    Npgsql2/src/NpgsqlTypes:
        NpgsqlTypesHelper.cs (r1.19 -> r1.20)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypesHelper.cs.diff?r1=1.19&r2=1.20)