Skip to content

Commit 81b8c86

Browse files
committed
Revert SqlType changes
1 parent 79c3469 commit 81b8c86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/NHibernate/SqlTypes/SqlType.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,15 @@ public bool Equals(SqlType rhsSqlType)
130130
return false;
131131
}
132132

133-
if (LengthDefined && rhsSqlType.LengthDefined)
133+
if (LengthDefined)
134134
{
135135
return (DbType.Equals(rhsSqlType.DbType)) && (Length == rhsSqlType.Length);
136136
}
137-
if (PrecisionDefined && rhsSqlType.PrecisionDefined)
137+
if (PrecisionDefined)
138138
{
139139
return (DbType.Equals(rhsSqlType.DbType)) && (Precision == rhsSqlType.Precision) && (Scale == rhsSqlType.Scale);
140140
}
141-
if (ScaleDefined && rhsSqlType.ScaleDefined)
141+
if (ScaleDefined)
142142
{
143143
return DbType.Equals(rhsSqlType.DbType) && Scale == rhsSqlType.Scale;
144144
}

0 commit comments

Comments
 (0)