Hello!
It seems like it is an error in mysql soci driver.
Attached example terminates with the exception "Unknown data type.".
--
Best regards, Michael Evdokimov
Network Solutions, Moscow, Russia, Office: +7-495-7950677, Mobile:
+7-963-6054013
Web: www.lanbilling.ru, www.lanbilling.tv, www.helpdesk2.ru
#include <iostream>
#include <soci/soci.h>
#include <soci/soci-mysql.h>
int main()
{
soci::session db(soci::mysql, "user=billing password=billing dbname=ryazan2");
soci::row r;
db << "set @day = '5'";
db << "set @mm = 'december'";
db << "set @year = '2012'";
db << "select concat(@day,' ',@mm,' ',@year)", into( r );
std::cout << "ok" << std::endl;
return 0;
}
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users