aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorMelanie2011-06-20 02:29:09 +0200
committerMelanie2011-06-20 02:29:09 +0200
commit163ee8216873f963efd3ea42dd007b095214bce0 (patch)
treee45f31851f202e06f956013d98a4c86d6d016b9d /OpenSim/Data/MySQL
parentMake the last otem in a list created with llCSV2List findable (diff)
downloadopensim-SC_OLD-163ee8216873f963efd3ea42dd007b095214bce0.zip
opensim-SC_OLD-163ee8216873f963efd3ea42dd007b095214bce0.tar.gz
opensim-SC_OLD-163ee8216873f963efd3ea42dd007b095214bce0.tar.bz2
opensim-SC_OLD-163ee8216873f963efd3ea42dd007b095214bce0.tar.xz
Add some flags to control content in search better
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs
index 3306968..0754ca8 100644
--- a/OpenSim/Data/MySQL/MySQLSimulationData.cs
+++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs
@@ -1011,7 +1011,7 @@ namespace OpenSim.Data.MySQL
1011 "use_estate_sun, fixed_sun, sun_position, " + 1011 "use_estate_sun, fixed_sun, sun_position, " +
1012 "covenant, Sandbox, sunvectorx, sunvectory, " + 1012 "covenant, Sandbox, sunvectorx, sunvectory, " +
1013 "sunvectorz, loaded_creation_datetime, " + 1013 "sunvectorz, loaded_creation_datetime, " +
1014 "loaded_creation_id, map_tile_ID) values (?RegionUUID, ?BlockTerraform, " + 1014 "loaded_creation_id, map_tile_ID, block_search, casino) values (?RegionUUID, ?BlockTerraform, " +
1015 "?BlockFly, ?AllowDamage, ?RestrictPushing, " + 1015 "?BlockFly, ?AllowDamage, ?RestrictPushing, " +
1016 "?AllowLandResell, ?AllowLandJoinDivide, " + 1016 "?AllowLandResell, ?AllowLandJoinDivide, " +
1017 "?BlockShowInSearch, ?AgentLimit, ?ObjectBonus, " + 1017 "?BlockShowInSearch, ?AgentLimit, ?ObjectBonus, " +
@@ -1026,7 +1026,7 @@ namespace OpenSim.Data.MySQL
1026 "?SunPosition, ?Covenant, ?Sandbox, " + 1026 "?SunPosition, ?Covenant, ?Sandbox, " +
1027 "?SunVectorX, ?SunVectorY, ?SunVectorZ, " + 1027 "?SunVectorX, ?SunVectorY, ?SunVectorZ, " +
1028 "?LoadedCreationDateTime, ?LoadedCreationID, " + 1028 "?LoadedCreationDateTime, ?LoadedCreationID, " +
1029 "?TerrainImageID)"; 1029 "?TerrainImageID, ?block_search, ?casino)";
1030 1030
1031 FillRegionSettingsCommand(cmd, rs); 1031 FillRegionSettingsCommand(cmd, rs);
1032 1032
@@ -1315,6 +1315,9 @@ namespace OpenSim.Data.MySQL
1315 1315
1316 newSettings.TerrainImageID = DBGuid.FromDB(row["map_tile_ID"]); 1316 newSettings.TerrainImageID = DBGuid.FromDB(row["map_tile_ID"]);
1317 1317
1318 newSettings.GodBlockSearch = Convert.ToBoolean(row["block_search"]);
1319 newSettings.Casino = Convert.ToBoolean(row["casino"]);
1320
1318 return newSettings; 1321 return newSettings;
1319 } 1322 }
1320 1323
@@ -1644,6 +1647,8 @@ namespace OpenSim.Data.MySQL
1644 cmd.Parameters.AddWithValue("LoadedCreationDateTime", settings.LoadedCreationDateTime); 1647 cmd.Parameters.AddWithValue("LoadedCreationDateTime", settings.LoadedCreationDateTime);
1645 cmd.Parameters.AddWithValue("LoadedCreationID", settings.LoadedCreationID); 1648 cmd.Parameters.AddWithValue("LoadedCreationID", settings.LoadedCreationID);
1646 cmd.Parameters.AddWithValue("TerrainImageID", settings.TerrainImageID); 1649 cmd.Parameters.AddWithValue("TerrainImageID", settings.TerrainImageID);
1650 cmd.Parameters.AddWithValue("block_search", settings.GodBlockSearch);
1651 cmd.Parameters.AddWithValue("casino", settings.Casino);
1647 1652
1648 } 1653 }
1649 1654