Limit backtrace frames to return
Adding getGuarded() getter.

Is there any particular reason why this one has not been created initially?
Various database fixes
Fix the docblock for constructor
Merge pull request #6709 from GrahamForks/4.2-fixes

[4.2] Various Database Fixes
Merge pull request #6711 from Claymm/patch-3

[4.2] Added getGuarded()