aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-31 14:05:19 +0000
committerAdam Frisby2007-05-31 14:05:19 +0000
commita0305888bcc7cd2e97f14c5e7893d151a5b9de7b (patch)
tree54344bc967d58a368c0eda92dab9bb43b9d7cfb1 /OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
parentShelling out a Inventory framework a bit more. (diff)
downloadopensim-SC_OLD-a0305888bcc7cd2e97f14c5e7893d151a5b9de7b.zip
opensim-SC_OLD-a0305888bcc7cd2e97f14c5e7893d151a5b9de7b.tar.gz
opensim-SC_OLD-a0305888bcc7cd2e97f14c5e7893d151a5b9de7b.tar.bz2
opensim-SC_OLD-a0305888bcc7cd2e97f14c5e7893d151a5b9de7b.tar.xz
* Yet more inventory shelling
* Very initial MySQL work done * Refactored some of the MySQL code - functions which are passed a reader are no longer getX() but now readX().
Diffstat (limited to 'OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs')
-rw-r--r--OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
index 5006aaf..e047c6d 100644
--- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
+++ b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
@@ -62,7 +62,7 @@ namespace OpenGrid.Framework.Data.MySQL
62 62
63 List<SimProfileData> rows = new List<SimProfileData>(); 63 List<SimProfileData> rows = new List<SimProfileData>();
64 64
65 while ((row = database.getSimRow(reader)) != null) 65 while ((row = database.readSimRow(reader)) != null)
66 { 66 {
67 rows.Add(row); 67 rows.Add(row);
68 } 68 }
@@ -98,7 +98,7 @@ namespace OpenGrid.Framework.Data.MySQL
98 System.Data.IDbCommand result = database.Query("SELECT * FROM regions WHERE regionHandle = ?handle", param); 98 System.Data.IDbCommand result = database.Query("SELECT * FROM regions WHERE regionHandle = ?handle", param);
99 System.Data.IDataReader reader = result.ExecuteReader(); 99 System.Data.IDataReader reader = result.ExecuteReader();
100 100
101 SimProfileData row = database.getSimRow(reader); 101 SimProfileData row = database.readSimRow(reader);
102 reader.Close(); 102 reader.Close();
103 result.Dispose(); 103 result.Dispose();
104 104
@@ -130,7 +130,7 @@ namespace OpenGrid.Framework.Data.MySQL
130 System.Data.IDbCommand result = database.Query("SELECT * FROM regions WHERE uuid = ?uuid", param); 130 System.Data.IDbCommand result = database.Query("SELECT * FROM regions WHERE uuid = ?uuid", param);
131 System.Data.IDataReader reader = result.ExecuteReader(); 131 System.Data.IDataReader reader = result.ExecuteReader();
132 132
133 SimProfileData row = database.getSimRow(reader); 133 SimProfileData row = database.readSimRow(reader);
134 reader.Close(); 134 reader.Close();
135 result.Dispose(); 135 result.Dispose();
136 136