Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Informix
Expertise: Beginner
Sep 22, 2000

Informix Row Locking Problem

Question:
I created a simple SQL statement to update one row of a table in a transaction. I then updated a different row in the same table while this transaction was still open. I got a 107 ISAM error (record is locked). Now, the table is definitely set to row level locking and the table has no indexes to confuse the locking issue. Therefore, it seems not to be working. Do you have any suggestions?

Answer:
What version of the engine are you on? Pre-7.X versions had a problem in which adjacent keys were locked. Do you have any constraints or triggers involved with the table? It could be something else that's getting locked.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap