MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT a.attr_id, MIN(a.goods_attr_id ) AS goods_id, a.attr_value AS attr_value FROM `avanpacom`.`avp_goods_attr` AS a, `avanpacom`.`avp_goods` AS g WHERE (g.cat_id IN ('27') OR g.goods_id IN ('42','43','44','45','46','47','48','49','104','105','106','107','6410','6411','6412','6413','6414','6415','6416','6417','6418','6419','6420','6421','6422','6423','6424','6425','6426','6427','6428','6429','6430','6431','6432','6433','6434','6435','6436','6437','6438','6439','6440','6441','6442','6443','6444','6445','6446','6447','6448','6449','6450','6451','6452','6453','6454','6455','6456','6457','6458','6459','6460','6461','6462','6463','6464','6465','6466','6467','6468','6469','6470','6471','6472','9077','9078','9079','9080','9081','9082','9083','9084','9085','9086','9087','9088','9089','9090','9091','9092','9093','9094','9095','9096','9097','9098','9099','9100','9101','9102','9103','9104','9105','9106','9107','9108','9109','9110','9111','9112','9113','9114','9115','9116','9117','9118','9119','9120','9121','9122','9123','9124','9125','9126','9127','9128','9129','9130','9131','9132','9133','9134','9135','9136','9137','9138','9139','9140','9141','9142','11240','11241','11602','11603','11604','11605','11606','11607','11608','11609','11610','11611','11612','11613','11614','11615','11616','11617','11618','11619','11620','11621','11622','11623','11624','11625','11626','11627','11628','11629','11630','11631','11632','12554','12555','12556','12557','12558','12559','12560','12561','12562','12563','12564','12565','12566','12567','12568','12569','12570','12571','12572','12573','12574','12575','12576','12577','12578','12579','13717','13718','13719','13720','13721','13722','13723','13724','13725','13726','13727','13728','13729','13730','13731','13732','13733','13734','13735','13736','13741','13742','13743','13744','13745','13746','13747','13748','13749','13750','13751','13752','13753','13754','13755','13756','13757','13758','13759','13760','13761','13762','13763','13764','13765','13766','13767','13768','13987','13988','13989','13990','13991','13992','13993','13994','13995','13996','13997','13998','13999','14000','14001','14002','14003','14004','14005','14006','14007','14008','14009','14010','14011','14012','14013','14014','14015','14016','14017','14947','14948','14949','14950','14951','14952','14953','14954','14955','14956','14957','14958','14959','14960','15252','15253','15254','15255','15256','15257','15258','15259','15260','15261','15262','15263','15264','15265','15266','15267','15268','15269','15270','15271','15272','15273','15274','15275','15276','15277','15278','15279','15280','15281','15282','15283','15284','15285','15286','15287','15288','15289','15290','15291','15292','15293','15294','15295','15296','15297','15298','15299','15300','15301','15302','15303','15304','15305','15306','15307','15308','15309','15310','15311','15427','15428','15429','15430','15431','15432','15433','15434','15435','15436','15437','15438','15439','15440','15441','15442','15443','15444','15445','15446','15447','15448','15449','15450','15451','15452','15453','15454','15455','15456','15457','15458','15459','15460','15461','15462','15463','15464','15465','15466','15467','15468','15469','15470','15471','15472','15473','15474','15475','15476','15477','15478','15479','15480','15481','15482','15483','15768','15769','15770','15771','15772','15773','15774','15775','15776','15777','15778','15779','15780','15781','15782','15783','15784','15785','15786','15787','15788','15789','15790','15791','15792','15793','15794','15795','15796','15797','15798','15799','15800','15801','15802','15803','15804','15805','15806','15807','15808','15809','15810','15811','15812','15813','15814','15815','15816','15817','15818','15819','15820','15821','15822','15823','15824','15825','15904','15905','15906','15907','15908','15909','15910','15911','15912','15913','15914','15915','15916','15917','15918','15919','15920','15921','15922','15923','15924','15925','15926','15927','15928','15929','15930','15931','15932','18961','18962','18963','18964','18965','18966','18967','18968','18969','19007','19008','19009','19010','19011','19012','19013','19014','19015','19016','19017','19018','19019','19020','19021','19022','19023','19024','19025','19026','19027','19028','19029','19030','19031','19032','19033','19034','19035','21111','21112','21113','21114','21115','21116','21117','21118','21119','21120','21121','21122','21123','21124','21125','21126','21127','21128','21129','21130','21131','21132','21133','21134','21135','21136','21137','21138','21139','21140','21141','21142','21143','21144','21145','21146','21147','21148','21149','21150','21151','21152','21153','21154','21155','21156','21157','21158','21159','21160','21161','21162','21163','21164','21165','21166','21167','21168','21169','21170','21171','21172','21173','21174','21175','21176','21177','21178','21179','21180','21181','21182','21183','21184','21185','21186','23667','23668','23669','23670','23671','23672','23673','23674','23675','23676','23677','23678','23679','23680','23681','23682','23683','23684','23685','23686','23687','23688','23689','23690','23691','23692','23693','23694','23695','23696','23697','23698','23699','23700','23701','23702','23703','23704','23705','23706','23707','23708','23709','23710','24356','24357','24358','24359','24360','24361','24362','24363','24364','24365','24366','24367','24368','24369','24370','24371','24372','24373','24374','24375','24376','24377','24378','24379','24380','24381','24382','24974','24975','24976','24977','24978','24979','24980','24981','24982','24983','24984','24985','24986','24987','24988','24989','24990','24991','24992','24993','24994','24995','24996','24997','24998','24999','25000','25001','25002','25003','25004','25005','25006','25007','26871','26872','26914','27051','27052','27053','27054','27055','27056','27057','27058','27059','27060','27061','27062','27606','27607','27608','27609','27610','27611','27612','27613','27614','27615','27616','27617','27618','27619','27620','27621','27622','27928','27929','27930','27931','27932','27933','27968','27969','27970','27971','27972','27973','27974','27975','27976','27977','27978','27979','27980','27981','27982','27983','27984','27985','27986','27987','27988','27989','27990','27991','27992','27993','27994','27995','27996','27997','27998','27999','28000','28001','28002','28003','28004','28005','28006','28007','28008','28009','28010','28022','28023','28024','28025','28026','28027','28028','28029','28030','28031','28032','28033','28034','28035','28036','28037','28038','28464','28465','28466','28467','28468','28469','28470','28471','28472','28473','28474','28475','28476','28477','28478','28479','28480','28481','28482','28483','30268','30269','30270','30271','30272','30273','30548','30549','30550','30551','30552','30553','30554','30555','30556','30557','30558','30559','30560','30561','30562','30563','30564','30565','30566','30567','30568','30569','30570','30571','30572','30573','31009','31010','31011','31012','31013','31014','31015','31016','31017','31018','31019','31020','31021','31022','31023','31024','31025','31026','31027','31028','31029','31030','31031','31032','31142','31149','31903','31904','31905','31906','31907','31908','31909','31910','31911','31912','31913','31914','31915','31916','31917','31918','31919','31920','31921','32249','32250','32251','32252','32253','32254','32255','32256','32257','32258','32259','32260','32261','32262','32263','32264','32265','32266','32267','32268','32269','32270','32271','32272','32273','32274','32275','32276','32294','32295','32296','32297','32298','32299','32300','32301','32302','32303','32304','32305','32306','32307','32308','32309','32402','32403','32404','32829','32830','32831','32832','32833','32834','32835','32836','32837','32838','32839','32840','32841','32842','32843','32844','32845','32846','32847','32848','32864','33065','33066','33067','33068','33080','33081','33082','33787','33788','33789','33790','33791','33792','33793','33794','33795','33796','33797','33798','33799','33800','33801','33802','34710','34711','34712','34713','34714','34715','34716','34717','34718','34719','34720','34721','34722','34723','34724','36123','36124','36125','36126','36127','36128','36129','36130','36131','36132','36133','36134','36135','36136','36137','40115','40116','40117','45089','45090','45091','45092','45093','45094','45095','45096','45097','45098','45099','45100','45101','45102','45103','45104','45105','45106','45107','45108','45109','45110','45111','45129','45130','45131','45132','45133','45134','45166','45167','46648','46649','46650','46651','46652','46653','46654','46655','46656','46657','46658','46659','46660','46661','51998','51999','52000','52001','52002','52003','52004','52005','52006','52007','52008','52009','52010','52011','52012','52013','52014','52015','52016','52017','52018','52019','52020','52021','52022','52365','52366','52367','52368','52369','52370','52371','52372','52373','52374','52375','52376','52377','52378','52379','52380','57606','57607','57608','57609','57610','57611','57612','57613','57614','57615','57616','57617','57618','57619','57620','57621','57622','57623','57624','57625','57626','57627','57628','57629','57630','57631','57632','57633','57634','57635','57636','57637','57638','57639','57640','57641','57642','57643','57644','57645','57646','57647','57648','62123','62124','62125','62126','62127','62128','62129','62130','62131','62132','62133','62134','62135','62136','62137','62138','62139','62140','62141','62142','62143','62144','62145','62146','62147','66082','66083','66084','66085','66086','66087','66088','66089','66090','66091','66092','66093','66094','66095','66096','66097','66098','66099','66100','66101','66102','66103','66104','66105','66106','66107','66108','66109','66110','66111','66112','66113','66114','66115','66116','66117','66118','66119','66120','66121','66122','66123','74060','74061','74062','74063','74064','74065','74066','74067','74068','74069','74070','74071','74072','74073','74074','74075','74076','74077','74078','74079','81463','81464','81465','81466','81467','81468','81469','81470','81471','81472','81473','81474','81475','81476','81477','81478','81479','81480','81481','81482','81483','81484','81485','81486','81487','81488','81489','81490','81491','81492','81493','81494','81495','81496','81497','83976','83977','83978','83979','83980','83981','83982','83983','83984','83985','83986','83987','83988','83989','83990','83991','83992','91112','91113','91114','91115','91116','91117','91118','91119','91120','91121','91122','91123','91124','91125','91126','91127','91128','91129','119513','119514','119515','119516','119517','119518','119519','119520','119521','119522','119523','119524','119525','119526','119527','119528','119529','119530','119531','119532','119533','119534','119535','119536','119537','119538','119539','119540','119541','119542','119543','119544','119545','119546','119547','119548','119549','119550','119551','119552','124476','124477','124478','124479','124480','124481','124482','124483','124484','124485','124486','124487','124488','124489','124490','124491','124492','124493','124494','124495','124496','124497','124498','124499','124500','124501','124502','124503','124504','124505','124506','124507','124508','124509','124510','124511','124512','124513','124514','133811','133812','133813','133814','133815','133816','133817','133818','133819','133820','133821','133822','133823','133824','133825','133826','133827','133828','133829','133830','133831','133832','133833','133834','133835','133836','133837','133838','133839','134689','134690','134691','134692','134693','134694','134695','143058','143069','143070','143071','143072','143073','143074','143727','143728','143729','143730','143731','143732','143733','143734','143735','143736','143737','143738','143739','143740','143741','143742','143743','143744','143745','143746','143747','143748','143749','143750','163994','163995','163996','163997','163998','178234','178235','178236','178237','178238','178239','178240','178241','178242','178243','178244','178245','178246','178247','178248','178249','178250','178251','178252','178253','184877','185624','187075','187076','187077','187078','187079','187080','187081','187082','187083','187084','187085','187086','187087','187088','195044','195045','195046','195047','195048','195049','195050','195051','195052','195053','195054','195055','195056','195057','195058','220886','220887','220888','220889','220890','220891','220892','220893','220894','220895','220896','220897','220898','220899','220900','224290','224291','224292','224293','224294','224295','224296','224297','224298','224299','224300','224301','224302','224303','233084','233085','233086','233087','233088','233089','233090','233091','233092','233093','233094','233095','233096','233097','233098','233099','233100','233101','233102','233103','233104','233105','233106','233107','233108','233109','233110','233111','233112','233113','233114','233115','233116','233117','233118','233119','233120','233121','233122','233123','233124','233125','233126','233127','233128','233255','233256','233257','233258','233259','233260','233261','233262','233263','233264','233265','233266','233267','233268','233269','233270','233271','233272','233273','233274','233275','233276','233277','233278','233279','233280','233281','233282','233283','233284','233285','233286','233287','233288','234710','234711','234712','234713','234714','234715','234716','234717','234718','234719','234720','234721','234722','234723','238880','238881','238882','238883','238884','238885','238886','238887','241694','241695','241696','241697','241698','241699','241700','241701','241702','241703','241704','241705','241706','241707','241708','241709','241710','241711','241712','241713','241714','241715','241716','241717','241718','241719','241720','241721','241722','241723','241724','241725','241726','241727','241728','241729','241730','241731','241732','241733','241734','241735','241736','241737','241738','241739','241740','241741','241742','241743','241744','241745','243350','243351','243352','243353','243354','243355','243356','243357','243358','243359','243360','243361','243362','243363','243364','243365','243366','243367','243368','243369','243370','243371','243372','243373','243374','246125','246126','246127','246128','246129','246130','246131','246132','246133','246134','246135','246136','246137','246138','246139','246140','246141','246142','246143','246144','246145','246146','259660','259661','259662','259663','259664','259665','259666','259667','259668','259669','259670','259671','259672','259673','259674','259675','259676','259677','259678','259679','259680','259681','259682','259683','259684','259685','259686','259687','259688','259870','259871','259872','259873','259874','259875','259876','259877','259878','259879','259880','259881','259882','259883','259884','259885','259886','259887','259888','259889','259890','259891','259892','259893','259894','259895','259896','259897','259898','259899','262857','262858','262859','262860','262861','262862','262863','262864','262865','262866','262867','262868','262869','262870','262871','262872','262873','262874','262875','262876','262877','271543','271544','271545','271546','271547','271548','271549','271550','271551','271552','271553','271554','271555','271556','271557','271558','271559','271560','271561','271562','271563','271564','271565','271566','271567','271568','271569','278521','278522','278523','278524','278525','278526','278527','278528','278529','278530','278531','279568','279569','279570','279571','279572','279573','279574','279793','279794','279795','279796','279797','279798','279799','279800','279801','279802','279803','279804','279805','279806','279807','279808','279809','279810','279811','279812','279813','280913','280914','280915','280920','280921','280922','280923','280924','281380','281381','281382','281383','281384','281385','281386','281387','281388','285213','285214','285215','285216','285217','286135','286136','286137','286138','286139','286140','286141','286142','286143','286144','286145','286146','286147','286148','286149','286150','286151','286152','286153','286154','286155','286156','286157','286158','286159','286160','286161','286162','286163','286164','286165','286166','286167','286168','286169','286170','286171','286172','290814','290815','290816','290817','290846','290847','290848','290849','290850','290851','290852','290853','293575','293576','293577','293578','293579','293580','293581','293582','293583','293584','293585','293586','293587','293588','293589','293590','293591','293592','293593','293594','293595','293596','293597','296655','296656','296657','296658','296659','296660','296661','296662','296663','296664','296665','296666','296667','296668','296669','296670','296671','296685','296686','296687','296688','296689','296690','296691','296692','296693','296694','296695','296696','296697','296698','296699','296700','296701','296702','296703','297189','297190','297191','297192','297193','297194','297195','297196','297197','297198','297199','297200','297201','297202','297203','297204','297205','297206','297207','297208','297209','297210','297446','297447','297448','297449','297450','297451','297452','297453','297454','297455','306890','306891','306892','306893','306894','306895','306896','306897','306898','306899','306900','306901','306902','307160','307161','307162','307163','307164','307165','307166','307167','307168','307169','307170','307171','307172','307173','307174','307175','307176','307177','307178','307179','307180','307181','307182','307183','307184','307185','307235','307236','307237','307238','307239','307240','307241','307242','307243','307244','307245','307246','307247','307248','307249','307250','307251','307252','307253','307254','307255','307256','307257','307258','307259','307260','307261','307262','307263','307264','307309','307310','307311','307312','307313','307314','307315','307316','307317','307318','307319','307320','307321','307322','307323','307324','307325','307326','307908','307909','307910','307911','307912','307913','307914','307915','307916','307917','307955','307956','307957','307958','307959','307960','308208','308209','308210','308211','308212','308213','308214','308215','318767','318768','318769','318770','318771','318772','318773','318774','318775','318776','323009','323010','323011','323012','323013','323014','323015','323016','323017','323018','323019','323020','323021','323022','323023','323024','323025','323026','323027','323028','323029','323030','323031','323032','323033','323034','323035','323036','325121','325122','325123','325124','325125','325126','325127','325128','325129','325130','325131','325132','325133','325134','325135','325136','325137','325138','325139','325140','325141','325142','325143','325144','325326','325327','325328','325329','325330','325331','325332','325333','325334','325335','325336','325337','325338','325339','325340','325341','325342','325343','325344','325345','325346','325347','325348','325349','325350','325351','325352','325698','325699','340214','340215','340221','340222','340223','340224','340225','340226','340227','340228','340229','340230','340367','340386') ) AND g.goods_id = a.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND a.attr_id='211' GROUP BY a.attr_value ) [2] => Array ( [error] => Got error 28 from storage engine ) [3] => Array ( [errno] => 1030 ) )