Re: Connector/C++ v 8 and binding parameters
Yes, it helps. Stated more fully, you have to use the individual setXXX (setInt, setDouble, etc.) functions to set the parameterized values.
But I still have a problem. Namely, I can't figure out how to set a blob. I'm starting with binary data in memory (specifically the BIND structure described in the 5.4 API) that can contain nuls. PreparedStatement::setBlob wants an iostream, and I've spent hours looking for something like std::istringstream that will work with binary data. Or else a function like mysqli_stmt_send_long_data that's in the JDBC api.
Subject
Views
Written By
Posted
953
January 24, 2020 12:02PM
467
January 25, 2020 05:04AM
Re: Connector/C++ v 8 and binding parameters
527
January 25, 2020 05:37AM
499
January 27, 2020 01:05AM
381
January 28, 2020 06:21AM
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.