List:MySQL++« Previous MessageNext Message »
From:Demetris Date:October 17 2008 7:47pm
Subject:RE: Modifying rows
View as plain text  
Yes, that's what was the problem. I appreciate your help on this. (Once
again )

Sorry for all this questions, I know all this is pretty simple to you but
I'm still new on this :)

-----Original Message-----
From: Warren Young [mailto:mysqlpp@stripped] 
Sent: Friday, October 17, 2008 12:59 AM
To: MySQL++ Mailing List
Subject: Re: Modifying rows

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.

-- 
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=1

Thread
Modifying rowsDemetris Zavorotnichenko16 Oct
  • Re: Modifying rowsWarren Young16 Oct
    • RE: Modifying rowsDemetris17 Oct
Re: Modifying rowsRick Gutleber17 Oct