List:General Discussion« Previous MessageNext Message »
From:Fabio Galarraga Date:March 21 2001 12:40pm
Subject:RE: Read/write table lock
View as plain text  
Yes, I think this is the problem. But how can I make a read/write lock with
only one lock?

Best regards,
Fabio.

> ----------
> De: 	Gerald L. Clark[SMTP:gerald_clark@stripped]
> Enviado el: 	Martes, Marzo 20, 2001 04:33 PM
> Para: 	Fabio Galarraga
> CC: 	'Mysql mailing list'
> Asunto: 	Re: Read/write table lock
> 
> 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.
> > 
> > Best regards,
> > Fabio Galarraga
> > fabio@stripped
> > 
> Well you are locking table-x twice in the same lock.
> 

Thread
Read/write table lockFabio Galarraga20 Mar
  • Re: Read/write table lockJeremy D. Zawodny20 Mar
  • Re: Read/write table lockGerald L. Clark20 Mar
RE: Read/write table lockFabio Galarraga21 Mar
  • Re: Read/write table lockGerald L. Clark21 Mar
  • Too Many ConnectionsWebmaster21 Mar
Re: Too Many ConnectionsErik Stephens21 Mar