mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
maybe this is a better way...
This commit is contained in:
@@ -81,7 +81,7 @@ namespace OpenSim.Data.SQLite
|
||||
/// <param name="dbconnect">connect string</param>
|
||||
override public void Initialise(string dbconnect)
|
||||
{
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteAssetData).Assembly);
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SqliteConnection).Assembly);
|
||||
|
||||
if (dbconnect.Length == 0)
|
||||
{
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
if (!m_initialized)
|
||||
{
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteAuthenticationData).Assembly);
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SqliteConnection).Assembly);
|
||||
|
||||
m_Connection = new SqliteConnection(connectionString);
|
||||
m_Connection.Open();
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
public void Initialise(string connectionString)
|
||||
{
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteEstateStore).Assembly);
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SqliteConnection).Assembly);
|
||||
|
||||
m_connectionString = connectionString;
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
protected SQLiteFramework(string connectionString)
|
||||
{
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteFramework).Assembly);
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SqliteConnection).Assembly);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace OpenSim.Data.SQLite
|
||||
{
|
||||
try
|
||||
{
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteSimulationData).Assembly);
|
||||
DllmapConfigHelper. RegisterAssembly(typeof(SqliteConnection).Assembly);
|
||||
|
||||
m_connectionString = connectionString;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
public void Initialise(string connectionString)
|
||||
{
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteUserProfilesData).Assembly);
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SqliteConnection).Assembly);
|
||||
|
||||
m_connectionString = connectionString;
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
public SQLiteXInventoryData(string conn, string realm)
|
||||
{
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SQLiteXInventoryData).Assembly);
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(SqliteConnection).Assembly);
|
||||
|
||||
m_Folders = new SqliteFolderHandler(
|
||||
conn, "inventoryfolders", "XInventoryStore");
|
||||
|
||||
Reference in New Issue
Block a user