diff options
author | Justin Clark-Casey (justincc) | 2012-02-21 02:52:20 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-21 02:52:20 +0000 |
commit | 68a4ef5ef62aef3d5e1ec5c20b03b3b4fa51743b (patch) | |
tree | c524c268408a41df92ddf5f5bf68732103f0cfad /OpenSim/Data/SQLite/SQLiteAssetData.cs | |
parent | Fix bug where NPCs would establish child agents on other neighbour regions th... (diff) | |
download | opensim-SC-68a4ef5ef62aef3d5e1ec5c20b03b3b4fa51743b.zip opensim-SC-68a4ef5ef62aef3d5e1ec5c20b03b3b4fa51743b.tar.gz opensim-SC-68a4ef5ef62aef3d5e1ec5c20b03b3b4fa51743b.tar.bz2 opensim-SC-68a4ef5ef62aef3d5e1ec5c20b03b3b4fa51743b.tar.xz |
Add 64 bit Windows sqlite3.dll and use this if running a 64-bit windows process.
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteAssetData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAssetData.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs index bb23fc1..d0e24c3 100644 --- a/OpenSim/Data/SQLite/SQLiteAssetData.cs +++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs | |||
@@ -81,6 +81,9 @@ namespace OpenSim.Data.SQLite | |||
81 | /// <param name="dbconnect">connect string</param> | 81 | /// <param name="dbconnect">connect string</param> |
82 | override public void Initialise(string dbconnect) | 82 | override public void Initialise(string dbconnect) |
83 | { | 83 | { |
84 | if (Util.IsWindows()) | ||
85 | Util.LoadArchSpecificWindowsDll("sqlite3.dll"); | ||
86 | |||
84 | if (dbconnect == string.Empty) | 87 | if (dbconnect == string.Empty) |
85 | { | 88 | { |
86 | dbconnect = "URI=file:Asset.db,version=3"; | 89 | dbconnect = "URI=file:Asset.db,version=3"; |