Query Execution Time Perl/DBD

2001-11-21 Thread Gordan Bobic
Hi. How do I get the query execution time from Perl/DBD? MySQL client returns this in the console window. Is this value available through the Perl DBD interface? Thanks. Gordan - Before posting, please check:

Re: Query Execution Time Perl/DBD

2001-11-21 Thread Christian Andersson
not know. but in java it would be long tb = System.currentTimeMillis(); // do the sql-statement long diff = System.currentTimeMillis() - tb; - Original Message - From: Gordan Bobic [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 21, 2001 12:49 PM Subject: Query Execution Time

Re: Query Execution Time Perl/DBD

2001-11-21 Thread Gordan Bobic
On Wednesday 21 Nov 2001 12:11, Christian Andersson wrote: The obvious way to do this would be to get the time before and after the execution and then make a simple diff (after - before) I guess that is how the mysql client does it (butI'm not sure) I do not think that mysql itself provides