[odb-users] Help, problem in mysql

staywild staywild at foxmail.com
Tue Mar 5 06:35:17 EST 2013


Here I use the struct tm from <time.h> in CI try to map this date type to datetime in MySQL database, while encountered a gcc compiling failure.


Code:
#pragma db type("datetime") null
struct tm finishedtime;



How to slove this problem?


More information about the odb-users mailing list