Hi All,
I am currently having some problem getting the datetime column from the database..
try {
std::string q = "select created_at from users";
Statement stmt(*_pSession);
stmt << q;
stmt.execute();
RecordSet rs(stmt);
} catch(StatementException ex){
std::cout << ex.displayText() << std::endl;
return 0;
}
Here the created_at is of datetime type...
Stacktrace :
(gdb) bt
#0 0x00007fff8e632212 in __pthread_kill ()
#1 0x00007fff84edcb34 in pthread_kill ()
#2 0x00007fff84f20dfa in abort ()
#3 0x00007fff89d94f87 in abort_message ()
#4 0x00007fff89d92936 in default_terminate ()
#5 0x00007fff8b013907 in _objc_terminate ()
#6 0x00007fff89d92965 in safe_handler_caller ()
#7 0x00007fff89d929c0 in std::terminate ()
#8 0x00007fff89d93b27 in __cxa_throw ()
#9 0x000000010082eb80 in Poco::Data::StatementImpl::makeExtractors ()
#10 0x000000010082ed9d in Poco::Data::StatementImpl::compile ()
#11 0x000000010082ee34 in Poco::Data::StatementImpl::executeWithoutLimit ()
#12 0x000000010082f07f in Poco::Data::StatementImpl::execute ()
#13 0x000000010000194c in main () at query.cc:66
Please let me know if I am missing something...





