aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
diff options
context:
space:
mode:
authorlbsa712007-11-15 19:53:10 +0000
committerlbsa712007-11-15 19:53:10 +0000
commit3aed77bd2c5fecc2a077fdad501774b2b00001b1 (patch)
tree1b2273872ae95bf68999606fb8bfcedca0305638 /OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
parentmake Stopped a bit sloppier which should help address any float round off issues (diff)
downloadopensim-SC-3aed77bd2c5fecc2a077fdad501774b2b00001b1.zip
opensim-SC-3aed77bd2c5fecc2a077fdad501774b2b00001b1.tar.gz
opensim-SC-3aed77bd2c5fecc2a077fdad501774b2b00001b1.tar.bz2
opensim-SC-3aed77bd2c5fecc2a077fdad501774b2b00001b1.tar.xz
*** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
* Now moved region storage from region to application, so we have one storage per application, instead of one per region. * Changed so that the region store providers use connectionstrings, not filenames * Removed various unfit fields and properties (call me Darwin)
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLDataStore.cs')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLDataStore.cs24
1 files changed, 2 insertions, 22 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
index c468414..343970e 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
@@ -36,7 +36,7 @@ namespace OpenSim.Framework.Data.MySQL
36 * 36 *
37 **********************************************************************/ 37 **********************************************************************/
38 38
39 public void Initialise(string connectionstring, string dbname) 39 public void Initialise(string connectionstring)
40 { 40 {
41 m_dataSet = new DataSet(); 41 m_dataSet = new DataSet();
42 42
@@ -307,23 +307,6 @@ namespace OpenSim.Framework.Data.MySQL
307 } 307 }
308 } 308 }
309 309
310 //private void DisplayTableMappings( MySqlDataAdapter adapter )
311 //{
312 // DataTableMappingCollection mappings = adapter.TableMappings;
313
314 // foreach( DataTableMapping mapping in mappings )
315 // {
316 // Debug.WriteLine( String.Format( "Source Table: ", mapping.SourceTable ));
317
318 // DataColumnMappingCollection columnMappings = mapping.ColumnMappings;
319
320 // foreach (DataColumnMapping columnMapping in columnMappings)
321 // {
322 // Debug.WriteLine( String.Format( "DataSet [{0}] <-> Source [{1}]", columnMapping.DataSetColumn, columnMapping.SourceColumn ));
323 // }
324 // }
325 //}
326
327 public void Commit() 310 public void Commit()
328 { 311 {
329 if (m_connection.State != ConnectionState.Open) 312 if (m_connection.State != ConnectionState.Open)
@@ -333,10 +316,7 @@ namespace OpenSim.Framework.Data.MySQL
333 316
334 lock (m_dataSet) 317 lock (m_dataSet)
335 { 318 {
336 DisplayDataSet(m_dataSet, "Region DataSet"); 319 // DisplayDataSet(m_dataSet, "Region DataSet");
337 //DisplayTableMappings(m_primDataAdapter);
338
339 // m_primDataAdapter.MissingMappingAction = MissingMappingAction.Error;
340 320
341 m_primDataAdapter.Update(m_primTable); 321 m_primDataAdapter.Update(m_primTable);
342 m_shapeDataAdapter.Update(m_shapeTable); 322 m_shapeDataAdapter.Update(m_shapeTable);