File tree 2 files changed +4
-3
lines changed
dev/tests/integration/framework/Magento/TestFramework/Db
lib/internal/Magento/Framework/Crontab/Test/Unit 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,9 @@ public function storeDbDump()
123
123
}
124
124
125
125
$ format = sprintf (
126
- '%s %s %s ' ,
126
+ '%s %s %s %s ' ,
127
127
'mysqldump --defaults-file=%s --host=%s --port=%s ' ,
128
+ '--no-tablespaces '
128
129
$ additionalArguments ,
129
130
'%s > %s '
130
131
);
Original file line number Diff line number Diff line change @@ -375,13 +375,13 @@ public function saveTasksDataProvider(): array
375
375
],
376
376
[
377
377
'tasks ' => [
378
- ['command ' => '{magentoRoot}run.php mysqldump db > db-$(date +%F).sql ' ]
378
+ ['command ' => '{magentoRoot}run.php mysqldump --no-tablespaces db > db-$(date +%F).sql ' ]
379
379
],
380
380
'content ' => '* * * * * /bin/php /var/www/cron.php ' ,
381
381
'contentToSave ' => '* * * * * /bin/php /var/www/cron.php ' . PHP_EOL
382
382
. CrontabManagerInterface::TASKS_BLOCK_START . ' ' . hash ("sha256 " , BP ) . PHP_EOL
383
383
. '* * * * * ' . PHP_BINARY . ' /var/www/magento2/run.php '
384
- . ' mysqldump db > db-\$(date +%%F).sql ' . PHP_EOL
384
+ . ' mysqldump --no-tablespaces db > db-\$(date +%%F).sql ' . PHP_EOL
385
385
. CrontabManagerInterface::TASKS_BLOCK_END . ' ' . hash ("sha256 " , BP ) . PHP_EOL ,
386
386
],
387
387
];
You can’t perform that action at this time.
0 commit comments