select count(*) as c from product as p where exists(select 1 from program where id=program_id and exists(select 1 from xml where id=xml_id and deleted=0)) and ((exists(select 1 from category where category.id in (198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 230) and exists(select 1 from webe_catalog where p.webe_catalog_id=webe_catalog.id and p.webe_catalog_id=webe_catalog.id and EXISTS( select 1 from category_webe_catalog where category_webe_catalog.webe_catalog_id=webe_catalog.id and category_webe_catalog.category_id=category.id)))) or (false or exists(select 1 from product where name like '%Lumia 1020%' and id=p.id) or exists(select 1 from product where name like '%Lumia 1320%' and id=p.id) or exists(select 1 from product where name like '%Lumia 1520%' and id=p.id) or exists(select 1 from product where name like '%Lumia 435%' and id=p.id) or exists(select 1 from product where name like '%Lumia 510%' and id=p.id) or exists(select 1 from product where name like '%Lumia 520%' and id=p.id) or exists(select 1 from product where name like '%Lumia n530%' and id=p.id) or exists(select 1 from product where name like '%Lumia 535%' and id=p.id) or exists(select 1 from product where name like '%Lumia 550%' and id=p.id) or exists(select 1 from product where name like '%Lumia 610%' and id=p.id) or exists(select 1 from product where name like '%Lumia 625%' and id=p.id) or exists(select 1 from product where name like '%Lumia 630%' and id=p.id) or exists(select 1 from product where name like '%Lumia 635%' and id=p.id) or exists(select 1 from product where name like '%Lumia 640 Dual SIM LTE%' and id=p.id) or exists(select 1 from product where name like '%Lumia 640 XL%' and id=p.id) or exists(select 1 from product where name like '%Lumia 650%' and id=p.id) or exists(select 1 from product where name like '%Lumia 710%' and id=p.id) or exists(select 1 from product where name like '%Lumia 720%' and id=p.id) or exists(select 1 from product where name like '%Lumia 800%' and id=p.id) or exists(select 1 from product where name like '%Lumia 820%' and id=p.id) or exists(select 1 from product where name like '%Lumia 830%' and id=p.id) or exists(select 1 from product where name like '%Lumia 850%' and id=p.id) or exists(select 1 from product where name like '%Lumia 900%' and id=p.id) or exists(select 1 from product where name like '%Lumia 920%' and id=p.id) or exists(select 1 from product where name like '%Lumia 930%' and id=p.id) or exists(select 1 from product where name like '%Lumia 950%' and id=p.id) or exists(select 1 from product where name like '%Lumia 950 XL%' and id=p.id) or exists(select 1 from product where name like '%Lumia%' and id=p.id) ))SQLSTATE[HY000]: General error: 1290 The MariaDB server is running with the --max-session-mem-used=1073741824 option so it cannot execute this statement