Skip to content
This repository was archived by the owner on Jun 7, 2021. It is now read-only.

Conversation

@Weixin-Xu
Copy link
Contributor

I found that user pass the length with char then Windows DriverManager will pass the length/2 to driver.
So it is not necessary here to divide the length by two.

@Weixin-Xu Weixin-Xu changed the title ODBC error message is truncated [TRAFODION-3214] ODBC error message is truncated Sep 26, 2018
@Traf-Jenkins
Copy link

Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/3001/

@Traf-Jenkins
Copy link

//Double strLen to circumvent the bug in driver manager, that requires us to give
//the NO. OF BYTES instead of no. of characters
strLen = tmpStrLen * 2;
strLen = tmpStrLen;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the comment before this statement be deleted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it seems the bug mentioned is fixed and I will verify it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants