MySQL Forums
Forum List  »  Connector/C++

Re: connector 8 Session exception
Posted by: Luis Silva
Date: April 30, 2019 08:16AM

Hi!

I could only reproduce that issue if I used a illformed utf8 string, like:

std::string user = "Luís";

and use this when passing options.

If I switch to:

mysqlx::string user = L"Luís";

All was good...

Options: ReplyQuote


Subject
Views
Written By
Posted
2241
April 23, 2019 07:11PM
968
April 24, 2019 05:02PM
979
April 25, 2019 04:24PM
954
April 26, 2019 03:08AM
1137
April 26, 2019 03:29AM
971
April 26, 2019 07:56AM
921
April 26, 2019 08:12AM
1038
April 26, 2019 11:04AM
997
April 26, 2019 11:07AM
Re: connector 8 Session exception
966
April 30, 2019 08:16AM
2025
May 05, 2019 11:40AM
891
November 27, 2019 10:51PM
762
November 28, 2019 03:49AM
863
February 03, 2020 12:21PM
646
February 04, 2020 09:13AM
729
February 07, 2020 01:03PM
730
February 11, 2020 12:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.