diff options
author | Oren Hurvitz | 2014-04-20 12:47:30 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-21 18:55:53 +0300 |
commit | acc2c42a795b42df702ded3cc302daa8b3e4c04c (patch) | |
tree | 14e1dc2236151619ccf7bb72ce281b08bce2ac54 /OpenSim/Data | |
parent | Add 'lillith_xue' to list of CONTRIBUTORS.TXT (diff) | |
download | opensim-SC-acc2c42a795b42df702ded3cc302daa8b3e4c04c.zip opensim-SC-acc2c42a795b42df702ded3cc302daa8b3e4c04c.tar.gz opensim-SC-acc2c42a795b42df702ded3cc302daa8b3e4c04c.tar.bz2 opensim-SC-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.migrations | 14 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/Resources/Presence.migrations | 10 |
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 | ||
3 | BEGIN TRANSACTION | 3 | BEGIN TRANSACTION |
4 | 4 | ||
@@ -26,6 +26,14 @@ COMMIT | |||
26 | 26 | ||
27 | BEGIN TRANSACTION | 27 | BEGIN TRANSACTION |
28 | 28 | ||
29 | ALTER TABLE Presence ADD LastSeen DateTime | 29 | ALTER TABLE Presence ADD LastSeen DateTime; |
30 | 30 | ||
31 | COMMIT \ No newline at end of file | 31 | COMMIT |
32 | |||
33 | :VERSION 3 | ||
34 | |||
35 | BEGIN TRANSACTION | ||
36 | |||
37 | CREATE INDEX RegionID ON Presence(RegionID); | ||
38 | |||
39 | COMMIT | ||
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 | ||
3 | BEGIN; | 3 | BEGIN; |
4 | 4 | ||
@@ -21,3 +21,11 @@ BEGIN; | |||
21 | ALTER TABLE `Presence` ADD COLUMN LastSeen timestamp; | 21 | ALTER TABLE `Presence` ADD COLUMN LastSeen timestamp; |
22 | 22 | ||
23 | COMMIT; | 23 | COMMIT; |
24 | |||
25 | :VERSION 3 # -------------------------- | ||
26 | |||
27 | BEGIN; | ||
28 | |||
29 | CREATE INDEX RegionID ON Presence(RegionID); | ||
30 | |||
31 | COMMIT; | ||