From a4e7f360c91236168a903e74ab3669a3f03bc690 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Sat, 21 Dec 2002 07:35:14 +0000 Subject: Bug 180870 - Remove old shadowdb manual replication code r, a=myk --- post_bug.cgi | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'post_bug.cgi') diff --git a/post_bug.cgi b/post_bug.cgi index 2a65c2436..18b761744 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -395,14 +395,6 @@ while (MoreSQLData()) { push(@groupstoadd, $id) } } - - -# Lock tables before inserting records for the new bug into the database -# if we are using a shadow database to prevent shadow database corruption -# when two bugs get created at the same time. -SendSQL("LOCK TABLES bugs WRITE, bug_group_map WRITE, longdescs WRITE, " . - "cc WRITE, keywords WRITE, dependencies WRITE, bugs_activity WRITE, " . - "fielddefs READ, profiles READ, keyworddefs READ") if Param("shadowdb"); # Add the bug report to the DB. SendSQL($sql); @@ -465,8 +457,6 @@ if (UserInGroup("editbugs")) { } } -SendSQL("UNLOCK TABLES") if Param("shadowdb"); - # Assemble the -force* strings so this counts as "Added to this capacity" my @ARGLIST = (); if (@cc) { -- cgit v1.2.3-24-g4f1b