Bugzilla Bug 356565
Adding the category crashes git-svn-id: svn://10.0.0.236/trunk@213753 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -131,8 +131,8 @@ sub store {
|
||||
my $dbh = Bugzilla->dbh;
|
||||
$dbh->do("INSERT INTO test_builds ($columns)
|
||||
VALUES (?,?,?,?,?)",
|
||||
undef, "NULL", $self->{'product_id'}, $self->{'name'},
|
||||
$self->{'description'}, $self->{'milestone'});
|
||||
undef, (undef, $self->{'product_id'}, $self->{'name'},
|
||||
$self->{'description'}, $self->{'milestone'}));
|
||||
my $key = $dbh->bz_last_key( 'test_builds', 'build_id' );
|
||||
return $key;
|
||||
}
|
||||
|
||||
@@ -135,8 +135,8 @@ sub store {
|
||||
my $dbh = Bugzilla->dbh;
|
||||
$dbh->do("INSERT INTO test_case_categories ($columns)
|
||||
VALUES (?,?,?,?)",
|
||||
undef, "NULL", $self->{'product_id'}, $self->{'name'},
|
||||
$self->{'description'});
|
||||
undef, (undef, $self->{'product_id'}, $self->{'name'},
|
||||
$self->{'description'}));
|
||||
my $key = $dbh->bz_last_key( 'test_case_categories', 'category_id' );
|
||||
return $key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user