aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data.DB4o
diff options
context:
space:
mode:
authorAdam Frisby2007-05-05 23:57:43 +0000
committerAdam Frisby2007-05-05 23:57:43 +0000
commit042d69edaa9b905ebef70565ca0e1cb8b944685b (patch)
tree9ef0c5b3269a2017a881f4569c1eda1d6f6094db /OpenGrid.Framework.Data.DB4o
parentSQLite support added to grid manager. (Win!) (diff)
downloadopensim-SC_OLD-042d69edaa9b905ebef70565ca0e1cb8b944685b.zip
opensim-SC_OLD-042d69edaa9b905ebef70565ca0e1cb8b944685b.tar.gz
opensim-SC_OLD-042d69edaa9b905ebef70565ca0e1cb8b944685b.tar.bz2
opensim-SC_OLD-042d69edaa9b905ebef70565ca0e1cb8b944685b.tar.xz
Fixed bug with adding sims to DB4o based grid interface
Diffstat (limited to '')
-rw-r--r--OpenGrid.Framework.Data.DB4o/DB4oGridData.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs b/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs
index c8152f4..63f976f 100644
--- a/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs
+++ b/OpenGrid.Framework.Data.DB4o/DB4oGridData.cs
@@ -41,7 +41,14 @@ namespace OpenGrid.Framework.Data.DB4o
41 41
42 public DataResponse AddProfile(SimProfileData profile) 42 public DataResponse AddProfile(SimProfileData profile)
43 { 43 {
44 return DataResponse.RESPONSE_OK; 44 if (manager.AddRow(profile))
45 {
46 return DataResponse.RESPONSE_OK;
47 }
48 else
49 {
50 return DataResponse.RESPONSE_ERROR;
51 }
45 } 52 }
46 53
47 public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) { 54 public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) {