fix pruning pdo cache for vendors that throw on execute
This commit is contained in:
parent
4f6541e4f5
commit
14b9fa5234
@ -165,8 +165,11 @@ trait PdoTrait
|
||||
if ('' !== $this->namespace) {
|
||||
$delete->bindValue(':namespace', sprintf('%s%%', $this->namespace), \PDO::PARAM_STR);
|
||||
}
|
||||
|
||||
return $delete->execute();
|
||||
try {
|
||||
return $delete->execute();
|
||||
} catch (TableNotFoundException $e) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user