LOCK TABLES with registry?
| From: | ma | Date: | Tue, 06 Jan 2004 20:21:09 +0000 |
| Subject: | LOCK TABLES with registry? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32303@lists.php.net to get a copy of this message | ||
Hi folks!
I use a registry in my webapp which holds an instance of my sql-class.
within my application i _only_ use this instance to do queries.
first of all i lock all my tables with
LOCK TABLES tableName WRITE;
Later in the progrmm i try to do a "SELECT
menue as first ..."
but i
get:
"Table 'first' was not locked with LOCK TABLES"
what do i do wrong?
# die welt ist schnell geworden...