| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Gerald L. Clark | Date: | March 20 2001 8:33pm |
| Subject: | Re: Read/write table lock | ||
| View as plain text | |||
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 lock | Fabio Galarraga | 20 Mar |
| • Re: Read/write table lock | Jeremy D. Zawodny | 20 Mar |
| • Re: Read/write table lock | Gerald L. Clark | 20 Mar |
| • RE: Read/write table lock | Fabio Galarraga | 21 Mar |
| • Re: Read/write table lock | Gerald L. Clark | 21 Mar |
| • Too Many Connections | Webmaster | 21 Mar |
| • Re: Too Many Connections | Erik Stephens | 21 Mar |
