I'm searching a way to insert this
SET GLOBAL group_concat_max_len=15000
in an existing SQL query such as the following:
SELECT *
FROM `Pages`
WHERE id =1
UNION SELECT 1 , 2, IF( 1 >0, SET GLOBAL group_concat_max_len=15000,'B' )
But I couldn't make it work because usually this query is executed on its own and I was wondering if some of you had any idea how to make it work