| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Adrian Cornish | Date: | July 28 2009 5:32pm |
| Subject: | mysqlpp::Time and negative times | ||
| View as plain text | |||
Hi All, I've tried using mysqlpp::Time for negative times but I just get unsigned overflow on the hour field. Is there another type I should be using or does mysqlpp::Time need expanding for negative times. Also since mysqlpp::Time is using unsigned char - it cannot support full range of values mysql can From mysql docs: TIME <http://dev.mysql.com/doc/refman/5.1/en/time.html>values may range from '-838:59:59' to '838:59:59'. Any suggestions welcome. Adrian
| Thread | ||
|---|---|---|
| • mysqlpp::Time and negative times | Adrian Cornish | 28 Jul |
| • Re: mysqlpp::Time and negative times | Warren Young | 29 Jul |
| • Re: mysqlpp::Time and negative times | Adrian Cornish | 30 Jul |
| • Re: mysqlpp::Time and negative times | Warren Young | 30 Jul |
