Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSureshkumar T <suresh@mono-cvs.ximian.com>2005-08-23 08:44:09 +0400
committerSureshkumar T <suresh@mono-cvs.ximian.com>2005-08-23 08:44:09 +0400
commit67a386bf960f4d98d37c49944784c67edf2b964b (patch)
tree9deac242b2bf127aa4fb1c7304461f798ac43e90 /mcs/class/System.Data/System.Data.Odbc
parent57cf4aa81ffc4f99227db4205843c25685055345 (diff)
corrected typo.
svn path=/trunk/mcs/; revision=48708
Diffstat (limited to 'mcs/class/System.Data/System.Data.Odbc')
-rw-r--r--mcs/class/System.Data/System.Data.Odbc/OdbcDataReader.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System.Data/System.Data.Odbc/OdbcDataReader.cs b/mcs/class/System.Data/System.Data.Odbc/OdbcDataReader.cs
index 5b891deb58f..30e879390b2 100644
--- a/mcs/class/System.Data/System.Data.Odbc/OdbcDataReader.cs
+++ b/mcs/class/System.Data/System.Data.Odbc/OdbcDataReader.cs
@@ -562,12 +562,12 @@ namespace System.Data.Odbc
schemaRow ["NumericScale"] = GetColumnAttribute (i+1, FieldIdentifier.Scale);
schemaRow ["BaseTableName"] = GetColumnAttributeStr (i+1, FieldIdentifier.TableName);
schemaRow ["BaseSchemaName"] = GetColumnAttributeStr (i+1, FieldIdentifier.SchemaName);
- schemaRow ["BaseCatalogName"] = GetColumnAttributeStr (1+1, FieldIdentifier.CatelogName);
+ schemaRow ["BaseCatalogName"] = GetColumnAttributeStr (i+1, FieldIdentifier.CatelogName);
schemaRow ["BaseColumnName"] = GetColumnAttributeStr (i+1, FieldIdentifier.BaseColumnName);
schemaRow ["DataType"] = col.DataType;
schemaRow ["IsUnique"] = false;
schemaRow ["IsKey"] = DBNull.Value;
- schemaRow ["AllowDBNull"] = GetColumnAttribute (1+1, FieldIdentifier.Nullable) != libodbc.SQL_NO_NULLS;
+ schemaRow ["AllowDBNull"] = GetColumnAttribute (i+1, FieldIdentifier.Nullable) != libodbc.SQL_NO_NULLS;
schemaRow ["ProviderType"] = (int) col.OdbcType;
schemaRow ["IsAutoIncrement"] = GetColumnAttribute (i+1, FieldIdentifier.AutoUniqueValue) == libodbc.SQL_TRUE;
schemaRow ["IsExpression"] = schemaRow.IsNull ("BaseTableName") || (string) schemaRow ["BaseTableName"] == String.Empty;