Subject | Re: [firebird-support] Error during delete statement. |
---|---|
Author | Helen Borrie |
Post date | 2009-09-25T03:44:44Z |
At 12:37 PM 25/09/2009, you wrote:
1) someone hasn't popped that new error into messages.fdb yet so it needs a tracker report;
or
2) you are using an old client lib
Are you running in Debug mode?
./heLen
>Hi All,My deduction is that you're trying to hit the same record twice in a single transaction. Fb 2.1 objects to it (whereas earlier Firebirds didn't) and is throwing a hard-coded error string on the 'random error' bandwagon.
>
>ISC ERROR CODE:335544382
>
>ISC ERROR MESSAGE:
>cannot update erased record
>
>I get this error during a delete statement and I do not understand what
>happens to trigger it.
>The error I usually get (and expect) is:That would occur if the delete and the update were requested from *different* transactions.
>ISC ERROR CODE:335544345
>
>ISC ERROR MESSAGE:
>lock conflict on no wait transaction
>deadlock
>update conflicts with concurrent update
>concurrent transaction number is 146304
>This is not a production error but an extreme test case that performs aIf it is what I think it is then yes, it would be normal in v.2.1 and later. And, if it is what I think it is then it means either
>lot of random inserts, selects and deletes.
>
>Can someone please explain if the top error is normal?
1) someone hasn't popped that new error into messages.fdb yet so it needs a tracker report;
or
2) you are using an old client lib
Are you running in Debug mode?
./heLen