Bugs item #2002962, was opened at 2008-06-26 09:24
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2002962&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Mapi
Group: Clients CVS Head
Status: Open
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Arjen de Rijke (arjenderijke)
>Assigned to: Sjoerd Mullender (sjoerd)
Summary: mclient -t returns wrong results

Initial Comment:
When i run a long (> 10 min) query, using mclient with the -t option, the 
reported time is completely wrong. I use a query like: cat datafile|mclient 
-lsql -s"copy records into table from stdin" -i -t 
The result for the timer are for example: 
Timer  1214318792583.995 msec or Timer  -16852.-61 msec

This happens on a version compiled with a checkout of the current branch of 
last Tuesday and on the June 2008 release candidate of last week. The machines 
where a cluster machine and an Athlon i386. 

----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2008-06-26 10:11

Message:
Logged In: YES 
user_id=43607
Originator: NO

Clearly overflow.
I changed the code to use a 64 bit integer and to calculate times relative
to a local epoch so that the chance of overflow is reduced significantly.
Arjen, can you test with a new build of mclient from the stable branch?

A test would take too long to run, so no test added.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2002962&group_id=56967

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to