mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
rename SQLiteNG to SQLite and SQLite to SQLiteLegacy
this seems the least evil way forward since mono 2.6 and later will see increasing usage, and this only works with what was SQLiteNG MAC USERS WILL NEED TO CHANGE REFERENCES TO "OpenSim.Data.SQLite.dll" to "OpenSim.Data.SQLiteLegacy.dll" in OpenSim.ini and config-include/StandaloneCommon.ini (if using standalone) See the OpenSim.ini.example and StandaloneCommon.ini.example files for more details This commit also temporarily changes unsigned ParentEstateID values in the OpenSim.Data.Tests to signed temporarily, since the new plugin enforces creation of signed fields in the database (which is what the SQL actually specifies). And change data columns in sqlite is a pita.
This commit is contained in:
@@ -113,14 +113,14 @@
|
||||
|
||||
; --- To use sqlite as region storage:
|
||||
;
|
||||
; PLEASE NOTE: Unfortunately, the SQLiteNG database plugin, while necessary to use sqlite with Mono on Linux, is
|
||||
; PLEASE NOTE: Unfortunately, the current SQLite database plugin (necessary to use SQLite with Mono on Linux) is
|
||||
; not compatible with the sqlite3 library installed on Mac OSX. If you're using Mono 2.4 you can still use the old sqlite
|
||||
; library by uncommenting the SQLite.dll storage plugin (and commenting out SQLiteNG). Unfortunately, the older library
|
||||
; will not work with Mono 2.6 on Mac OSX so you will either need to replace the sqlite3 system library or use MySQL instead
|
||||
; library by uncommenting the SQLiteLegacy.dll storage plugin (and commenting out SQLite.dll). Unfortunately, the older library
|
||||
; will not work with Mono 2.6 on Mac OSX so you will either need to replace the OSX sqlite3 system library or use MySQL instead
|
||||
;
|
||||
; You will also need to do the same thing in config-include/StandaloneCommon.ini if you are running in standalone mode
|
||||
storage_plugin = "OpenSim.Data.SQLiteNG.dll"
|
||||
;storage_plugin = "OpenSim.Data.SQLite.dll"
|
||||
storage_plugin = "OpenSim.Data.SQLite.dll"
|
||||
;storage_plugin = "OpenSim.Data.SQLiteLegacy.dll"
|
||||
storage_connection_string="URI=file:OpenSim.db,version=3";
|
||||
|
||||
; --- To use MySQL storage, supply your own connection string (this is only an example):
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
;
|
||||
|
||||
; SQLite
|
||||
Include-Storage = "config-include/storage/SQLiteNGStandalone.ini";
|
||||
Include-Storage = "config-include/storage/SQLiteStandalone.ini";
|
||||
|
||||
; Unfortunately SQLiteNG is not compatible with Mac OSX. You can still use the older
|
||||
; sqlite library if you are using Mono 2.4. Please see the notes in OpenSim.ini for sqlite
|
||||
; Unfortunately the current SQLite database plugin is not compatible with Mac OSX. You can still use the older
|
||||
; legacy sqlite library if you are using Mono 2.4. Please see the notes in OpenSim.ini (search for sqlite)
|
||||
; for more details
|
||||
;Include-Storage = "config-include/storage/SQLiteStandalone.ini";
|
||||
;Include-Storage = "config-include/storage/SQLiteLegacyStandalone.ini";
|
||||
|
||||
; MySql
|
||||
; Uncomment these lines if you want to use mysql storage
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; These are the initialization settings for running OpenSim Standalone with an SQLite database
|
||||
|
||||
[DatabaseService]
|
||||
StorageProvider = "OpenSim.Data.SQLiteNG.dll"
|
||||
StorageProvider = "OpenSim.Data.SQLiteLegacy.dll"
|
||||
|
||||
[AvatarService]
|
||||
ConnectionString = "URI=file:avatars.db,version=3"
|
||||
Reference in New Issue
Block a user