From 5d7cab245fa816083ef8e9f69d5f7cb846f94104 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 21 Jul 2017 14:44:35 +0200 Subject: [PATCH] Fix clob comparison Signed-off-by: Joas Schilling --- lib/private/Authentication/Token/DefaultTokenMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Authentication/Token/DefaultTokenMapper.php b/lib/private/Authentication/Token/DefaultTokenMapper.php index 44bc553a92e..2038bb5a135 100644 --- a/lib/private/Authentication/Token/DefaultTokenMapper.php +++ b/lib/private/Authentication/Token/DefaultTokenMapper.php @@ -157,7 +157,7 @@ class DefaultTokenMapper extends Mapper { public function deleteByName($name) { $qb = $this->db->getQueryBuilder(); $qb->delete('authtoken') - ->where($qb->expr()->eq('name', $qb->createNamedParameter($name))); + ->where($qb->expr()->eq('name', $qb->createNamedParameter($name, IQueryBuilder::PARAM_LOB), IQueryBuilder::PARAM_LOB)); $qb->execute(); } -- 2.39.5