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

Problems with std::string length=1 and size=1 #10

Closed
wants to merge 2 commits into from

Conversation

kornefalk
Copy link

If a i.e. a single character is stored in a std::string (aka ostring /
std::wstring), the call to OCI_BindString will receve size 1, not size 2
(the character and the null terminator character). Therfore the variable
is not correctly bound.

If a i.e. a single character is stored in a std::string (aka ostring /
std::wstring), the call to OCI_BindString will receve size 1, not size 2
(the character and the null terminator character). Therfore the variable
is not correctly bound.
LONG RAW datatype has special treatment in OCI. Setting value with
ocilib:Raw works but not reading.
@vrogier
Copy link
Owner

vrogier commented Aug 13, 2015

For RAW, it is a type misuse
For string binding, i cannot see where the issue

Thus, closing this pull request for the moment

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

Successfully merging this pull request may close these issues.

2 participants