Max Buvry wrote:
> My script php follows this steps :
> Compute the key -> v
> BEGIN WORK
> UPDATE the first bank account with v (credit)
Make sure you have long enough timeout limit.
> UPDATE the second bank account with v+1 (debit)
> COMMIT WORK
It works for me. (at least with CVS version)
If there is uncommitted transaction, pgsql module
BTW, if you have too long timeout limit, your site
became weaker for DoS attack.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php