LOCKS???
| From: | Tedd Sperling | Date: | Sun, 27 Nov 2016 23:37:11 +0000 |
| Subject: | LOCKS??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-325846@lists.php.net to get a copy of this message | ||
Hi gang:
I’ve read a bunch about MYSQL LOCKs, but I can seem to get them to work.
For example, I have two computers accessing the same host (i.e., thus each with different SIDs) and
accessing two different scripts. One script performs a "LOCK TABLES t WRITE" and the
second script tries to read TABLE t. While the LOCK is in place, the second script has no problem
reading and writing to TABLE t.
I don’t understand what's wrong — any ideas?
Thanks,
tedd
_______________
tedd sperling
tedd.sperling@gmail.com