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) {
|
if ('' !== $this->namespace) {
|
||||||
$delete->bindValue(':namespace', sprintf('%s%%', $this->namespace), \PDO::PARAM_STR);
|
$delete->bindValue(':namespace', sprintf('%s%%', $this->namespace), \PDO::PARAM_STR);
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
return $delete->execute();
|
return $delete->execute();
|
||||||
|
} catch (TableNotFoundException $e) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user