dbTalk Databases Forums  

[Info-Ingres] OpenAPI select and locking

comp.databases.ingres comp.databases.ingres


Discuss [Info-Ingres] OpenAPI select and locking in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Martin Bowes
 
Posts: n/a

Default [Info-Ingres] OpenAPI select and locking - 06-17-2011 , 04:20 AM






Hi All,

Quick question...before I start hacking some code togethor...

Does anyone know if the cursor opened by iiapi_query for a select is openedwith readonly set.

Quote:
From what I can tell it is not, and hence my select is flagged as taking anIX lock and hence stalling.
Martin Bowes

Reply With Quote
  #2  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] OpenAPI select and locking - 06-17-2011 , 04:44 AM






Having just looked at the programmers code...

Yep thay are doing a cursor open and not using a select loop. The cursor statement is not being specified with readonly.

Mystery solved.

Marty

From: Martin Bowes [mailto:martin.bowes (AT) ctsu (DOT) ox.ac.uk]
Sent: 17 June 2011 10:20
To: Ingres and related product discussion forum
Subject: [Info-Ingres] OpenAPI select and locking

Hi All,

Quick question...before I start hacking some code togethor...

Does anyone know if the cursor opened by iiapi_query for a select is openedwith readonly set.

Quote:
From what I can tell it is not, and hence my select is flagged as taking anIX lock and hence stalling.
Martin Bowes

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.