Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
64bit
Description
to repoduce:
OK_SIMPLE_STMT(Stmt, "create table t_odbc (id int)");
OK_SIMPLE_STMT(Stmt, "insert into t_odbc values(1), (2)");
CHECK_STMT_RC(Stmt, SQLSetStmtAttr(Stmt,SQL_ATTR_ROW_ARRAY_SIZE,(SQLPOINTER)2,0));
OK_SIMPLE_STMT(Stmt, "select * from t_odbc");
CHECK_STMT_RC(Stmt, SQLBindCol(Stmt,1,SQL_C_LONG,&iarray,0,len));
CHECK_STMT_RC(Stmt, SQLFetchScroll(Stmt,SQL_FETCH_NEXT,0));
is_num(len[0], len[1]);
is_num(len[1], sizeof(SQLUINTEGER));
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 3.0.0 [ 22038 ] | |
Fix Version/s | 2.0.13 [ 22304 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB connectors [ 77593 ] | MariaDB v3 [ 84031 ] |
Workflow | MariaDB v3 [ 84031 ] | MariaDB v4 [ 135407 ] |
Fix and changes in testcases to cover this bug have been pushed