OCT 提交库文件

This commit is contained in:
mengqingchao 2019-07-22 18:08:26 +08:00
parent e9d1576d4f
commit 1b0407bb81
3 changed files with 4 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -387,6 +387,8 @@ void * select_datebase_by_number(int module_id, void * db_handle, char * table_
return NULL;
}
*return_num = 0;
/* 是否存在扩展参数,会采用不同的处理流程 */
if (0 == param_num)
{
@ -601,6 +603,8 @@ int get_select_datebase_number(int module_id, void * db_handle, char * table_n
return DB_RET_ERR;
}
*ret_num = 0;
SQLSetStmtAttr( hstmt, SQL_ATTR_CONCURRENCY, (SQLPOINTER)SQL_CONCUR_VALUES, 0 );
SQLSetStmtAttr( hstmt, SQL_ATTR_CURSOR_TYPE, (SQLPOINTER)SQL_CURSOR_STATIC, 0 );
SQLSetStmtAttr( hstmt, SQL_ATTR_ROW_ARRAY_SIZE, (SQLPOINTER)DB_COLUMN, 20 );