Re: Re: MySQL Database Locking - needed?
| From: | Raquel Rice | Date: | Tue, 10 Jul 2001 23:31:39 +0000 |
| Subject: | Re: Re: MySQL Database Locking - needed? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10247@lists.php.net to get a copy of this message | ||
Tom Peck wrote:
>
> Thanks for the reply Manual.
>
> The updating IS done with one single query - but the problem is that if two
> people are editing the same car, the second update will overwrite the
> first. Not a huge problem - and the chance of it happening is almost nil -
> but there is still the possibility.. Changing databases seems a little
> extreme - and not possible with our web host.
>
> Tom
How about writing a text file that would be your "lock" file, rather
than depending upon MySQL to do it for you?
--
Raquel
============================================================
He who has imagination without learning has wings and no feet.
--Anonymous