From 9b2ebf0bc0873d6ee009ab4dacc0be8aa8fde6af Mon Sep 17 00:00:00 2001 From: bernhard Date: Sun, 22 Nov 2020 12:08:20 +0100 Subject: [PATCH] Issue #644: remove also column specifc collation directives --- scripts/backup.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/backup.pl b/scripts/backup.pl index cb477d24c0..35b455fd8f 100755 --- a/scripts/backup.pl +++ b/scripts/backup.pl @@ -462,7 +462,8 @@ sub BackupForMigrateFromOTRS { # substitutions for removing collation directives push @SchemaSubstitutions, - q{-e 's/COLLATE=\\w\\+/ /'}; # for CREATE TABLE, remove customer specific collation + q{-e 's/COLLATE [[:alnum:]_]\\+/ /'}, # for CREATE TABLE, remove customer specific collation + q{-e 's/COLLATE=[[:alnum:]_]\\+/ /'}; # for CREATE TABLE, remove customer specific collation } # create the commands that will actually be executed