ocilib
ocilib copied to clipboard
DCN getObjectName display mess code
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
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