Moved -ppreserve-triggers tests to its own file

This commit is contained in:
Carlos Salguero
2017-07-15 17:54:22 -03:00
parent 80fa0283b2
commit 659092bc95
2 changed files with 474 additions and 1 deletions

View File

@@ -9762,7 +9762,7 @@ sub main {
}
if ( $o->get('preserve-triggers') ) {
if ( !$o->get('swap-tables') && $o->get('drop-new-table') ) {
if ( !$o->get('swap-tables') && !$o->get('drop-new-table') ) {
print ts("Skipping triggers creation since --no-swap-tables was specified along with --drop-new-table\n");
} else {
print ts("Adding original triggers to new table.\n");