alexbrainman / odbc

odbc driver written in go
BSD 3-Clause "New" or "Revised" License
348 stars 139 forks source link

Issue with Unixodbc-2.3.7 for master and for_issue_88 branch #181

Open srambhau-tibco opened 2 years ago

srambhau-tibco commented 2 years ago

With *master : -Not able to connect to database, getting error : SQLDriverConnect: {H}

With for_issue_88: -Able to connect but not able to fetch data for below basic query with prepared parameter with only string type, ex- "select from users where user_name = ?;", here prepared parameter value is of type string. -Some rows are expected for this query but getting nil. -For a query like- "select from users;" , we get the appropriate results. -For a query like "select from users where userid=?", here prepared parameter value type is int and we get the appropriate results.

Both of these issues does not occur with unixODBC-2.3.6. Unfortunately, we can use only unixODBC-2.3.7 on the production environment. Also, Is there any background on not merging for_issue_88 to master?

Looks like probably an issue with unixODBC but any pointers will be really helpful. Thanks.

alexbrainman commented 2 years ago

Both of these issues does not occur with unixODBC-2.3.6. Unfortunately, we can use only unixODBC-2.3.7 on the production environment.

I have no suggestions for you.

Also, Is there any background on not merging for_issue_88 to master?

I don't even remember why I created for_issue_88 branch. You can search for this information, like this

https://github.com/alexbrainman/odbc/issues?q=is%3Aissue+for_issue_88

If you still have some questions, please, ask them here.

Thank you.

Alex