npgsql - Npgsql2: Fixed previous patch as it breaks when using an
npgsql - Npgsql2: Fixed previous patch as it breaks when using an
От:
fxjr@pgfoundry.org (User Fxjr)
Дата:
Log Message:
-----------
Fixed previous patch as it breaks when using an internal NpgsqlCommand which receives only a Connector in its constructor as the CheckConformingStrings method does. This is caused by not having an NpgsqlConnection available when using this internal constructor. Now it uses the Connector object instead of NpgsqlConnection to get the compatibility version check.
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)