aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-02-23 23:11:47 +0000
committerJustin Clark-Casey (justincc)2012-02-23 23:11:47 +0000
commitf034958bdca00cdec77f05b7cbddd07ea2584b02 (patch)
treeb981633d92bdf50b95c0e7b6c911d2a2d73cfd15 /OpenSim/Region
parentTry to resolve some problems with viewers crashing after hitting parcel banli... (diff)
downloadopensim-SC_OLD-f034958bdca00cdec77f05b7cbddd07ea2584b02.zip
opensim-SC_OLD-f034958bdca00cdec77f05b7cbddd07ea2584b02.tar.gz
opensim-SC_OLD-f034958bdca00cdec77f05b7cbddd07ea2584b02.tar.bz2
opensim-SC_OLD-f034958bdca00cdec77f05b7cbddd07ea2584b02.tar.xz
Load appropriate 32-bit/64-bit Windows sqlite dll if using WebStatsModule.
This should resolve http://opensimulator.org/mantis/view.php?id=5901
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/UserStatistics/WebStatsModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs
index f627e37..ad272f7 100644
--- a/OpenSim/Region/UserStatistics/WebStatsModule.cs
+++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs
@@ -83,6 +83,9 @@ namespace OpenSim.Region.UserStatistics
83 { 83 {
84 if (m_scenes.Count == 0) 84 if (m_scenes.Count == 0)
85 { 85 {
86 if (Util.IsWindows())
87 Util.LoadArchSpecificWindowsDll("sqlite3.dll");
88
86 //IConfig startupConfig = config.Configs["Startup"]; 89 //IConfig startupConfig = config.Configs["Startup"];
87 90
88 dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3"); 91 dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3");