Chinaunix

标题: Mysql explains 导致数据库自动退出 [打印本页]

作者: gflei    时间: 2009-11-30 14:13
标题: Mysql explains 导致数据库自动退出

                mysql版本:5.0.41
该版本下存在执行下面语句会导致mysql异常退出:
select * from test where id = (select max(id) from `test`  where per_id=10001 GROUP BY per_id);
在5.0.16和5.1.41版本中则没有该问题。
应该是5.0.41存在该bug。
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8912/showart_2107325.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2