diff options
author | randomdan <randomdan@localhost> | 2014-03-03 20:57:27 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-03-03 20:57:27 +0000 |
commit | 274b757c0626abcda3a0414451fc4d1b2bc766f9 (patch) | |
tree | 714942e2fd8694548c7ced7859a996475e30a571 /libmysqlpp/command.h | |
parent | Fix slice scanner and split .ice files back into logical blocks (diff) | |
download | libdbpp-mysql-274b757c0626abcda3a0414451fc4d1b2bc766f9.tar.bz2 libdbpp-mysql-274b757c0626abcda3a0414451fc4d1b2bc766f9.tar.xz libdbpp-mysql-274b757c0626abcda3a0414451fc4d1b2bc766f9.zip |
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
Diffstat (limited to 'libmysqlpp/command.h')
-rw-r--r-- | libmysqlpp/command.h | 4 |
1 files changed, 2 insertions, 2 deletions
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: |