From 9cac1454a96d9e442d11b6ba148a0f12166159e9 Mon Sep 17 00:00:00 2001 From: Kenny Gryp Date: Mon, 17 Jul 2017 18:09:48 +0200 Subject: [PATCH] bug that was introduced in commit 659092bc9514c114b344908ad65e0fdb3685ae39 --- bin/pt-online-schema-change | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change index 7d9d5696..c0639a30 100755 --- a/bin/pt-online-schema-change +++ b/bin/pt-online-schema-change @@ -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");