Backing out bug 180792. A table is locked as READ while my patch tries to write in it :(

This commit is contained in:
lpsolit%gmail.com 2005-06-20 22:20:50 +00:00
Родитель e01817f2e3
Коммит 8df977ec2f
2 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -447,9 +447,6 @@ sub update_activity {
(bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($bug_id, $attach_id, $::userid, $timestamp,
$field_id, $sql_removed, $sql_added)");
$dbh->do("UPDATE bugs SET delta_ts = $timestamp WHERE bug_id = ?",
undef, $bug_id);
}
}

Просмотреть файл

@ -1251,7 +1251,7 @@ sub update
# If the user submitted a comment while editing the attachment,
# add the comment to the bug.
if ($cgi->param('comment'))
if (defined $cgi->param('comment'))
{
# Prepend a string to the comment to let users know that the comment came
# from the "edit attachment" screen.