Thread: npgsql - Npgsql2: Fixed previous patch as it breaks when using an

npgsql - Npgsql2: Fixed previous patch as it breaks when using an

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

Fixed previous patch as it breaks when using an internal NpgsqlCommand which receives only a Connector in its
constructoras the CheckConformingStrings method does. This is caused by not having an NpgsqlConnection available when
usingthis internal constructor. Now it uses the Connector object instead of NpgsqlConnection to get the compatibility
versioncheck. 

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        NpgsqlDataReader.cs (r1.20 -> r1.21)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlDataReader.cs?r1=1.20&r2=1.21)