aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2007-05-04 04:03:04 +0000
committerAdam Frisby2007-05-04 04:03:04 +0000
commit11e3c3fe829a6862e90e6bf752cc2555cdc1c2ab (patch)
tree209461568967a121dfc8f013bccda24eed7fcce3
parentSemi-functional (in theory!) (diff)
downloadopensim-SC_OLD-11e3c3fe829a6862e90e6bf752cc2555cdc1c2ab.zip
opensim-SC_OLD-11e3c3fe829a6862e90e6bf752cc2555cdc1c2ab.tar.gz
opensim-SC_OLD-11e3c3fe829a6862e90e6bf752cc2555cdc1c2ab.tar.bz2
opensim-SC_OLD-11e3c3fe829a6862e90e6bf752cc2555cdc1c2ab.tar.xz
MySQL could now work in theory. Any testers?
Diffstat (limited to '')
-rw-r--r--OpenGrid.Framework.Data.MySQL/MySQLManager.cs28
1 files changed, 26 insertions, 2 deletions
diff --git a/OpenGrid.Framework.Data.MySQL/MySQLManager.cs b/OpenGrid.Framework.Data.MySQL/MySQLManager.cs
index 1d912e7..ec69549 100644
--- a/OpenGrid.Framework.Data.MySQL/MySQLManager.cs
+++ b/OpenGrid.Framework.Data.MySQL/MySQLManager.cs
@@ -73,9 +73,33 @@ namespace OpenGrid.Framework.Data.MySQL
73 73
74 if (reader.Read()) 74 if (reader.Read())
75 { 75 {
76 retval.regionLocX = (uint)reader["locX"]; 76 // Region Main
77 retval.regionHandle = (ulong)reader["regionHandle"];
78 retval.regionName = (string)reader["regionName"];
79 retval.UUID = new libsecondlife.LLUUID((string)reader["uuid"]);
80
81 // Secrets
82 retval.regionRecvKey = (string)reader["regionRecvKey"];
83 retval.regionSecret = (string)reader["regionSecret"];
84 retval.regionSendKey = (string)reader["regionSendKey"];
85
86 // Region Server
77 retval.regionDataURI = (string)reader["regionDataURI"]; 87 retval.regionDataURI = (string)reader["regionDataURI"];
78 88 retval.regionOnline = false;
89 retval.serverIP = "";
90 retval.serverPort = 0;
91 retval.serverURI = "";
92
93 // Location
94 retval.regionLocX = (uint)((int)reader["locX"]);
95 retval.regionLocY = (uint)((int)reader["locY"]);
96 retval.regionLocZ = (uint)((int)reader["locZ"]);
97
98 // Neighbours - 0 = No Override
99 retval.regionEastOverrideHandle = (ulong)reader["eastOverrideHandle"];
100 retval.regionWestOverrideHandle = (ulong)reader["westOverrideHandle"];
101 retval.regionSouthOverrideHandle = (ulong)reader["southOverrideHandle"];
102 retval.regionNorthOverrideHandle = (ulong)reader["northOverrideHandle"];
79 } 103 }
80 else 104 else
81 { 105 {