Re: Is this a bug ?
Posted by: R Lenard
Date: December 21, 2004 09:32PM

Mark Matthews wrote:
> If you're not subscribed to the
> java@lists.mysql.com mailing list, you should be,
> as announcements about all JDBC driver releases
> end up there, with helpful text such as this in
> them:
>
> "MySQL Connector/J 3.1.5, a new version of the
> Type-IV all-Java JDBC
> driver for MySQL, has been released.
>
> Version 3.1.5 is the first and only planned GAMMA
> release
> of the 3.1 series that is suitable for use with
> any current or
> development version of MySQL (e.g. 3.23, 4.0, 4.1
> or 5.0).
>
> This version of Connector/J is required to use
> server-side prepared
> statements with MySQL-4.1 or invoke stored
> procecdures or retrieve view
> metadata with MySQL-5.0.
>
> If no fatal bugs are found with 3.1.5 in the next
> few weeks, Connector/J
> 3.1.6 should be released as a generally
> available/production build
> before the winter holidays."

Dare I suggest this goes on the website too :-)

> > Ideally - yes. But sure many are not
> possible.
> > However there are some that it definitely
> makes
> > sense to describe more and there are some
> > important cases that should to be done - like
> the
> > "UNKNOWN COMMAND".
> >
> > > In any case, 'UNKNOWN COMMAND' usually
> means
> > that
> > > you have a bug in the driver, or you
> have a
> > > version mis-match between your client
> and
> > the
> > > server.
> >
> > Looks like a bug in the driver as it turns
> out by
> > adding this to the URL the problem is solved
> !!
> >
> >
> connectTimeout=20000&useUnbufferedInput=false
>
> What happens if you use Connector/J 3.1.5
> _without_ _any_ options?

Okay - I was fooled by an automatic process which runs and creates the missing table (the missing table is what caused the original problem).

It doesn't matter whether those options are added or not - with pre-3.1.5

I can't easily tell whether this happens because using Conenctor/J 3.1.5 breaks something else prior to the code in question being executed :-(

The actual underlying query with the problem is this -
SELECT * FROM table WHERE keyfield = 'blah' ORDER BY secondfield ASC;

Options: ReplyQuote


Subject
Written By
Posted
December 19, 2004 09:22PM
December 20, 2004 03:27PM
December 20, 2004 03:42PM
December 20, 2004 05:13PM
December 21, 2004 07:12PM
December 21, 2004 07:52PM
Re: Is this a bug ?
December 21, 2004 09:32PM
December 21, 2004 09:43PM
December 21, 2004 10:13PM
December 21, 2004 10:28PM
December 21, 2004 11:38PM
December 21, 2004 11:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.