Unico Hommes writes:
> Hello,
>
> Does mySql support the FOR UPDATE clause as in SELECT * FROM table WHERE
> criteria FOR UPDATE ? The manual talks about FOR UPDATE as if it is
> supported but I am getting syntaxis error messages for it. I am using
> mySql-3.23.33 on windows. The statement is issued from within a Java program
> using org.mm.mysql.Driver jdbc driver. Regardless the statement does not
> work from mysql commandline anyway, but I could imagine this has to do with
> the fact that FOR UPDATE doesn't make any sense in that context. Anybody ?
>
> Thanks,
> Unico
If you use our latest MySQL-Max 3.23.39 and use InnoDB tables, the
above statement will work just fine.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php