diff options
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLManager.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLManager.cs b/OpenSim/Data/MSSQL/MSSQLManager.cs index 47d4cbc..562fbad 100644 --- a/OpenSim/Data/MSSQL/MSSQLManager.cs +++ b/OpenSim/Data/MSSQL/MSSQLManager.cs | |||
@@ -171,6 +171,10 @@ namespace OpenSim.Data.MSSQL | |||
171 | { | 171 | { |
172 | return SqlDbType.Float; | 172 | return SqlDbType.Float; |
173 | } | 173 | } |
174 | if (type == typeof(Single)) | ||
175 | { | ||
176 | return SqlDbType.Float; | ||
177 | } | ||
174 | if (type == typeof(int)) | 178 | if (type == typeof(int)) |
175 | { | 179 | { |
176 | return SqlDbType.Int; | 180 | return SqlDbType.Int; |