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

DCN getObjectName display mess code #348

Open
insertintosb opened this issue Jun 1, 2023 · 1 comment
Open

DCN getObjectName display mess code #348

insertintosb opened this issue Jun 1, 2023 · 1 comment

Comments

@insertintosb
Copy link

Hi, I get some question when using dcn.
My environment:
OS: Windows 10 LTS
OCILIB 4.2.0
Oracle server 12.1.0 on the server machine
I built OciLib with DEBUG - Unicode configuration on Win32 platform with VS2015.

In the function of EventHandler(Event &evt) , I print something like this:
cout << evt.GetObjectName() << endl;

Most of the time, this code displays correct database table name like 'xxxxxxx$vf', however it displays some mess code after the program run for a while.

Best regards and thanks for your work on this project

vrogier pushed a commit that referenced this issue Jul 14, 2023
… string, made sure that the returned value is NULL terminiated.
@vrogier vrogier self-assigned this Jul 14, 2023
@vrogier
Copy link
Owner

vrogier commented Jul 14, 2023

Hi,

thanks for reporting the issue.
Sometime some properties reported by the OCI client library can be not NULL terminated.
I committed some change that ensure these are now retrieved and reproted by OCILIB with a NULL ending character.

Regards,

Vincent

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

No branches or pull requests

2 participants