aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-31 01:12:04 +0100
committerJustin Clark-Casey (justincc)2012-03-31 01:12:04 +0100
commit38d241a3177f07e6640292ca4e94341e221992a4 (patch)
treedb20d863b20902fd888d5a2ca9009395ef7a3741
parentminor: small message adjustment and unnecessary code elimination when notifyi... (diff)
downloadopensim-SC_OLD-38d241a3177f07e6640292ca4e94341e221992a4.zip
opensim-SC_OLD-38d241a3177f07e6640292ca4e94341e221992a4.tar.gz
opensim-SC_OLD-38d241a3177f07e6640292ca4e94341e221992a4.tar.bz2
opensim-SC_OLD-38d241a3177f07e6640292ca4e94341e221992a4.tar.xz
Add MSSQL login processing fix for servers run on different locales.
This may no longer be an issue with better locale enforcement in OpenSimulator but it doesn't hurt to have this patch. http://opensimulator.org/mantis/view.php?id=4680 Thanks to controlbreak for this
Diffstat (limited to '')
-rw-r--r--CONTRIBUTORS.txt1
-rw-r--r--OpenSim/Data/MSSQL/MSSQLManager.cs5
2 files changed, 6 insertions, 0 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 089d2f5..287073b 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -71,6 +71,7 @@ what it is today.
71* CharlieO 71* CharlieO
72* ChrisDown 72* ChrisDown
73* Chris Yeoh (IBM) 73* Chris Yeoh (IBM)
74* controlbreak
74* coyled 75* coyled
75* Daedius 76* Daedius
76* Dong Jun Lan (IBM) 77* Dong Jun Lan (IBM)
diff --git a/OpenSim/Data/MSSQL/MSSQLManager.cs b/OpenSim/Data/MSSQL/MSSQLManager.cs
index cf963e3..9a0015c 100644
--- a/OpenSim/Data/MSSQL/MSSQLManager.cs
+++ b/OpenSim/Data/MSSQL/MSSQLManager.cs
@@ -104,6 +104,11 @@ namespace OpenSim.Data.MSSQL
104 { 104 {
105 return SqlDbType.BigInt; 105 return SqlDbType.BigInt;
106 } 106 }
107 if (type == typeof(DateTime))
108 {
109 return SqlDbType.DateTime;
110 }
111
107 return SqlDbType.VarChar; 112 return SqlDbType.VarChar;
108 } 113 }
109 114