ocilib icon indicating copy to clipboard operation
ocilib copied to clipboard

DCN getObjectName display mess code

Open insertintosb opened this issue 2 years ago • 1 comments

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

insertintosb avatar Jun 01 '23 03:06 insertintosb

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

vrogier avatar Jul 14 '23 15:07 vrogier