1
0
mirror of synced 2024-12-13 22:56:04 +03:00

DDC-931 - SchemaTool#dropSchema() should not stop on failure of a single query (as stated in docblocks).

This commit is contained in:
Benjamin Eberlei 2010-12-22 22:04:11 +01:00
parent e46c65db09
commit a4f88407c2

View File

@ -498,7 +498,11 @@ class SchemaTool
$conn = $this->_em->getConnection();
foreach ($dropSchemaSql as $sql) {
$conn->executeQuery($sql);
try {
$conn->executeQuery($sql);
} catch(\Exception $e) {
}
}
}