RE: SQL query crashes MySQL

2003-09-12 Thread Irwin Boutboul
atson/[EMAIL PROTECTED] cc Subject RE: SQL query crashes MySQL Does that crash the server in command-line mode (via mysql) or just in MySQLcc? I've seen similar crashes (actual full server crashes) in similar queries but only under mysqlcc. It seems that the results come back but the se

Re: SQL query crashes MySQL

2003-09-12 Thread Sergei Golubchik
Hi! On Sep 12, Irwin Boutboul wrote: > Here it is: > > select floor(avg(selection.bandwidth))*8000 as avgbandwidth from (select > avg(bandwidth) as bandwidth from FEEDBACK_DOWNLOADS where servername= ? > and ( bytesdownloaded > 50 or timeduration > 3000 ) group by id order > by startti

SQL query crashes MySQL

2003-09-12 Thread Irwin Boutboul
Here it is: select floor(avg(selection.bandwidth))*8000 as avgbandwidth from (select avg(bandwidth) as bandwidth from FEEDBACK_DOWNLOADS where servername= ? and ( bytesdownloaded > 50 or timeduration > 3000 ) group by id order by starttime desc limit 20) as selection; This complex (?)