summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-02-21 14:48:00 +0100
committerRobin Appelman <robin@icewind.nl>2017-03-30 11:15:03 +0200
commitfee818f49347e332aa59bdbfc82847d7964cc653 (patch)
tree347a2c1cc70d09a810c348979ac36a4da8a4eb25 /lib
parent3355fd549f71328afb11f6c07c936219eeaa6059 (diff)
downloadnextcloud-server-fee818f49347e332aa59bdbfc82847d7964cc653.tar.gz
nextcloud-server-fee818f49347e332aa59bdbfc82847d7964cc653.zip
Add tests for query builder (i)like
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Cache/Cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php
index 7b250415511..ce3e38dd46f 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/lib/private/Files/Cache/Cache.php
@@ -543,7 +543,7 @@ class Cache implements ICache {
try {
$query->execute();
- } catch (\Exception $e) {
+ } catch (\OC\DatabaseException $e) {
$this->connection->rollBack();
throw $e;
}