Re: [Cppcms-users] dbixx and time()
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2010-10-14 13:45:17
|
On Thursday 14 October 2010 09:12:42 pm Artyom wrote: > time_t t = time(NULL); > sql << "SELECT COUNT(*) FROM table WHERE time < ?", static_cast<long > long int>(t); Thanks a lot. It works this way. If anybody is interested, here is the related ticket: https://sourceforge.net/tracker/?func=detail&aid=3087401&group_id=209965&atid=1011835 Augustin. -- Friends: http://www.reuniting.info/ http://activistsolutions.org/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |