moving Region store for SQLite into the OpenSim.Framework.Data.SQLite

namespace to mirror what is done with MySQL.  This will require a 
configuration change for people using SQLite for prims which is given
as an example in OpenSim.ini.example
afrisby
Sean Dague 2008-01-09 18:41:20 +00:00
parent b469990972
commit 411d06c94e
3 changed files with 4 additions and 31 deletions

View File

@ -38,9 +38,9 @@ using OpenSim.Region.Environment.Interfaces;
using OpenSim.Region.Environment.LandManagement;
using OpenSim.Region.Environment.Scenes;
namespace OpenSim.DataStore.MonoSqlite
namespace OpenSim.Framework.Data.SQLite
{
public class MonoSqliteDataStore : IRegionDataStore
public class SQLiteRegionData : IRegionDataStore
{
private const string primSelect = "select * from prims";
private const string shapeSelect = "select * from primshapes";

View File

@ -21,7 +21,7 @@ physics = basicphysics
; storage_plugin = "OpenSim.DataStore.NullStorage.dll"
; --- To use sqlite as region storage:
storage_plugin = "OpenSim.DataStore.MonoSqlite.dll"
storage_plugin = "OpenSim.Framework.Data.SQLite.dll"
storage_connection_string="URI=file:OpenSim.db,version=3";
; --- To use MySQL storage, supply your own connectionstring (this is only an example):

View File

@ -673,34 +673,6 @@
</Files>
</Project>
<Project name="OpenSim.DataStore.MonoSqlite" path="OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite" type="Library">
<Configuration name="Debug">
<Options>
<OutputPath>../../../../bin/</OutputPath>
</Options>
</Configuration>
<Configuration name="Release">
<Options>
<OutputPath>../../../../bin/</OutputPath>
</Options>
</Configuration>
<ReferencePath>../../../../bin/</ReferencePath>
<Reference name="System" localCopy="false"/>
<Reference name="System.Xml"/>
<Reference name="System.Data"/>
<Reference name="Mono.Data.SqliteClient"/>
<Reference name="libsecondlife.dll"/>
<Reference name="OpenSim.Framework"/>
<Reference name="OpenSim.Region.Environment"/>
<Reference name="OpenSim.Framework.Console"/>
<Files>
<Match pattern="*.cs" recurse="true"/>
</Files>
</Project>
<Project name="OpenSim.DataStore.MSSQL" path="OpenSim/Region/Storage/OpenSim.DataStore.MSSQL" type="Library">
<Configuration name="Debug">
<Options>
@ -969,6 +941,7 @@
<Reference name="OpenSim.Framework.Data"/>
<Reference name="OpenSim.Framework"/>
<Reference name="OpenSim.Framework.Console"/>
<Reference name="OpenSim.Region.Environment"/>
<Reference name="libsecondlife.dll"/>
<Reference name="Mono.Data.SqliteClient"/>
<Files>