Re: table locking ... not required ?
| From: | Torsten Roehr | Date: | Fri, 09 Jul 2004 13:31:07 +0000 |
| Subject: | Re: table locking ... not required ? | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35173@lists.php.net to get a copy of this message | ||
"John W. Holmes" <holmes072000@charter.net> wrote in message
news:40EE829A.9030302@charter.net...
> Michael Gale wrote:
> > For the UPDATES ... what would have it in theory two people hit the
UPDATE
> > button at the exact same time ? Would one just over write the other ...
> > cause that is fine ?
Hi Michael,
is it really OK that the second update just overwrites the first one?
Because the second update will overwrite the first one *without* knowing
about the first update and therefore without knowing about the data
resulting from the first update.
Regards, Torsten
>
> Whatever UPDATE gets there first will execute and the other one will
> wait until it's finished to update. There won't be any contention.
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals www.phparch.com