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:
bbaetz%student.usyd.edu.au
2002-12-20 23:35:29 +00:00
parent 2fb58577aa
commit d17356699e
13 changed files with 55 additions and 543 deletions

View File

@@ -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) {