Priority: Major - P3
Affects Version/s: 3.4.0
Fix Version/s: None
If I simply call this function:
with C type char* parameter like above, it works, but if I call it with a c++ type string like this:
then it crashes with null pointer. See the message in file attachment.
My full code is the following:
It doesn't seem to be correct.
(It doesn't work with either non-static string parameter, but I then I got an exception, like "an invalid MongoDB URI was provided". But the non-static string was working if I convert it with c_str() as above.)
Please me with this issue.