Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

endless loop #106

Open
rbartholomay opened this issue Jul 25, 2016 · 1 comment
Open

endless loop #106

rbartholomay opened this issue Jul 25, 2016 · 1 comment

Comments

@rbartholomay
Copy link

Hi,

i use the odbc with the "AR System ODBC Driver". it seems that dthe driver did not respond with the correct info if is select some columns.
In my case there is an endless loop when i select a char column. I did an odbc protocoll, there is the data, but it seems that the fetchall have a problem. Any idea?

This is the part of an endless loop:

node  --harmony 1778-2530   EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
        HSTMT               0x001328C8
        UWORD                        3 
        SWORD                       -8 <SQL_C_WCHAR>
        PTR                 0x059D0020 [      20] "Zugewiesen"
        SQLLEN               1048575
        SQLLEN *            0x003DF514 (20)

node  --harmony 1778-2530   ENTER SQLGetData 
        HSTMT               0x001328C8
        UWORD                        3 
        SWORD                       -8 <SQL_C_WCHAR>
        PTR                 0x059D0020 
        SQLLEN               1048575
        SQLLEN *            0x003DF514

node  --harmony 1778-2530   EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
        HSTMT               0x001328C8
        UWORD                        3 
        SWORD                       -8 <SQL_C_WCHAR>
        PTR                 0x059D0020 [      20] "Zugewiesen"
        SQLLEN               1048575
        SQLLEN *            0x003DF514 (20)

node  --harmony 1778-2530   ENTER SQLGetData 
        HSTMT               0x001328C8
        UWORD                        3 
        SWORD                       -8 <SQL_C_WCHAR>
        PTR                 0x059D0020 
        SQLLEN               1048575
        SQLLEN *            0x003DF514

node  --harmony 1778-2530   EXIT  SQLGetData  with return code 0 (SQL_SUCCESS)
        HSTMT               0x001328C8
        UWORD                        3 
        SWORD                       -8 <SQL_C_WCHAR>
        PTR                 0x059D0020 [      20] "Zugewiesen"
        SQLLEN               1048575
        SQLLEN *            0x003DF514 (20)
@rbartholomay
Copy link
Author

the problem is the loop in odbc.cpp. in my case the one column index will be read again and again. In the moment i remove the loop - but this cannot be the solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant