aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLManager.cs')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLManager.cs b/OpenSim/Framework/Data.MySQL/MySQLManager.cs
index d3f6976..8600d6b 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLManager.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLManager.cs
@@ -267,9 +267,9 @@ namespace OpenSim.Framework.Data.MySQL
267 /// </summary> 267 /// </summary>
268 /// <param name="reader">An active database reader</param> 268 /// <param name="reader">An active database reader</param>
269 /// <returns>A region profile</returns> 269 /// <returns>A region profile</returns>
270 public SimProfileData readSimRow(IDataReader reader) 270 public RegionProfileData readSimRow(IDataReader reader)
271 { 271 {
272 SimProfileData retval = new SimProfileData(); 272 RegionProfileData retval = new RegionProfileData();
273 273
274 if (reader.Read()) 274 if (reader.Read())
275 { 275 {
@@ -583,7 +583,7 @@ namespace OpenSim.Framework.Data.MySQL
583 /// </summary> 583 /// </summary>
584 /// <param name="profile">The region to insert</param> 584 /// <param name="profile">The region to insert</param>
585 /// <returns>Success?</returns> 585 /// <returns>Success?</returns>
586 public bool insertRegion(SimProfileData regiondata) 586 public bool insertRegion(RegionProfileData regiondata)
587 { 587 {
588 string sql = "REPLACE INTO regions (regionHandle, regionName, uuid, regionRecvKey, regionSecret, regionSendKey, regionDataURI, "; 588 string sql = "REPLACE INTO regions (regionHandle, regionName, uuid, regionRecvKey, regionSecret, regionSendKey, regionDataURI, ";
589 sql += "serverIP, serverPort, serverURI, locX, locY, locZ, eastOverrideHandle, westOverrideHandle, southOverrideHandle, northOverrideHandle, regionAssetURI, regionAssetRecvKey, "; 589 sql += "serverIP, serverPort, serverURI, locX, locY, locZ, eastOverrideHandle, westOverrideHandle, southOverrideHandle, northOverrideHandle, regionAssetURI, regionAssetRecvKey, ";