mirror of
https://github.com/opensim/opensim.git
synced 2026-05-19 22:45:43 +08:00
* Spring cleaned a bunch of '//TODO: unused' marked functions.
This commit is contained in:
@@ -586,40 +586,6 @@ namespace OpenSim.Data.MySQL
|
||||
return landDataForRegion;
|
||||
}
|
||||
|
||||
// TODO: unused
|
||||
// private void DisplayDataSet(DataSet ds, string title)
|
||||
// {
|
||||
// Debug.WriteLine(title);
|
||||
// //--- Loop through the DataTables
|
||||
// foreach (DataTable table in ds.Tables)
|
||||
// {
|
||||
// Debug.WriteLine("*** DataTable: " + table.TableName + "***");
|
||||
// //--- Loop through each DataTable's DataRows
|
||||
// foreach (DataRow row in table.Rows)
|
||||
// {
|
||||
// //--- Display the original values, if there are any.
|
||||
// if (row.HasVersion(DataRowVersion.Original))
|
||||
// {
|
||||
// Debug.Write("Original Row Values ===> ");
|
||||
// foreach (DataColumn column in table.Columns)
|
||||
// Debug.Write(column.ColumnName + " = " +
|
||||
// row[column, DataRowVersion.Original] + ", ");
|
||||
// Debug.WriteLine(String.Empty);
|
||||
// }
|
||||
// //--- Display the current values, if there are any.
|
||||
// if (row.HasVersion(DataRowVersion.Current))
|
||||
// {
|
||||
// Debug.Write("Current Row Values ====> ");
|
||||
// foreach (DataColumn column in table.Columns)
|
||||
// Debug.Write(column.ColumnName + " = " +
|
||||
// row[column, DataRowVersion.Current] + ", ");
|
||||
// Debug.WriteLine(String.Empty);
|
||||
// }
|
||||
// Debug.WriteLine(String.Empty);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
public void Commit()
|
||||
{
|
||||
if (m_connection.State != ConnectionState.Open)
|
||||
@@ -1515,14 +1481,6 @@ namespace OpenSim.Data.MySQL
|
||||
return param;
|
||||
}
|
||||
|
||||
// TODO: unused
|
||||
// private MySqlParameter createParamWithValue(string name, Type type, Object o)
|
||||
// {
|
||||
// MySqlParameter param = createMySqlParameter(name, type);
|
||||
// param.Value = o;
|
||||
// return param;
|
||||
// }
|
||||
|
||||
private void SetupPrimCommands(MySqlDataAdapter da, MySqlConnection conn)
|
||||
{
|
||||
MySqlCommand insertCommand = createInsertCommand("prims", m_primTable);
|
||||
|
||||
Reference in New Issue
Block a user