Load appropriate 32-bit/64-bit Windows sqlite dll if using WebStatsModule.

This should resolve http://opensimulator.org/mantis/view.php?id=5901
xassetservice
Justin Clark-Casey (justincc) 2012-02-23 23:11:47 +00:00
parent 90ea00a109
commit f034958bdc
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,9 @@ namespace OpenSim.Region.UserStatistics
{
if (m_scenes.Count == 0)
{
if (Util.IsWindows())
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
//IConfig startupConfig = config.Configs["Startup"];
dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3");