You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Gao, Rui-Xian (JIRA)" <ji...@apache.org> on 2018/01/26 08:26:00 UTC

[jira] [Updated] (TRAFODION-1682) [MTDCS] ODBC: SQLFetch returned invalid cursor state

     [ https://issues.apache.org/jira/browse/TRAFODION-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gao, Rui-Xian updated TRAFODION-1682:
-------------------------------------
    Environment: 
platform: suse11 
connect info : 10.10.10.176:23400 
build : 20151121_0900-bin 
driver version: 1119

  was:
platform: suse11 
connect info : 10.10.10.176:23400 
esgynDB version :esgynDB-20151121_0900-bin 
driver version: 1119


> [MTDCS] ODBC: SQLFetch returned invalid cursor state
> ----------------------------------------------------
>
>                 Key: TRAFODION-1682
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1682
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: connectivity-dcs
>    Affects Versions: 2.0-incubating
>         Environment: platform: suse11 
> connect info : 10.10.10.176:23400 
> build : 20151121_0900-bin 
> driver version: 1119
>            Reporter: Gao, Rui-Xian
>            Assignee: Weiqing Xu
>            Priority: Major
>
> SQLFetch returned invalid cursor state
> An unexpected error occurred when calling SQLFetch() in common.c.
> Log SHOWCONTROL ALL error. Expected SQL_SUCCESS, returned -1
>    State: 24000
>    Native Error: 0
>    Error: [Trafodion ODBC Driver] INVALID CURSOR STATE.
>  
>  test code -
> SQLAllocStmt((SQLHANDLE)hdbc, &hstmt);    
> SQLExecDirect(hstmt,(SQLTCHAR *) ShowCntl, SQL_NTS);
> //this statement is 'showcontrol all'
>   SQLFetch(hstmt); // it will return error



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)