Add backtrace information to database debug log
Merge pull request #233 from elkuku/dbquery-debug

Add backtrace information to database debug log