Gabriel PREDA wrote:
The JOIN criteria was there: 'event.cid=data.cid'

It was not there in the upper example he gave where he stated the problem.

It was there in the later query he said he also tried.


His query was fine: Select event.cid, event.timestamp  from event, data
Where ( event.timestamp between '2006-05-01' AND '2006-05-15' ) and
event.cid=data.cid;

It may be rewritten into:
SELECT event.cid, event.timestamp
FROM event JOIN data ON event.cid=data.cid
WHERE event.timestamp BETWEEN '2006-05-01' AND '2006-05-15';

... Or ...

SELECT event.cid, event.timestamp
FROM event JOIN data USING(cid)
WHERE event.timestamp BETWEEN '2006-05-01' AND '2006-05-15;

Although that was not the issue...

Maybe you ran out of memory into one of:
max_allowed_packet
net_buffer_length
max_join_size

Try enlarging those values... on the server also...

But first try to run with '--compress' maybe this will fix...



--
Gerald L. Clark
Supplier Systems Corporation

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to