summaryrefslogtreecommitdiffstats
path: root/lib/sql
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2009-02-13 13:52:19 +1100
committerJeremy Kerr <jk@ozlabs.org>2009-02-13 13:52:19 +1100
commite21dfae1526814152603122f2ac4c9d36a7d814d (patch)
tree15bc86e374921c4982c419548c165348e28f9702 /lib/sql
parenteddb3ce9c1659226d05ca1b959d0c31cd216f93a (diff)
downloadpatchwork-e21dfae1526814152603122f2ac4c9d36a7d814d.tar.bz2
patchwork-e21dfae1526814152603122f2ac4c9d36a7d814d.tar.xz
[views] Check count() for duplicate bundle patches, rather than try/except
If the exception is raised, the transaction will still be in a bad state, due to the foreign key constraint. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/sql')
0 files changed, 0 insertions, 0 deletions