diff options
author | Justin Clark-Casey (justincc) | 2012-04-17 00:02:58 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-17 00:02:58 +0100 |
commit | f213f55586b9af66955fdfccdd50237febaf98ca (patch) | |
tree | ae9e2e5c41efb7ec78e960ae0f09aa882f708066 /OpenSim/Services/Interfaces | |
parent | Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition() (diff) | |
download | opensim-SC-f213f55586b9af66955fdfccdd50237febaf98ca.zip opensim-SC-f213f55586b9af66955fdfccdd50237febaf98ca.tar.gz opensim-SC-f213f55586b9af66955fdfccdd50237febaf98ca.tar.bz2 opensim-SC-f213f55586b9af66955fdfccdd50237febaf98ca.tar.xz |
Fix bug in WebStatsModule where an exception would always be output on update if the user teleported to another region on that simulator.
This was because update was looking for an existing stats record unique in session id, agent id and region id.
But if the user teleports to another region then region id changes.
WebStatsModule promptly doesn't find the existing record and tries to insert a new one, but only session id is the primary key and that's still the same, which makes things go bang.
This makes the update search only on the unique session id.
This is only an issue with simulators that have multiple regions where the webstats module is enabled.
Diffstat (limited to 'OpenSim/Services/Interfaces')
0 files changed, 0 insertions, 0 deletions