aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorMelanie2009-11-18 08:21:28 +0000
committerMelanie2009-11-18 08:21:28 +0000
commit06ecdf1967848e3f0c6b6f98aba61c7ad099f65d (patch)
tree56275806fb3df065c1734bd10d179ebfcea64c89 /OpenSim/Data
parentChange PresenceData to PresenceInfo to remove a naming conflict in the (diff)
downloadopensim-SC_OLD-06ecdf1967848e3f0c6b6f98aba61c7ad099f65d.zip
opensim-SC_OLD-06ecdf1967848e3f0c6b6f98aba61c7ad099f65d.tar.gz
opensim-SC_OLD-06ecdf1967848e3f0c6b6f98aba61c7ad099f65d.tar.bz2
opensim-SC_OLD-06ecdf1967848e3f0c6b6f98aba61c7ad099f65d.tar.xz
Tweak presence handling and whip up a database connector and handler
for testign the new generic table handling
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/IPresenceData.cs4
-rw-r--r--OpenSim/Data/MySQL/MySQLGenericTableHandler.cs4
2 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Data/IPresenceData.cs b/OpenSim/Data/IPresenceData.cs
index 891b590..020ba5d 100644
--- a/OpenSim/Data/IPresenceData.cs
+++ b/OpenSim/Data/IPresenceData.cs
@@ -32,11 +32,11 @@ using OpenSim.Framework;
32 32
33namespace OpenSim.Data 33namespace OpenSim.Data
34{ 34{
35 public class PresenceData 35 public struct PresenceData
36 { 36 {
37 public UUID UUID; 37 public UUID UUID;
38 public UUID currentRegion; 38 public UUID currentRegion;
39 public Dictionary<string, object> Data; 39 public Dictionary<string, string> Data;
40 } 40 }
41 41
42 /// <summary> 42 /// <summary>
diff --git a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
index 4eb4a24..1521dc7 100644
--- a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
+++ b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
@@ -190,11 +190,13 @@ namespace OpenSim.Data.MySQL
190 return DoQuery(cmd); 190 return DoQuery(cmd);
191 } 191 }
192 192
193 public void Store(T row) 193 public bool Store(T row)
194 { 194 {
195 MySqlCommand cmd = new MySqlCommand(); 195 MySqlCommand cmd = new MySqlCommand();
196 196
197 string query = ""; 197 string query = "";
198
199 return false;
198 } 200 }
199 } 201 }
200} 202}