aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/MSSQLRegionData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLRegionData.cs')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLRegionData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs
index d267e41..ff9d860 100644
--- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs
@@ -644,7 +644,7 @@ VALUES
644 using (AutoClosingSqlCommand cmd = _Database.Query(sql)) 644 using (AutoClosingSqlCommand cmd = _Database.Query(sql))
645 { 645 {
646 cmd.Parameters.Add(_Database.CreateParameter("@regionUUID", regionUUID.ToString())); 646 cmd.Parameters.Add(_Database.CreateParameter("@regionUUID", regionUUID.ToString()));
647 using(SqlDataReader reader = cmd.ExecuteReader()) 647 using (SqlDataReader reader = cmd.ExecuteReader())
648 { 648 {
649 if (reader.Read()) 649 if (reader.Read())
650 { 650 {
@@ -1519,7 +1519,7 @@ VALUES
1519 1519
1520 dataAdapter.InsertCommand = commandBuilder.GetInsertCommand(true); 1520 dataAdapter.InsertCommand = commandBuilder.GetInsertCommand(true);
1521 dataAdapter.UpdateCommand = commandBuilder.GetUpdateCommand(true); 1521 dataAdapter.UpdateCommand = commandBuilder.GetUpdateCommand(true);
1522 dataAdapter.DeleteCommand = commandBuilder.GetDeleteCommand(true); 1522 dataAdapter.DeleteCommand = commandBuilder.GetDeleteCommand(true);
1523 } 1523 }
1524 #endregion 1524 #endregion
1525 } 1525 }