Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
v1.6.0
-
None
Description
When use SSRS BI to save query to dataset, error will be thrown out.
Root cause, SQLPrepareW does not prepare column info and SQLNumResultCols will fail.
driver_debug.log
[DEBUG]SQLPrepareW called on: 191574520
[INFO ]SQLFreeStmt called, 191574520 with option 0
[DEBUG]SQLFreeStmt called for Result
[DEBUG]The query being prepared is :
[DEBUG]SELECT COUNT(*) AS AA
FROM kylin_sales
[DEBUG]SQLNumResultCols called
[DEBUG]_SQLPutDiagRow called, handle type is 3
[DEBUG]DiagMsg: [Kylin][ODBC 1.0(w) Driver]no resultset or IRD