diff options
author | Adam Frisby | 2007-05-31 14:05:19 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-31 14:05:19 +0000 |
commit | a0305888bcc7cd2e97f14c5e7893d151a5b9de7b (patch) | |
tree | 54344bc967d58a368c0eda92dab9bb43b9d7cfb1 /OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs | |
parent | Shelling out a Inventory framework a bit more. (diff) | |
download | opensim-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/MySQLUserData.cs')
-rw-r--r-- | OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs index 6f3cad6..4a7276c 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs +++ b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs | |||
@@ -41,7 +41,7 @@ namespace OpenGrid.Framework.Data.MySQL | |||
41 | System.Data.IDbCommand result = database.Query("SELECT * FROM users WHERE username = ?first AND lastname = ?second", param); | 41 | System.Data.IDbCommand result = database.Query("SELECT * FROM users WHERE username = ?first AND lastname = ?second", param); |
42 | System.Data.IDataReader reader = result.ExecuteReader(); | 42 | System.Data.IDataReader reader = result.ExecuteReader(); |
43 | 43 | ||
44 | UserProfileData row = database.getUserRow(reader); | 44 | UserProfileData row = database.readUserRow(reader); |
45 | 45 | ||
46 | reader.Close(); | 46 | reader.Close(); |
47 | result.Dispose(); | 47 | result.Dispose(); |
@@ -69,7 +69,7 @@ namespace OpenGrid.Framework.Data.MySQL | |||
69 | System.Data.IDbCommand result = database.Query("SELECT * FROM users WHERE UUID = ?uuid", param); | 69 | System.Data.IDbCommand result = database.Query("SELECT * FROM users WHERE UUID = ?uuid", param); |
70 | System.Data.IDataReader reader = result.ExecuteReader(); | 70 | System.Data.IDataReader reader = result.ExecuteReader(); |
71 | 71 | ||
72 | UserProfileData row = database.getUserRow(reader); | 72 | UserProfileData row = database.readUserRow(reader); |
73 | 73 | ||
74 | reader.Close(); | 74 | reader.Close(); |
75 | result.Dispose(); | 75 | result.Dispose(); |
@@ -108,7 +108,7 @@ namespace OpenGrid.Framework.Data.MySQL | |||
108 | System.Data.IDbCommand result = database.Query("SELECT * FROM agents WHERE UUID = ?uuid", param); | 108 | System.Data.IDbCommand result = database.Query("SELECT * FROM agents WHERE UUID = ?uuid", param); |
109 | System.Data.IDataReader reader = result.ExecuteReader(); | 109 | System.Data.IDataReader reader = result.ExecuteReader(); |
110 | 110 | ||
111 | UserAgentData row = database.getAgentRow(reader); | 111 | UserAgentData row = database.readAgentRow(reader); |
112 | 112 | ||
113 | reader.Close(); | 113 | reader.Close(); |
114 | result.Dispose(); | 114 | result.Dispose(); |