Commit Graph

7 Commits

Author SHA1 Message Date
Chris Morgan
311081fda5 Handle mysql transaction deadlocks more gracefully by making multiple attempts when they occur 2006-07-19 19:20:16 +00:00
Chris Morgan
55065a254c Add mysql_errno() output to error logging 2006-07-19 17:34:59 +00:00
Chris Morgan
3697e8b9c4 Swap error logging and addmsg() calls as addmsg() performs a database transaction and will clear out any error that
we wanted to report when error logging and calling mysql_error()
2006-07-19 17:18:16 +00:00
Chris Morgan
a651a3cdf3 Modify query_error() to log errors to a database table instead of displaying them on the screen. This should
let us more easily debug difficult or intermittent issues that users may not report. Add a cron to report logged
errors to appdb admins every night.  Implement some basic unit tests for the new error logging code
2006-07-19 16:37:54 +00:00
Chris Morgan
0019810922 Rename include/db.php to include/query.php, all of the functions in db.php were named query_*(). Rename test_db.php to
test_query.php to match the rename of include/db.php.  Modify include/incl.php to include query.php instead of db.php
2006-07-17 20:56:07 +00:00
Paul van Schayck
2cc48a3ca9 Remove unused files 2005-01-08 18:52:49 +00:00
Jonathan Ernst
8b412e4de1 Rename *_inc.php files to drop the '_inc' 2004-12-25 20:51:07 +00:00