Validation Query is always executed before the normal Queries on Solaris

Fabian Bieker <[email protected]> Tue, 19 Dec 2006 15:51:47 +0100
Newsgroups gmane.comp.db.mysql.java
Message-ID <[email protected]>
Hi,

I think i found a bug in the MySQL JDBC Connector:

I wrote a programm to stresstest a mysql server. It works well on a 
Linux-x86 system. But on a Sun V20z Solaris system the validation query 
(select 1) is always executed before any other sql query.
The programm does not reopen the mysql sessions, so there is imho no 
need to verify the connection before every query.
An Example:
I want to send 5 "select * from History;" queries to the mysql server, 
but the client sends:
"select 1;"
"select * from History;"

"select 1;"
"select * from History;"

Thanks for your help,

	Fabian Bieker
-- 
Fabian Bieker, QA
Netzwert AG, An den Treptowers 1, 12435 Berlin, Germany
Voice: +49.30.5900800-0 Fax: +49.30.5900800-700
http://www.netzwert.ag

-- 
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe:    http://lists.mysql.com/[email protected]