Skip to content

Commit

Permalink
Bug 1896338: properly detect if the DB already exists during setup (#132
Browse files Browse the repository at this point in the history
)
  • Loading branch information
justdave authored May 14, 2024
1 parent 7d38370 commit e41274d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bugzilla/DB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ sub bz_create_database {
my $dbh;

# See if we can connect to the actual Bugzilla database.
my $conn_success = eval { $dbh = connect_main() };
my $conn_success = eval { $dbh = connect_main(); $dbh->ping(); };
my $db_name = Bugzilla->localconfig->db_name;

if (!$conn_success) {
Expand Down

0 comments on commit e41274d

Please sign in to comment.