diff options
author | elij <elij.mx@gmail.com> | 2011-04-26 11:52:11 -0700 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-04-27 14:50:44 +0200 |
commit | c43558ba60ed027227010a9b93e37ee8b78be430 (patch) | |
tree | 12f29b4a4376c6f9713d7156b9446e2ea87d204a /web/lib/stats.inc | |
parent | 10ea5f5ff63ee7626ba4ad5dfdf3a711c31249e3 (diff) | |
download | aurweb-c43558ba60ed027227010a9b93e37ee8b78be430.tar.xz |
add SQL_DEBUG variable and database logging
add a hook to db_query to log all sql queries when SQL_DEBUG is set
Additionally, provide better logging for sql error situations (provide
backtrace as well as error message).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/stats.inc')
0 files changed, 0 insertions, 0 deletions