diff --git a/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/ExecuteCommand.php b/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/ExecuteCommand.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/ExecuteCommand.php
+++ b/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/ExecuteCommand.php
@@ -92,7 +92,7 @@ EOT
             }
 
             if ($execute) {
-                $version->execute($direction, (boolean) $input->getOption('dry-run'));
+                $version->execute($direction, (boolean) $input->getOption('dry-run'), $timeAllqueries);
             } else {
                 $output->writeln('<error>Migration cancelled!</error>');
             }
fix for bug

It was not possible to call the time all queries option with the
execute command because the option was not passed to the Version
Class.