Re: Database problem
| From: | Bob Bell | Date: | Wed, 15 Jan 2003 18:21:27 +0000 |
| Subject: | Re: Database problem | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3314@lists.php.net to get a copy of this message | ||
On Wed, Jan 15, 2003 at 04:45:47PM -0000, Mike Carter <mcarter@quantiv.com> wrote:
> My first idea was to have a field for every row in every table which holds a
> version number - this gets incremented when somebody writes an update back
> over it. Before writing over it the version number of the data to be
> written and the version number of the existing record in the dbase are
> compared.
Okay, if it is an atomic operation, of course...
--
Bob Bell <bobbell@zk3.dec.com>
-------------------------------------------------------------------------
"Digital files cannot be made uncopyable, any more than water can
be made not wet."
-- Bruce Schneier, CRYPTO-GRAM, May 15, 2001