The record you want to update is locked by another client.

Check return value of your update()

What you have to do is approx. the following:

while( record_locked)
{
    sleep(...)
    if( update(...) == OK )
        break;
}

Roberto Freitas Alexandre wrote:

> MySQL
>
>  Hi all,
>
>  I am receving this error message sometimes when I tried to update a record.
> I am using Delphi 3, ODBC connection and TTable object.
> What I have to do ?
>
>  Somebody can help me ?
>
>  Tks,
>
>  Roberto Alexandre
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

--
AK



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to