diff options
author | Justin Clark-Casey (justincc) | 2012-02-23 23:11:47 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-23 23:11:47 +0000 |
commit | f034958bdca00cdec77f05b7cbddd07ea2584b02 (patch) | |
tree | b981633d92bdf50b95c0e7b6c911d2a2d73cfd15 /OpenSim | |
parent | Try to resolve some problems with viewers crashing after hitting parcel banli... (diff) | |
download | opensim-SC-f034958bdca00cdec77f05b7cbddd07ea2584b02.zip opensim-SC-f034958bdca00cdec77f05b7cbddd07ea2584b02.tar.gz opensim-SC-f034958bdca00cdec77f05b7cbddd07ea2584b02.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Region/UserStatistics/WebStatsModule.cs | 3 |
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"); |