On Fri, Jan 05, 2001 at 04:33:54PM +0200, sinisa@stripped wrote:
> Yes, the above version of mysqldump will not work with 3.22 servers.
> We could have put on our TODO to add an option for mysqldump to use
> 3.22 syntax, but then 3.23 is alrady a stable release, so the best
> solution for you is to upgrade.
Sorry, but I have to disagree.
It's not always possible to influence the server version (e.g. with a
provider hosting MySQL), therefore the correct behaviour IMHO would be
that mysqldump either offers a switch to be downwards compatible, or
even better, query the server version and behave accordingly.
Regardless of that, if newer mysqldumps cannot work with servers prior
to 3.23.x, they should query the server version and display an
appropriate error message, telling the user what to do (downgrading
mysqldump): Either be compatible or tell that you aren't.
An error message out of context like the one cited isn't reasonable,
in my opinion.