File: /home/bitrix/www/bitrix/modules/catalog/mysql/discount.php
Line: 332
MySQL Query Error: SELECT CD.ID as ID, CD.TYPE as TYPE, CD.SITE_ID as SITE_ID, CD.ACTIVE as ACTIVE, DATE_FORMAT(CD.ACTIVE_FROM, '%d.%m.%Y %H:%i:%s') as ACTIVE_FROM, DATE_FORMAT(CD.ACTIVE_TO, '%d.%m.%Y %H:%i:%s') as ACTIVE_TO, CD.RENEWAL as RENEWAL, CD.NAME as NAME, CD.SORT as SORT, CD.MAX_DISCOUNT as MAX_DISCOUNT, CD.VALUE_TYPE as VALUE_TYPE, CD.VALUE as VALUE, CD.CURRENCY as CURRENCY, CD.PRIORITY as PRIORITY, CD.LAST_DISCOUNT as LAST_DISCOUNT, CDCP.COUPON as COUPON, CDCP.ONE_TIME as COUPON_ONE_TIME, CDCP.ACTIVE as COUPON_ACTIVE, CD.UNPACK as UNPACK, CD.CONDITIONS as CONDITIONS FROM b_catalog_discount CD LEFT JOIN b_catalog_discount_coupon CDCP ON (CD.ID = CDCP.DISCOUNT_ID) WHERE ((((CD.ID IN (293787,293788,293789,293790,293791,293792,293793,293794,293795,293796,293797,293798,293799,293800,293801,293802,293803,293804,293805,293806,293807,293808,293809,293810,293811,293812,293813,293814,293815,293816,293817,293818,293819,293820,293821,293822,293823,293824,293825,293826,293827,293828,293829,293830,293831,293832,293833,293834,293835,293836,293837,293838,293839,293840,293841,293842,293843,293844,293845,293846,293847,293848,293849,293850,293851,293852,293853,293854,293855,293856,293857,293858,293859,293860,293861,293862,293863,293864,293865,293866,293867,293868,293869,293870,293871,293872,293873,293874,293875,293876,293877,293878,293948,293949,293950,293951,293952,293953,293954,293955,293956,293957,293958,293959,293960,293961,293962,293963,293964,293965,293966,293967,293968,293969,293970,293971,293972,293973,293879,293880,293881,293882,293883,293884,293885,293886,293887,293888,293889,293890,293891,293892,293893,293894,293895,293896,293897,293898,293899,293900,293901,293902,293903,293904,293905,293906,293907,293908,293909,293910,293911,293912,293913,293914,293915,293916,293917,293918,293919,293920,293921,293922,293923,293924,293925,293926,293927,293928,296857,297032,297033,297034,297035,297036,297037,297038,297039,297040,297041,297042,297043,297044,297045,297046,297047,297048,297049,297050,297051,297052,297053,297054,297055,297056,297057,298810,298811,298812,298813,298814,298815,298816,298817,298818,298819,298820,298821,298822,298823,298824,298825,298826,298827,298828,298829,298830,298831,298832,298833,298834,298835,298836,298837,298838,298839,298840,298841,298842,298843,298844,298845,298846,298847,298848,298849,299432,299433,299434,299435,299436,299437,299438,299439,299440,299441,299442,299443,299444,299445,299446,299447,299448,299449,299450,299451,299452,299453,299454,299455,299456,299457,299458,299459,299460,299461,299462,299463,299464,299465,299466,299467,299468,299469,299470,299471,299472,299473,299474,299475,299476,299477,299478,299479,299480,299481,299482,299483,299484,299485,299486,299487,299488,299489,299490,299491,299492,299493,299494,299495,299496,299497,299498,299499,299500,299501,299502,299503,299504,299505,299506,299507,299508,299509,299510,299511,299512,299513,299514,299515,299516,299517,299518,299519,299520,299521,299522,299523,299524,299525,299526,299527,299528,299529,299530,299531,299532,299533,299534,299535,299536,299537,299538,299539,299540,299541))))) and ((((CD.SITE_ID = 'ss' )))) and ((((CD.TYPE IS NULL) OR (CD.TYPE = 0)))) and ((((CD.RENEWAL = 'N' )))) and ((((CD.ACTIVE_FROM <= '2019-01-19 13:27:51')) OR (CD.ACTIVE_FROM IS NULL))) and ((((CD.ACTIVE_TO >= '2019-01-19 13:27:51')) OR (CD.ACTIVE_TO IS NULL))) and (((CDCP.COUPON IS NULL) OR (CDCP.COUPON = '')))[[2006] MySQL server has gone away]

DB query error.
Please try later.