diff options
author | Geir Nøklebye | 2015-07-27 14:25:28 +0200 |
---|---|---|
committer | Oren Hurvitz | 2015-07-31 15:57:22 +0100 |
commit | 1de8c3570d0c8d18c181286334de81bf436dfbb4 (patch) | |
tree | f1223afc3ac3997039d5c3e8aa7e77648d92b5b8 /OpenSim/Data/PGSQL/PGSQLManager.cs | |
parent | Fixed bad log message (diff) | |
download | opensim-SC_OLD-1de8c3570d0c8d18c181286334de81bf436dfbb4.zip opensim-SC_OLD-1de8c3570d0c8d18c181286334de81bf436dfbb4.tar.gz opensim-SC_OLD-1de8c3570d0c8d18c181286334de81bf436dfbb4.tar.bz2 opensim-SC_OLD-1de8c3570d0c8d18c181286334de81bf436dfbb4.tar.xz |
PGSQL migrations for IM_Store, UserProfiles, removal of casting exception for UserProfiles and adding double precision to PGSQL Manager
PGSQL migrations for IM_Store, UserProfiles, removal of casting
exception for UserProfiles and adding double precision to PGSQL Manager.
Fixes the Offline IM to Email toggle and prepares for fixing Offline
IM.
Signed-off-by: Oren Hurvitz <orenh@kitely.com>
Diffstat (limited to 'OpenSim/Data/PGSQL/PGSQLManager.cs')
-rw-r--r-- | OpenSim/Data/PGSQL/PGSQLManager.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Data/PGSQL/PGSQLManager.cs b/OpenSim/Data/PGSQL/PGSQLManager.cs index 97f40b2..46f835a 100644 --- a/OpenSim/Data/PGSQL/PGSQLManager.cs +++ b/OpenSim/Data/PGSQL/PGSQLManager.cs | |||
@@ -249,6 +249,10 @@ namespace OpenSim.Data.PGSQL | |||
249 | { | 249 | { |
250 | return (DateTime)value; | 250 | return (DateTime)value; |
251 | } | 251 | } |
252 | if (PGFieldType == "double precision") | ||
253 | { | ||
254 | return (Double)value; | ||
255 | } | ||
252 | return CreateParameterValue(value); | 256 | return CreateParameterValue(value); |
253 | } | 257 | } |
254 | 258 | ||