diff options
author | Adam Frisby | 2008-04-30 23:11:07 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-30 23:11:07 +0000 |
commit | 25a49ac4de056f43d6c5803fcd34804fcea96ae2 (patch) | |
tree | 3b3f24601da9ebdcc8818b86fe201da2c63d7dda /OpenSim/Data/MySQL/MySQLDataStore.cs | |
parent | * Fix #3 (diff) | |
download | opensim-SC-25a49ac4de056f43d6c5803fcd34804fcea96ae2.zip opensim-SC-25a49ac4de056f43d6c5803fcd34804fcea96ae2.tar.gz opensim-SC-25a49ac4de056f43d6c5803fcd34804fcea96ae2.tar.bz2 opensim-SC-25a49ac4de056f43d6c5803fcd34804fcea96ae2.tar.xz |
* Spring cleaned a bunch of '//TODO: unused' marked functions.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLDataStore.cs | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/OpenSim/Data/MySQL/MySQLDataStore.cs b/OpenSim/Data/MySQL/MySQLDataStore.cs index d438064..1f9ea70 100644 --- a/OpenSim/Data/MySQL/MySQLDataStore.cs +++ b/OpenSim/Data/MySQL/MySQLDataStore.cs | |||
@@ -586,40 +586,6 @@ namespace OpenSim.Data.MySQL | |||
586 | return landDataForRegion; | 586 | return landDataForRegion; |
587 | } | 587 | } |
588 | 588 | ||
589 | // TODO: unused | ||
590 | // private void DisplayDataSet(DataSet ds, string title) | ||
591 | // { | ||
592 | // Debug.WriteLine(title); | ||
593 | // //--- Loop through the DataTables | ||
594 | // foreach (DataTable table in ds.Tables) | ||
595 | // { | ||
596 | // Debug.WriteLine("*** DataTable: " + table.TableName + "***"); | ||
597 | // //--- Loop through each DataTable's DataRows | ||
598 | // foreach (DataRow row in table.Rows) | ||
599 | // { | ||
600 | // //--- Display the original values, if there are any. | ||
601 | // if (row.HasVersion(DataRowVersion.Original)) | ||
602 | // { | ||
603 | // Debug.Write("Original Row Values ===> "); | ||
604 | // foreach (DataColumn column in table.Columns) | ||
605 | // Debug.Write(column.ColumnName + " = " + | ||
606 | // row[column, DataRowVersion.Original] + ", "); | ||
607 | // Debug.WriteLine(String.Empty); | ||
608 | // } | ||
609 | // //--- Display the current values, if there are any. | ||
610 | // if (row.HasVersion(DataRowVersion.Current)) | ||
611 | // { | ||
612 | // Debug.Write("Current Row Values ====> "); | ||
613 | // foreach (DataColumn column in table.Columns) | ||
614 | // Debug.Write(column.ColumnName + " = " + | ||
615 | // row[column, DataRowVersion.Current] + ", "); | ||
616 | // Debug.WriteLine(String.Empty); | ||
617 | // } | ||
618 | // Debug.WriteLine(String.Empty); | ||
619 | // } | ||
620 | // } | ||
621 | // } | ||
622 | |||
623 | public void Commit() | 589 | public void Commit() |
624 | { | 590 | { |
625 | if (m_connection.State != ConnectionState.Open) | 591 | if (m_connection.State != ConnectionState.Open) |
@@ -1515,14 +1481,6 @@ namespace OpenSim.Data.MySQL | |||
1515 | return param; | 1481 | return param; |
1516 | } | 1482 | } |
1517 | 1483 | ||
1518 | // TODO: unused | ||
1519 | // private MySqlParameter createParamWithValue(string name, Type type, Object o) | ||
1520 | // { | ||
1521 | // MySqlParameter param = createMySqlParameter(name, type); | ||
1522 | // param.Value = o; | ||
1523 | // return param; | ||
1524 | // } | ||
1525 | |||
1526 | private void SetupPrimCommands(MySqlDataAdapter da, MySqlConnection conn) | 1484 | private void SetupPrimCommands(MySqlDataAdapter da, MySqlConnection conn) |
1527 | { | 1485 | { |
1528 | MySqlCommand insertCommand = createInsertCommand("prims", m_primTable); | 1486 | MySqlCommand insertCommand = createInsertCommand("prims", m_primTable); |