Gary Kotton 7f21283ef3 Fix issues with db pooling
Fixes bug 1157045

In addition to this a cast is used instead of a call for the
report update.

Change-Id: I1b0ea5b18b3d75dc3d047975b234275420af189c
2013-03-21 18:02:15 +00:00
..
2013-03-21 18:02:15 +00:00