* Fixed bug reported by xyzo - region assets are now stored in "regionassets.yap", asset server assets are now in "gridassets.yap"
parent
a076369fa3
commit
41cd6cdfdd
|
@ -154,10 +154,10 @@ namespace OpenSim.Grid.AssetServer
|
||||||
|
|
||||||
public void setupDB()
|
public void setupDB()
|
||||||
{
|
{
|
||||||
bool yapfile = File.Exists("assets.yap");
|
bool yapfile = File.Exists("gridassets.yap");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
db = Db4oFactory.OpenFile("assets.yap");
|
db = Db4oFactory.OpenFile("gridassets.yap");
|
||||||
MainLog.Instance.Verbose("Main.cs:setupDB() - creation");
|
MainLog.Instance.Verbose("Main.cs:setupDB() - creation");
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
|
@ -62,12 +62,12 @@ namespace OpenSim.Region.GridInterfaces.Local
|
||||||
{
|
{
|
||||||
bool yapfile;
|
bool yapfile;
|
||||||
this._assetRequests = new BlockingQueue<ARequest>();
|
this._assetRequests = new BlockingQueue<ARequest>();
|
||||||
yapfile = File.Exists("assets.yap");
|
yapfile = File.Exists("regionassets.yap");
|
||||||
|
|
||||||
MainLog.Instance.Verbose( "Local Asset Server class created");
|
MainLog.Instance.Verbose( "Local Asset Server class created");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
db = Db4oFactory.OpenFile("assets.yap");
|
db = Db4oFactory.OpenFile("regionassets.yap");
|
||||||
MainLog.Instance.Verbose( "Db4 Asset database creation");
|
MainLog.Instance.Verbose( "Db4 Asset database creation");
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Reference in New Issue