diff --git a/lib/Doctrine/Cache/Query/Sqlite.php b/lib/Doctrine/Cache/Query/Sqlite.php index 10733a4cb..c814a5e33 100644 --- a/lib/Doctrine/Cache/Query/Sqlite.php +++ b/lib/Doctrine/Cache/Query/Sqlite.php @@ -114,7 +114,7 @@ class Doctrine_Cache_Query_Sqlite implements Countable public function deleteAll() { $sql = "DELETE FROM ".self::CACHE_TABLE; - $stmt = $this->dbh->query($sql); + $stmt = $this->dbh->exec($sql); return $stmt->rowCount(); } /**