a few cosmetic changes

This commit is contained in:
UbitUmarov
2023-11-12 22:24:53 +00:00
parent 80e930e9a6
commit f94f6e77bf
10 changed files with 58 additions and 57 deletions

View File

@@ -2831,6 +2831,11 @@ namespace OpenSim.Data.SQLite
da.InsertCommand.Connection = conn;
da.UpdateCommand = createUpdateCommand("regionenvironment", "region_id=:region_id", ds.Tables["regionenvironment"]);
da.UpdateCommand.Connection = conn;
SqliteCommand delete = new SqliteCommand("delete from regionenvironment where region_id= :region_id");
delete.Parameters.Add(createSqliteParameter("region_id", typeof(String)));
da.DeleteCommand = delete;
da.DeleteCommand.Connection = conn;
}
private void setupRegionSpawnPointsCommands(SqliteDataAdapter da, SqliteConnection conn)