From 79f0ac82e328e325df28f3af3d4c98a7885a44f5 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 10 Aug 2007 17:22:54 +0000 Subject: Some cleaning up and removed a few old files no longer in use. Temporary have had to rename the OpenSim.DataStore.MonoSqlite project to OpenSim.DataStore.MonoSqlite1, as I'm not sure what was done to stop the old project name being included in the VS2005 solution. Also some config changes: OpenSim now has a INI (OpenSim.ini) file that it will read some config settings from (if the ini file exists). Added Mono.Data.SqliteClient.dll so that we can use the same code for sqlite on Windows and mono/linux. (from what I can tell Mono class libraries have a MIT license so there should be no problems with us including this dll). So now to get the basic prim storage working , you need to first create the sqlite database file from the sqlite3-prims.sql in share directory. Then in the OpenSim.ini file, change the storage_plugin so it points to OpenSim.DataStore.MonoSqlite1.dll (storage_plugin = OpenSim.DataStore.MonoSqlite1.dll). Then in your region.xml files change the DataStore value so it is the name of your database file (at the moment you need a different sqlite3 database file for each region). --- bin/Mono.Data.SqliteClient.dll | Bin 0 -> 52224 bytes bin/OpenSim.ini | 4 ++ bin/sqlite-3.4.1.so | Bin 0 -> 277804 bytes bin/sqlite3.def | 131 +++++++++++++++++++++++++++++++++++++++++ bin/sqlite3.dll | Bin 0 -> 363686 bytes 5 files changed, 135 insertions(+) create mode 100644 bin/Mono.Data.SqliteClient.dll create mode 100644 bin/OpenSim.ini create mode 100644 bin/sqlite-3.4.1.so create mode 100644 bin/sqlite3.def create mode 100644 bin/sqlite3.dll (limited to 'bin') diff --git a/bin/Mono.Data.SqliteClient.dll b/bin/Mono.Data.SqliteClient.dll new file mode 100644 index 0000000..657fbf4 Binary files /dev/null and b/bin/Mono.Data.SqliteClient.dll differ diff --git a/bin/OpenSim.ini b/bin/OpenSim.ini new file mode 100644 index 0000000..022d82f --- /dev/null +++ b/bin/OpenSim.ini @@ -0,0 +1,4 @@ +[Startup] +gridmode = false +physics = basicphysics +storage_plugin = "OpenSim.DataStore.NullStorage.dll" \ No newline at end of file diff --git a/bin/sqlite-3.4.1.so b/bin/sqlite-3.4.1.so new file mode 100644 index 0000000..3b0f23b Binary files /dev/null and b/bin/sqlite-3.4.1.so differ diff --git a/bin/sqlite3.def b/bin/sqlite3.def new file mode 100644 index 0000000..9eb6a4e --- /dev/null +++ b/bin/sqlite3.def @@ -0,0 +1,131 @@ +EXPORTS +sqlite3_aggregate_context +sqlite3_aggregate_count +sqlite3_apis +sqlite3_auto_extension +sqlite3_bind_blob +sqlite3_bind_double +sqlite3_bind_int +sqlite3_bind_int64 +sqlite3_bind_null +sqlite3_bind_parameter_count +sqlite3_bind_parameter_index +sqlite3_bind_parameter_name +sqlite3_bind_text +sqlite3_bind_text16 +sqlite3_bind_value +sqlite3_bind_zeroblob +sqlite3_blob_bytes +sqlite3_blob_close +sqlite3_blob_open +sqlite3_blob_read +sqlite3_blob_write +sqlite3_busy_handler +sqlite3_busy_timeout +sqlite3_changes +sqlite3_clear_bindings +sqlite3_close +sqlite3_collation_needed +sqlite3_collation_needed16 +sqlite3_column_blob +sqlite3_column_bytes +sqlite3_column_bytes16 +sqlite3_column_count +sqlite3_column_decltype +sqlite3_column_decltype16 +sqlite3_column_double +sqlite3_column_int +sqlite3_column_int64 +sqlite3_column_name +sqlite3_column_name16 +sqlite3_column_text +sqlite3_column_text16 +sqlite3_column_type +sqlite3_column_value +sqlite3_commit_hook +sqlite3_complete +sqlite3_complete16 +sqlite3_create_collation +sqlite3_create_collation16 +sqlite3_create_collation_v2 +sqlite3_create_function +sqlite3_create_function16 +sqlite3_create_module +sqlite3_create_module_v2 +sqlite3_data_count +sqlite3_db_handle +sqlite3_declare_vtab +sqlite3_enable_load_extension +sqlite3_enable_shared_cache +sqlite3_errcode +sqlite3_errmsg +sqlite3_errmsg16 +sqlite3_exec +sqlite3_expired +sqlite3_extended_result_codes +sqlite3_finalize +sqlite3_free +sqlite3_free_table +sqlite3_get_autocommit +sqlite3_get_auxdata +sqlite3_get_table +sqlite3_global_recover +sqlite3_interrupt +sqlite3_last_insert_rowid +sqlite3_libversion +sqlite3_libversion_number +sqlite3_load_extension +sqlite3_malloc +sqlite3_mprintf +sqlite3_open +sqlite3_open16 +sqlite3_overload_function +sqlite3_prepare +sqlite3_prepare16 +sqlite3_prepare16_v2 +sqlite3_prepare_v2 +sqlite3_profile +sqlite3_progress_handler +sqlite3_realloc +sqlite3_reset +sqlite3_reset_auto_extension +sqlite3_result_blob +sqlite3_result_double +sqlite3_result_error +sqlite3_result_error16 +sqlite3_result_error_toobig +sqlite3_result_int +sqlite3_result_int64 +sqlite3_result_null +sqlite3_result_text +sqlite3_result_text16 +sqlite3_result_text16be +sqlite3_result_text16le +sqlite3_result_value +sqlite3_result_zeroblob +sqlite3_rollback_hook +sqlite3_set_authorizer +sqlite3_set_auxdata +sqlite3_sleep +sqlite3_snprintf +sqlite3_step +sqlite3_thread_cleanup +sqlite3_total_changes +sqlite3_trace +sqlite3_transfer_bindings +sqlite3_update_hook +sqlite3_user_data +sqlite3_value_blob +sqlite3_value_bytes +sqlite3_value_bytes16 +sqlite3_value_double +sqlite3_value_int +sqlite3_value_int64 +sqlite3_value_numeric_type +sqlite3_value_text +sqlite3_value_text16 +sqlite3_value_text16be +sqlite3_value_text16le +sqlite3_value_type +sqlite3_version +sqlite3_vmprintf diff --git a/bin/sqlite3.dll b/bin/sqlite3.dll new file mode 100644 index 0000000..29258fb Binary files /dev/null and b/bin/sqlite3.dll differ -- cgit v1.1