aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteAssetData.cs
diff options
context:
space:
mode:
authoronefang2019-05-19 22:03:18 +1000
committeronefang2019-05-19 22:03:18 +1000
commit28b3b1c62d9fad9811986aad185121fed3f3b755 (patch)
tree8e1104af2c9e2beec37e4d0fab2cac84c4e0187e /OpenSim/Data/SQLite/SQLiteAssetData.cs
parentVarious database fixups. (diff)
downloadopensim-SC-28b3b1c62d9fad9811986aad185121fed3f3b755.zip
opensim-SC-28b3b1c62d9fad9811986aad185121fed3f3b755.tar.gz
opensim-SC-28b3b1c62d9fad9811986aad185121fed3f3b755.tar.bz2
opensim-SC-28b3b1c62d9fad9811986aad185121fed3f3b755.tar.xz
Move db directory out of tree.
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteAssetData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteAssetData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs
index 966d0b8..51d1030 100644
--- a/OpenSim/Data/SQLite/SQLiteAssetData.cs
+++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs
@@ -86,7 +86,7 @@ namespace OpenSim.Data.SQLite
86 86
87 if (dbconnect == string.Empty) 87 if (dbconnect == string.Empty)
88 { 88 {
89 dbconnect = "URI=file:Asset.db,version=3"; 89 dbconnect = "URI=file:" + Util.dbDir() + "Asset.db,version=3";
90 } 90 }
91 m_conn = new SqliteConnection(dbconnect); 91 m_conn = new SqliteConnection(dbconnect);
92 m_conn.Open(); 92 m_conn.Open();
@@ -360,7 +360,7 @@ namespace OpenSim.Data.SQLite
360 /// </summary> 360 /// </summary>
361 override public void Initialise() 361 override public void Initialise()
362 { 362 {
363 Initialise("URI=file:Asset.db,version=3"); 363 Initialise("URI=file:" + Util.dbDir() + "Asset.db,version=3");
364 } 364 }
365 365
366 /// <summary> 366 /// <summary>