Bug 180870 - Remove old shadowdb manual replication code
r, a=myk git-svn-id: svn://10.0.0.236/trunk@135530 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user