Bug 1022356

Summary: fail to run `perl rh-database-update.pl` twice
Product: [Community] Bugzilla Reporter: matt jia <mjia>
Component: Bugzilla GeneralAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: jmcdonal, rjoost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-11 10:54:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description matt jia 2013-10-23 06:53:31 UTC
Description of problem:

fail to run `perl rh-database-update.pl` twice

Version-Release number of selected component (if applicable):
4.4

How reproducible:

run `perl rh-database-update.pl` twice

Actual results:

# perl rh-database-update.pl 
Adding new table bz_schema...
Initializing bz_schema...
Table already exists: bz_schema at Bugzilla/DB/Schema.pm line 2589.

It tries to add the table twice and blows up

Expected results:

It should not add the table when the table exists

Additional info:

Comment 1 Simon Green 2013-11-11 10:54:34 UTC

*** This bug has been marked as a duplicate of bug 917935 ***