From 41377008e1ae87091479fbd51dd1324dbdd1f46e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 12 Jan 2009 17:44:39 +0000 Subject: * 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 --- OpenSim/Data/MSSQL/MSSQLManager.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Data') 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 { return SqlDbType.Float; } + if (type == typeof(Single)) + { + return SqlDbType.Float; + } if (type == typeof(int)) { return SqlDbType.Int; -- cgit v1.1