diff options
author | Justin Clarke Casey | 2009-01-12 17:44:39 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-12 17:44:39 +0000 |
commit | 41377008e1ae87091479fbd51dd1324dbdd1f46e (patch) | |
tree | f7ca3bafd13e779c12e995b7f24ba8e2a88df750 /OpenSim/Data | |
parent | * refactor: move packet handler interface into a separate class (diff) | |
download | opensim-SC-41377008e1ae87091479fbd51dd1324dbdd1f46e.zip opensim-SC-41377008e1ae87091479fbd51dd1324dbdd1f46e.tar.gz opensim-SC-41377008e1ae87091479fbd51dd1324dbdd1f46e.tar.bz2 opensim-SC-41377008e1ae87091479fbd51dd1324dbdd1f46e.tar.xz |
* Apply http://opensimulator.org/mantis/view.php?id=2980
* Add single conversion to MSSQLManager.DbTypeFromType
* May resolve storage of prim information under MSSQL
* Thanks SirKimba
Diffstat (limited to 'OpenSim/Data')
-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; |