diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-12-05 00:32:11 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-12-05 00:32:11 +0100 |
commit | 7f24fc60c9e8d63e940db4625f19c738384c31bb (patch) | |
tree | ded4d238bee59a9e4e3a5f74c3e2cbf6ef4cd209 /contrib | |
parent | fce33f32f8c72dd408f94c3aef3ff32b0ed3dd46 (diff) | |
download | bugzilla-7f24fc60c9e8d63e940db4625f19c738384c31bb.tar.gz bugzilla-7f24fc60c9e8d63e940db4625f19c738384c31bb.tar.xz |
Bug 929321 - create a script to delete all bugs from the database, and generate two dumps (with and without bugs)
- Added standard way of updating the serial id of bugs table
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/nuke-bugs.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/nuke-bugs.pl b/contrib/nuke-bugs.pl index 813d3f741..0226c1726 100755 --- a/contrib/nuke-bugs.pl +++ b/contrib/nuke-bugs.pl @@ -52,7 +52,7 @@ delete_from_table('bug_group_map'); delete_from_table('bugs'); delete_from_table('longdescs'); -$dbh->do("ALTER TABLE bugs AUTO_INCREMENT = 1"); # MySQL specific +$dbh->do($dbh->_bz_real_schema->get_set_serial_sql('bugs', 'bug_id', 1)); $dbh->bz_commit_transaction(); |