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 2015/12/08 03:49:10 UTC
[jira] [Created] (TRAFODION-1682) [MTDCS] ODBC: SQLFetch returned
invalid cursor state
Gao, Rui-Xian created TRAFODION-1682:
----------------------------------------
Summary: [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
esgynDB version :esgynDB-20151121_0900-bin
driver version: 1119
Reporter: Gao, Rui-Xian
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
(v6.3.4#6332)