Skip to content

Commit

Permalink
fix(BookmarkMapper): Be compatible with mysql ANSI_QUOTES option
Browse files Browse the repository at this point in the history
fixes #2227

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Dec 12, 2024
1 parent b1c562c commit a44bc66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Db/BookmarkMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ private function _getTagsColumn(IQueryBuilder $qb) : IQueryFunction {
if ($dbType === 'pgsql') {
$tagsCol = $qb->createFunction('array_to_string(array_agg(' . $qb->getColumnName('t.tag') . "), ',')");
} else {
$tagsCol = $qb->createFunction('IFNULL(GROUP_CONCAT(' . $qb->getColumnName('t.tag') . '), "")');
$tagsCol = $qb->createFunction('IFNULL(GROUP_CONCAT(' . $qb->getColumnName('t.tag') . "), '')");
}
return $tagsCol;
}
Expand Down

0 comments on commit a44bc66

Please sign in to comment.