From 7f24fc60c9e8d63e940db4625f19c738384c31bb Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 4 Dec 2013 18:32:11 -0500 Subject: 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 --- contrib/nuke-bugs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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(); -- cgit v1.2.3-24-g4f1b