* Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
CanRead because the schema can be readed with or without result
rows.
svn path=/trunk/mcs/; revision=19810
+2003-11-11 Pedro Martínez Juliá <yoros@wanadoo.es>
+
+ * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
+ CanRead because the schema can be readed with or without result
+ rows.
+
2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
* Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
public DataTable GetSchemaTable()
{
NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "GetSchemaTable");
- //throw new NotImplementedException();
-
- if (!CanRead())
- return null; //[FIXME] Should we return null or throw an exception??
if(_currentResultsetSchema == null)
_currentResultsetSchema = GetResultsetSchema();