aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorOren Hurvitz2014-04-20 12:47:30 +0300
committerOren Hurvitz2014-04-21 18:55:53 +0300
commitacc2c42a795b42df702ded3cc302daa8b3e4c04c (patch)
tree14e1dc2236151619ccf7bb72ce281b08bce2ac54 /OpenSim/Data
parentAdd 'lillith_xue' to list of CONTRIBUTORS.TXT (diff)
downloadopensim-SC_OLD-acc2c42a795b42df702ded3cc302daa8b3e4c04c.zip
opensim-SC_OLD-acc2c42a795b42df702ded3cc302daa8b3e4c04c.tar.gz
opensim-SC_OLD-acc2c42a795b42df702ded3cc302daa8b3e4c04c.tar.bz2
opensim-SC_OLD-acc2c42a795b42df702ded3cc302daa8b3e4c04c.tar.xz
Better logging in PresenceService, to help diagnose presence problems.
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MSSQL/Resources/Presence.migrations14
-rw-r--r--OpenSim/Data/MySQL/Resources/Presence.migrations10
2 files changed, 20 insertions, 4 deletions
diff --git a/OpenSim/Data/MSSQL/Resources/Presence.migrations b/OpenSim/Data/MSSQL/Resources/Presence.migrations
index bcb6328..f84275d 100644
--- a/OpenSim/Data/MSSQL/Resources/Presence.migrations
+++ b/OpenSim/Data/MSSQL/Resources/Presence.migrations
@@ -1,4 +1,4 @@
1:VERSION 1 1:VERSION 1
2 2
3BEGIN TRANSACTION 3BEGIN TRANSACTION
4 4
@@ -26,6 +26,14 @@ COMMIT
26 26
27BEGIN TRANSACTION 27BEGIN TRANSACTION
28 28
29ALTER TABLE Presence ADD LastSeen DateTime 29ALTER TABLE Presence ADD LastSeen DateTime;
30 30
31COMMIT \ No newline at end of file 31COMMIT
32
33:VERSION 3
34
35BEGIN TRANSACTION
36
37CREATE INDEX RegionID ON Presence(RegionID);
38
39COMMIT
diff --git a/OpenSim/Data/MySQL/Resources/Presence.migrations b/OpenSim/Data/MySQL/Resources/Presence.migrations
index be4030e..c4e40fa 100644
--- a/OpenSim/Data/MySQL/Resources/Presence.migrations
+++ b/OpenSim/Data/MySQL/Resources/Presence.migrations
@@ -1,4 +1,4 @@
1:VERSION 1 # -------------------------- 1:VERSION 1 # --------------------------
2 2
3BEGIN; 3BEGIN;
4 4
@@ -21,3 +21,11 @@ BEGIN;
21ALTER TABLE `Presence` ADD COLUMN LastSeen timestamp; 21ALTER TABLE `Presence` ADD COLUMN LastSeen timestamp;
22 22
23COMMIT; 23COMMIT;
24
25:VERSION 3 # --------------------------
26
27BEGIN;
28
29CREATE INDEX RegionID ON Presence(RegionID);
30
31COMMIT;