dbTalk Databases Forums  

"Query cannot be closed in the current state"- A strange run time error while using OPENapi

comp.databases.ingres comp.databases.ingres


Discuss "Query cannot be closed in the current state"- A strange run time error while using OPENapi in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Hillel Eilat
 
Posts: n/a

Default "Query cannot be closed in the current state"- A strange run time error while using OPENapi - 03-10-2005 , 11:30 AM






Hello Everybody

My application uses OPENapi interface to interact with OpenIngres.

First it does some internal settings and connects, involving following
calls:

IIapi_initialize: initParm=FCB85250
IIapi_connect: connectParm=FCB93B58
..
..
and some

IIapi_query: query=FCB7FF0C
IIapi_setDescriptor: setDescrParm=FCB7FF0C
IIapi_putParms: putParmParm=FCB7FF0C
IIapi_getDescriptor: getDescrParm=FCB7FF0C
IIapi_wait: waitParm=FCB7FF0C
..
..
Followed by some:

IIapi_getColumns: getColParm=FCB7FF0C
IIapi_wait: waitParm=FCB7FF0C
IIapi_close: closeParm=FCB7FF0C
..
..
Now it attempts to do a simple query: SELECT * FROM
INGRES.HS_TRANSACTION_LOG

IIapi_query: query=FCB7FF0C
IIapi_getDescriptor: getDescrParm=FCB7FF0C
IIapi_wait: waitParm=FCB7FF0C
IIapi_close: closeParm=FCB7FF0C
IIapi_getErrorInfo: getEInfoParm=5D2898
..
..
and fails due to the following error:

XXXXXX>> : ERROR '5000R' 13172743: Query cannot be closed in the current
state, it may only be cancelled.


Does anybody have any idea what is this message and where does it come from?

Thanx + Regards

Hillel.



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.