summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-07 23:50:06 +0200
committerDan McGee <dan@archlinux.org>2012-07-09 04:08:03 +0200
commit4cd588ae898c2abc8035cf0165ccdd038f2321bd (patch)
tree8e27995e2a6d322dfcd6b7118e536873ff030c38 /main
parenta87da032cb6b5b84624e4205b5f8b7cab37249cd (diff)
downloadarchweb-4cd588ae898c2abc8035cf0165ccdd038f2321bd.tar.gz
archweb-4cd588ae898c2abc8035cf0165ccdd038f2321bd.tar.xz
Add triggers for adding package update rows
This will be done instead of doing this logic at the application level, which has some subtle race conditions. When two simultaneous threads attempt to delete the same package, two update rows for the delete action are inserted. When done at the database level, we can ensure a one-to-one mapping between row operations and entries in this table. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
0 files changed, 0 insertions, 0 deletions