Skip to content

Commit 12ceeab

Browse files
authored
fix(installer): importing last chunk of SQL dump (#31)
1 parent 36a5735 commit 12ceeab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Database/PimcoreInstaller.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ public function insertDatabaseDump($db, $file = ''): void
8686
}
8787
}
8888

89-
$db->executeStatement(implode("\n", $batchQueries));
89+
// process remaining queries
90+
if (\count($batchQueries) > 0) {
91+
$db->executeStatement(implode("\n", $batchQueries));
92+
}
9093
}
9194
}
9295

0 commit comments

Comments
 (0)