summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
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) {