Make SQLiteNG the default since it actually does work with Mono 2.4 on Linux.

I know this is tough on Mac OSX users (since SQLiteNG requires the export of the sqlite3_column_origin_name symbol and this isn't present for the Mac OSX sqlite3 system library)
Unfortunately, I need to shaft somebody (as it were)
slimupdates
Justin Clark-Casey (justincc) 2010-04-30 17:01:50 +01:00
parent 15d42d2111
commit 60dbc3c6ce
2 changed files with 13 additions and 9 deletions

View File

@ -112,11 +112,15 @@
;storage_plugin = "OpenSim.Data.Null.dll" ;storage_plugin = "OpenSim.Data.Null.dll"
; --- To use sqlite as region storage: ; --- To use sqlite as region storage:
; PLEASE NOTE: If you use want to use SQLite with Mono 2.6 and above, you must use the SQLiteNG plugin rather than the existing SQLite one ;
; do this by commenting out the OpenSim.Data.SQLite.dll line below and uncommenting the OpenSim.Data.SQLiteNG.dll one ; PLEASE NOTE: Unfortunately, the SQLiteNG database plugin, while 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
;
; You will also need to do the same thing in config-include/StandaloneCommon.ini if you are running in standalone mode ; 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.SQLite.dll" storage_plugin = "OpenSim.Data.SQLiteNG.dll"
; storage_plugin = "OpenSim.Data.SQLiteNG.dll" ;storage_plugin = "OpenSim.Data.SQLite.dll"
storage_connection_string="URI=file:OpenSim.db,version=3"; storage_connection_string="URI=file:OpenSim.db,version=3";
; --- To use MySQL storage, supply your own connection string (this is only an example): ; --- To use MySQL storage, supply your own connection string (this is only an example):

View File

@ -6,12 +6,12 @@
; ;
; SQLite ; SQLite
; Uncomment this line if you want to use sqlite storage with Mono 2.4 Include-Storage = "config-include/storage/SQLiteNGStandalone.ini";
Include-Storage = "config-include/storage/SQLiteStandalone.ini";
; If you want to use sqlite with Mono 2.6 and above, uncomment this line instead. ; Unfortunately SQLiteNG is not compatible with Mac OSX. You can still use the older
; Don't forget to do the same thing for the storage_plugin setting in OpenSim.ini ; sqlite library if you are using Mono 2.4. Please see the notes in OpenSim.ini for sqlite
; Include-Storage = "config-include/storage/SQLiteNGStandalone.ini"; ; for more details
;Include-Storage = "config-include/storage/SQLiteStandalone.ini";
; MySql ; MySql
; Uncomment these lines if you want to use mysql storage ; Uncomment these lines if you want to use mysql storage