Closed Bug 408032 Opened 16 years ago Closed 16 years ago
[Oracle] Make bzdbcopy
.pl work with Oracle
bzdbcopy and Bugzilla in general require a few modifications in order to make bzdbcopy.pl work with Oracle.
Okay, here we go! I'm glad that bzdbcopy is a contrib script, because there's some pretty hackish stuff in here. :-) Anyhow, this worked fine to copy over the bugs_tip database to Oracle on landfill, so I'm pronouncing it done.
Attachment #292729 - Flags: review+
Oh, and the patch also fixes a totally separate bug about Oracle naming FK triggers incorrectly. And it also makes bzdbcopy output nice progress indicators using indicate_progress.
Okay, I'm granting myself approval now, but I'm going to sleep on this before checking it in.
Okay, glad I slept on it. I found a few things that needed fixing or improving.
Checking in Bugzilla/DB.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB.pm,v <-- DB.pm new revision: 1.105; previous revision: 1.104 done Checking in Bugzilla/DB/Oracle.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Oracle.pm,v <-- Oracle.pm new revision: 1.3; previous revision: 1.2 done Checking in Bugzilla/DB/Schema.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema.pm,v <-- Schema.pm new revision: 1.94; previous revision: 1.93 done Checking in Bugzilla/DB/Schema/Mysql.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema/Mysql.pm,v <-- Mysql.pm new revision: 1.19; previous revision: 1.18 done Checking in Bugzilla/DB/Schema/Oracle.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema/Oracle.pm,v <-- Oracle.pm new revision: 1.3; previous revision: 1.2 done Checking in Bugzilla/Install/Util.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Util.pm,v <-- Util.pm new revision: 1.11; previous revision: 1.10 done Checking in contrib/bzdbcopy.pl; /cvsroot/mozilla/webtools/bugzilla/contrib/bzdbcopy.pl,v <-- bzdbcopy.pl new revision: 1.6; previous revision: 1.5 done Checking in template/en/default/global/messages.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/messages.html.tmpl,v <-- messages.html.tmpl new revision: 1.68; previous revision: 1.67 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.