diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 089d2f544c..287073bbf8 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -71,6 +71,7 @@ what it is today. * CharlieO * ChrisDown * Chris Yeoh (IBM) +* controlbreak * coyled * Daedius * Dong Jun Lan (IBM) diff --git a/OpenSim/Data/MSSQL/MSSQLManager.cs b/OpenSim/Data/MSSQL/MSSQLManager.cs index cf963e3f07..9a0015c857 100644 --- a/OpenSim/Data/MSSQL/MSSQLManager.cs +++ b/OpenSim/Data/MSSQL/MSSQLManager.cs @@ -104,6 +104,11 @@ namespace OpenSim.Data.MSSQL { return SqlDbType.BigInt; } + if (type == typeof(DateTime)) + { + return SqlDbType.DateTime; + } + return SqlDbType.VarChar; }