WineHQ
b858e2ba53
Unit tests should run with E_ALL so we can detect all errors. Fix dozens of errors that popped up after enabling all errors.
2006-11-25 17:24:44 +00:00
Chris Morgan
1a5f9b3b0f
query_error() can infinitely recurse as errors are inserted into the database and if the database doesn't exist
...
then the db insertion will fail and result in a call to query_error(). Once we've entered query_error() once if we enter it
again we should simply return
2006-09-26 02:10:57 +00:00
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