Bug 38944: Fix tidiness t/db_dependent/check_kohastructure.t

This is an odd one, why this change?

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2025-03-17 09:23:02 +01:00 committed by Katrin Fischer
parent 6cffdc7005
commit c952948a56
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ use C4::Context;
my $content = read_file( C4::Context->config("intranetdir") . '/installer/data/mysql/kohastructure.sql' );
my @drop_stmt_missing;
my $ccc = $content;
while ( $content =~ m|CREATE TABLE `?([^`\n ]*)`?\s?\(\s*\n|g ) {
my $match = $1;
next if $match =~ m|^IF NOT EXISTS |;