aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorMelanie2009-12-30 22:23:17 +0000
committerMelanie2009-12-30 22:23:17 +0000
commitb6097ae9a8a4566330d882213179feba6d05da62 (patch)
tree382dc5f27e9734076f2808b07c8804323cc27f38 /OpenSim/Data
parentMerge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/open... (diff)
downloadopensim-SC_OLD-b6097ae9a8a4566330d882213179feba6d05da62.zip
opensim-SC_OLD-b6097ae9a8a4566330d882213179feba6d05da62.tar.gz
opensim-SC_OLD-b6097ae9a8a4566330d882213179feba6d05da62.tar.bz2
opensim-SC_OLD-b6097ae9a8a4566330d882213179feba6d05da62.tar.xz
Some modifications to user service. Query by name is implemented now
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/IUserAccountData.cs1
-rw-r--r--OpenSim/Data/MSSQL/MSSQLUserAccountData.cs5
-rw-r--r--OpenSim/Data/MySQL/MySQLUserAccountData.cs1
3 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Data/IUserAccountData.cs b/OpenSim/Data/IUserAccountData.cs
index 3d0dde4..5ebe7d3 100644
--- a/OpenSim/Data/IUserAccountData.cs
+++ b/OpenSim/Data/IUserAccountData.cs
@@ -46,6 +46,7 @@ namespace OpenSim.Data
46 /// </summary> 46 /// </summary>
47 public interface IUserAccountData 47 public interface IUserAccountData
48 { 48 {
49 UserAccountData[] Get(string[] fields, string[] values);
49 bool Store(UserAccountData data, UUID principalID, string token); 50 bool Store(UserAccountData data, UUID principalID, string token);
50 } 51 }
51} 52}
diff --git a/OpenSim/Data/MSSQL/MSSQLUserAccountData.cs b/OpenSim/Data/MSSQL/MSSQLUserAccountData.cs
index 4db2777..01750d8 100644
--- a/OpenSim/Data/MSSQL/MSSQLUserAccountData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLUserAccountData.cs
@@ -189,5 +189,10 @@ namespace OpenSim.Data.MSSQL
189 } 189 }
190 return false; 190 return false;
191 } 191 }
192
193 public UserAccountData[] Get(string[] keys, string[] vals)
194 {
195 return null;
196 }
192 } 197 }
193} 198}
diff --git a/OpenSim/Data/MySQL/MySQLUserAccountData.cs b/OpenSim/Data/MySQL/MySQLUserAccountData.cs
index c6eb44d..e2ce6d1 100644
--- a/OpenSim/Data/MySQL/MySQLUserAccountData.cs
+++ b/OpenSim/Data/MySQL/MySQLUserAccountData.cs
@@ -41,6 +41,7 @@ namespace OpenSim.Data.MySQL
41 : base(connectionString, realm, "UserAccount") 41 : base(connectionString, realm, "UserAccount")
42 { 42 {
43 } 43 }
44
44 public bool Store(UserAccountData data, UUID principalID, string token) 45 public bool Store(UserAccountData data, UUID principalID, string token)
45 { 46 {
46 return Store(data); 47 return Store(data);