MySQL Forums
Forum List  »  Connector/C++

Re: Binding NULL in a prepared statement
Posted by: Luis Silva
Date: January 29, 2019 09:37AM

Hi!

You need to use bind(std::nullptr), since NULL is 0, which is received as a integer!

Luís

Options: ReplyQuote


Subject
Views
Written By
Posted
1868
January 27, 2019 10:55AM
Re: Binding NULL in a prepared statement
752
January 29, 2019 09:37AM


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.