[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read/write table lock


On Tue, Mar 20, 2001 at 03:05:53PM -0300, Fabio Galarraga wrote:
> Hi to all:
> Somebody knows how to make a read/writa table lock?
> I'm trying with java source:
> 
> stmt.execute("LOCK TABLES table-x READ, table-x WRITE");
> ----
> stmt.execute("UNLOCK TABLES");
> 
> but it fails.

And what is the error message?
-- 
Jeremy D. Zawodny, <jzawodn@xxxxxxxxxxxxx>
Technical Yahoo - Yahoo Finance
Desk: (408) 328-7878    Fax: (408) 530-5454
Cell: (408) 439-9951

---------------------------------------------------------------------
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 <mysql-thread68891@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



This mailing list archive is a service of Copilot Consulting.