Demetris Zavorotnichenko wrote:
>
> sql_create_14(stock,
Is your table actually called "stock"?
> ===>stock row = res[0]; Error from here "mysqlpp::BadConversion at memory
> location"
One of the values in the result set is not compatible with the data
types declared in your SSQLS.
> | id | int(11) | YES | | NULL | |
All of these columns are declared as being able to take NULL, but you
haven't reflected that in your SSQLS. Unless none of these fields
actually *do* contain SQL nulls, that could explain the exception.
mysqlpp::Null<mysqlpp::sql_int>, id
etc.