MySQL Forums
Forum List  »  Connector/C++

Re: Declaring user variable into database using mysql connector c++
Posted by: Armand Moutchiho
Date: January 31, 2017 08:08AM

Yes and No. :)
I first tried to retrieve the value from the same thread (within the same Googletest Test Function ) and it didn't work.
And No because I also tried in a different thread. I usually test if, what i am executing from my GoogleTest C++ Solution is actually modifying the server by opening a windows console and connecting with a MySQl Client to Query the results from there.

From Both, I didn't got the value expected. I read that for the MySQL Connector/Net the option to use User Variable is per default deactivated. One needs to set a certain parameter "AllowUserVariables" using such connection strings. But I could not find a similar alternative for MySQL Connector/C++!?

Options: ReplyQuote

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.