mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
changes so mono.data.sqlite use dllmap
This commit is contained in:
@@ -81,8 +81,7 @@ namespace OpenSim.Data.SQLite
|
||||
/// <param name="dbconnect">connect string</param>
|
||||
override public void Initialise(string dbconnect)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteAssetData).Assembly);
|
||||
|
||||
if (dbconnect.Length == 0)
|
||||
{
|
||||
|
||||
@@ -65,8 +65,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
if (!m_initialized)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteAuthenticationData).Assembly);
|
||||
|
||||
m_Connection = new SqliteConnection(connectionString);
|
||||
m_Connection.Open();
|
||||
|
||||
@@ -69,8 +69,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
public void Initialise(string connectionString)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteEstateStore).Assembly);
|
||||
|
||||
m_connectionString = connectionString;
|
||||
|
||||
|
||||
@@ -48,8 +48,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
protected SQLiteFramework(string connectionString)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteFramework).Assembly);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -113,8 +113,7 @@ namespace OpenSim.Data.SQLite
|
||||
{
|
||||
try
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteSimulationData).Assembly);
|
||||
|
||||
m_connectionString = connectionString;
|
||||
|
||||
|
||||
@@ -69,8 +69,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
public void Initialise(string connectionString)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteUserProfilesData).Assembly);
|
||||
|
||||
m_connectionString = connectionString;
|
||||
|
||||
|
||||
@@ -52,8 +52,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
public SQLiteXInventoryData(string conn, string realm)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteXInventoryData).Assembly);
|
||||
|
||||
m_Folders = new SqliteFolderHandler(
|
||||
conn, "inventoryfolders", "XInventoryStore");
|
||||
|
||||
Reference in New Issue
Block a user