子查询导致MySQL在MySQL 5.5上崩溃,在5.7和mariabd上工作正常

时间:2017-11-02 04:07:53

标签: mysql database

我已经创建了一个查询来从某个表中获取信息

SELECT file,thumb FROM dl2_images WHERE (id) IN 
( SELECT MIN(id)
  FROM dl2_images
  WHERE file IN (226,225,223,222,221,220,219,218,217,214,213,212,211,210,209,208,201,198,197,196,195,194,192,191,190,181,145,144,140,138,137,136,132,125,122,121,119,118,116,43,40,39)
  GROUP BY file
)

查询在MySQL 5.7和mariabd上运行良好,但导致MySQL在MySQL 5.5上崩溃..我找不到任何理由..对此有什么想法? 编辑:它可能(并且很可能)版本不是问题..什么配置/事情可能是问题?

0 个答案:

没有答案