[
https://issues.apache.org/jira/browse/IGNITE-16359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484125#comment-17484125
]
Ivan Daschinsky commented on IGNITE-16359:
------------------------------------------
[~isapego] Thanks for review, merged to master
[~abhayavis] You can apply this
[commit|https://github.com/apache/ignite/commit/0793598c728b0ef389f2dd5d148ae42e59176893]
to [2.12 release branch|https://github.com/apache/ignite/tree/ignite-2.12] and
built new version of ODBC driver by yourself, see
[docs|https://ignite.apache.org/docs/latest/SQL/ODBC/odbc-driver#building-odbc-driver]
or
[DEVNOTES|https://github.com/apache/ignite/blob/8f96581f805963714ca157c3e46441acae65ea41/modules/platforms/cpp/DEVNOTES.txt#L81]
> SET STREAMING ON/OFF not working
> ---------------------------------
>
> Key: IGNITE-16359
> URL: https://issues.apache.org/jira/browse/IGNITE-16359
> Project: Ignite
> Issue Type: Bug
> Components: odbc
> Affects Versions: 2.10, 2.11, 2.12, 2.11.1
> Reporter: Abhay
> Assignee: Ivan Daschinsky
> Priority: Major
> Fix For: 2.13
>
> Attachments: check_odbc.py
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In ODBC set steaming was working till 2.9.1 . In the newer version if we run
> the command we get error
> SQL> set streaming on
> [ISQL]ERROR: Could not SQLNumResultCols
> [ODBC][24581][1643012198.417732][SQLPrepare.c][196]
> Entry:
> Statement = 0x555c08ebc6a0
> SQL = [set streaming on][length = 16]
> [ODBC][24581][1643012198.417825][SQLPrepare.c][377]
> Exit:[SQL_SUCCESS]
> [ODBC][24581][1643012198.417852][SQLExecute.c][187]
> Entry:
> Statement = 0x555c08ebc6a0
> [ODBC][24581][1643012198.418666][SQLExecute.c][357]
> Exit:[SQL_SUCCESS]
> [ODBC][24581][1643012198.418709][SQLNumResultCols.c][156]
> Entry:
> Statement = 0x555c08ebc6a0
> Column Count = 0x7fffedb35566
> [ODBC][24581][1643012198.418743][SQLNumResultCols.c][251]
> Exit:[SQL_ERROR]
> [ODBC][24581][1643012198.418772][SQLError.c][424]
> Entry:
> Statement = 0x555c08ebc6a0
> SQLState = 0x7fffedb35306
> Native = 0x7fffedb35300
> Message Text = 0x7fffedb35310
> Buffer Length = 500
> Text Len Ptr = 0x7fffedb352fe
> [ODBC][24581][1643012198.418801][SQLError.c][474]
> Exit:[SQL_NO_DATA]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)