From 274b757c0626abcda3a0414451fc4d1b2bc766f9 Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 3 Mar 2014 20:57:27 +0000 Subject: Adds native support for time_duration as a variable type Pass/retrieve boost::posix_time ptime and time_duration into/out of the db tier --- libmysqlpp/command.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmysqlpp/command.h') diff --git a/libmysqlpp/command.h b/libmysqlpp/command.h index 19a1323..21a2e09 100644 --- a/libmysqlpp/command.h +++ b/libmysqlpp/command.h @@ -24,8 +24,8 @@ namespace MySQL { void bindParamS(unsigned int, const Glib::ustring&); - void bindParamT(unsigned int, const tm*); - void bindParamT(unsigned int, time_t); + void bindParamT(unsigned int, const boost::posix_time::time_duration &); + void bindParamT(unsigned int, const boost::posix_time::ptime &); void bindNull(unsigned int); protected: -- cgit v1.2.3