sql_create_1 problem -
03-12-2005
, 06:26 AM
------=_NextPart_000_0000_01C52707.24517660
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
When I have
sql_create_1(user, 1, 0, string, ip)
I get compilation an error saying
error C2664: 'user::set' : cannot convert parameter 1 from 'const char [4]'
to 'const mysqlpp::Row &'
Reason: cannot convert from 'const char [4]' to 'const mysqlpp::Row'
No constructor could take the source type, or constructor overload
resolution was ambiguous
on the usr.set("APA") line below
Query query = connection->query();
user usr;
usr.set("APA");
I feel that I have done exactly as the example custom2, which follows
mysql++. I have not used / declared / defined this function anywhere else.
What could this error depend on?
------=_NextPart_000_0000_01C52707.24517660-- |