提交 ec04ef7b 编写于 作者: F freemine

delay fetch

上级 52f023c0
...@@ -201,11 +201,8 @@ SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle, ...@@ -201,11 +201,8 @@ SQLRETURN SQL_API SQLExecDirect(SQLHSTMT StatementHandle,
sql->row = NULL; sql->row = NULL;
} }
sql->rs = taos_query(sql->conn->taos, (const char*)StatementText); sql->rs = taos_query(sql->conn->taos, (const char*)StatementText);
if (sql->rs) {
sql->row = taos_fetch_row(sql->rs);
}
return sql->row ? SQL_SUCCESS : SQL_NO_DATA; return sql->rs ? SQL_SUCCESS : SQL_NO_DATA;
} }
SQLRETURN SQL_API SQLNumResultCols(SQLHSTMT StatementHandle, SQLRETURN SQL_API SQLNumResultCols(SQLHSTMT StatementHandle,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册