summaryrefslogtreecommitdiffstats
path: root/syncshadowdb
AgeCommit message (Collapse)AuthorFilesLines
2001-08-31Fix for bug 75840: syncshadowdb -syncall now properly shuts down Bugzilla ↵justdave%syndicomm.com1-7/+88
during the sync process so mysql doesn't get overloaded while the tables are locked. This patch also adds some funtionality to the script to allow you to specify an alternate temp directory on the command line, in case you have a large database and need it made to a different filesystem for space reasons. Patch by Dawn Endico <endico@mozilla.org> and Jake Steenhagen <jake@acutex.net> r= justdave@syndicomm.com
2001-06-11Fix for bug 84596: Syncshadowdb wasn't using the db_user and db_pass from ↵justdave%syndicomm.com1-8/+11
localconfig, which meant that it previously wouldn't run unless it was running under a user that had access to the bugs and shadowbugs dbs and didn't have a password. It now looks for db_user and db_pass and specifies them on the command line to mysqldump and mysql if they're in use. r= tara
2001-06-11Re-fix for bug 21253: fix calling conventions for syncshadowdb so that a ↵justdave%syndicomm.com1-0/+3
phony parameter to get past the multi-param system() test in tinderbox actually works. r= tara
2001-06-07Fix "used only once" error, per tinderbox build log.justdave%syndicomm.com1-0/+1
2001-06-07Fix for bug 21253: removing all single-parameter system() calls from Bugzillajustdave%syndicomm.com1-2/+5
Patch by Dave Miller <justdave@syndicomm.com> r= tara@tequilarista.org
2000-10-24when invoked with -syncall, have the GET_LOCK time out after 45 minutes ↵dmose%mozilla.org1-2/+6
rather than 1 second, since we want syncall to happen anyway, even if other individual syncs are currently in progress. r=endico@mozilla.org
2000-06-06change db->query to db->do to be compatible with latest version of DBI andcyeh%bluemartini.com1-1/+1
DBD.
2000-03-21Clear the shadow log when doing a full sync; the data isn't good forterry%mozilla.org1-1/+2
anything anyway.
2000-03-21Make the syncing process low priority, so that we won't hang upterry%mozilla.org1-0/+8
shadowdb operations.
2000-03-21Make it so that we can (hopefully!) rebuild the shadow db withoutterry%mozilla.org1-14/+79
busting other people trying to use the system.
2000-03-17doh! my last checkin broke -v. fixed.dmose%mozilla.org1-3/+1
2000-03-16get rid of undefined warningdmose%mozilla.org1-1/+1
2000-02-18Added an optional ability to keep a read-only shadow database, so thatterry%mozilla.org1-0/+141
bug queries can be run against it, so that these slow queries won't be able to tie up the rest of the system.