Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit fdb32f0

Browse files
committed
Merge pull request #463 from dlj/PopulateWithTypo
Fixed Copy/Paste error. Scale was used to check for Size
2 parents 4464222 + 1d83727 commit fdb32f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite/OrmLiteResultsFilterExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static IDbDataParameter PopulateWith(this IDbDataParameter to, IDbDataPar
110110
to.Precision = from.Precision;
111111
if (from.Scale != default(byte))
112112
to.Scale = from.Scale;
113-
if (from.Scale != default(int))
113+
if (from.Size != default(int))
114114
to.Size = from.Size;
115115

116116
return to;

0 commit comments

Comments
 (0)