MySQL Forums
Forum List  »  Connector/C++

Re: connector 8 Session exception
Posted by: Reha Elci
Date: April 26, 2019 07:56AM

Thanks very much Luis,

I downloaded the new version but its the same problem. Catching the exception, we get : "ERROR: CDK Error: Failed string conversion". I also tried passing the "db" part as an additional argument but its the same result. Debug/Release didn't make any difference.

Stepping into Session, it seems like the exception is happening below, as soon as I try to step into Impl::from_utf8 function.

static void from_str(mysqlx::string &to, const string &from)
{
Impl::from_utf8(to, from);
}

I also tried passing in strings like u8"db" but that didn't help. Do you know where that function is actually defined? [intellisense can't seem to find it]

Thanks for your help!

Options: ReplyQuote


Subject
Views
Written By
Posted
2397
April 23, 2019 07:11PM
1030
April 24, 2019 05:02PM
1028
April 25, 2019 04:24PM
1004
April 26, 2019 03:08AM
1194
April 26, 2019 03:29AM
Re: connector 8 Session exception
1031
April 26, 2019 07:56AM
969
April 26, 2019 08:12AM
1096
April 26, 2019 11:04AM
1052
April 26, 2019 11:07AM
1019
April 30, 2019 08:16AM
2084
May 05, 2019 11:40AM
962
November 27, 2019 10:51PM
820
November 28, 2019 03:49AM
921
February 03, 2020 12:21PM
694
February 04, 2020 09:13AM
781
February 07, 2020 01:03PM
782
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.