diff options
author | Justin Clark-Casey (justincc) | 2012-03-31 01:12:04 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-31 01:12:04 +0100 |
commit | 38d241a3177f07e6640292ca4e94341e221992a4 (patch) | |
tree | db20d863b20902fd888d5a2ca9009395ef7a3741 /OpenSim/Data/MSSQL | |
parent | minor: small message adjustment and unnecessary code elimination when notifyi... (diff) | |
download | opensim-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 'OpenSim/Data/MSSQL')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLManager.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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 | ||