diff options
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLManager.cs')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLManager.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLManager.cs b/OpenSim/Framework/Data.MySQL/MySQLManager.cs index ab478ed..88365a3 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLManager.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLManager.cs | |||
@@ -246,12 +246,12 @@ namespace OpenSim.Framework.Data.MySQL | |||
246 | retval.gridRecvKey = (string)reader["gridRecvKey"]; | 246 | retval.gridRecvKey = (string)reader["gridRecvKey"]; |
247 | retval.gridSendKey = (string)reader["gridSendKey"]; | 247 | retval.gridSendKey = (string)reader["gridSendKey"]; |
248 | retval.reservationCompany = (string)reader["resCompany"]; | 248 | retval.reservationCompany = (string)reader["resCompany"]; |
249 | retval.reservationMaxX = (int)reader["resXMax"]; | 249 | retval.reservationMaxX = Convert.ToInt32(reader["resXMax"].ToString()); |
250 | retval.reservationMaxY = (int)reader["resYMax"]; | 250 | retval.reservationMaxY = Convert.ToInt32(reader["resYMax"].ToString()); |
251 | retval.reservationMinX = (int)reader["resXMin"]; | 251 | retval.reservationMinX = Convert.ToInt32(reader["resXMin"].ToString()); |
252 | retval.reservationMinY = (int)reader["resYMin"]; | 252 | retval.reservationMinY = Convert.ToInt32(reader["resYMin"].ToString()); |
253 | retval.reservationName = (string)reader["resName"]; | 253 | retval.reservationName = (string)reader["resName"]; |
254 | retval.status = (bool)reader["status"]; | 254 | retval.status = Convert.ToInt32(reader["status"].ToString()) == 1; |
255 | retval.userUUID = new LLUUID((string)reader["userUUID"]); | 255 | retval.userUUID = new LLUUID((string)reader["userUUID"]); |
256 | 256 | ||
257 | } | 257 | } |