summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-12-21 08:35:14 +0100
committerbbaetz%student.usyd.edu.au <>2002-12-21 08:35:14 +0100
commita4e7f360c91236168a903e74ab3669a3f03bc690 (patch)
tree4d4c988aff412809ea1a0e0ce5c12380e0906e11 /post_bug.cgi
parenta40d927bfd9a9b3012be9e0f85da84aa4dd58344 (diff)
downloadbugzilla-a4e7f360c91236168a903e74ab3669a3f03bc690.tar.gz
bugzilla-a4e7f360c91236168a903e74ab3669a3f03bc690.tar.xz
Bug 180870 - Remove old shadowdb manual replication code
r, a=myk
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi10
1 files changed, 0 insertions, 10 deletions
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) {