diff options
author | Francis Dupont <fdupont@isc.org> | 2019-02-06 00:29:53 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-02-06 00:29:53 +0100 |
commit | 849e70073f74caff131f89622f5ece60f704e6cb (patch) | |
tree | 9807c17db6a9ef298bb9e7c9c8ccdc698889facd /src/lib/mysql/mysql_binding.cc | |
parent | [master] Added ChangeLog about making perfdhcp build optional (diff) | |
download | kea-849e70073f74caff131f89622f5ece60f704e6cb.tar.xz kea-849e70073f74caff131f89622f5ece60f704e6cb.zip |
[master] Some trivial doxygen fixes453-update-makefile-using-bison_base448-update-cb-cmds-to-handle-parameter-types_base
Diffstat (limited to 'src/lib/mysql/mysql_binding.cc')
-rw-r--r-- | src/lib/mysql/mysql_binding.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/mysql/mysql_binding.cc b/src/lib/mysql/mysql_binding.cc index 75b5174d3f..ff23a290c3 100644 --- a/src/lib/mysql/mysql_binding.cc +++ b/src/lib/mysql/mysql_binding.cc @@ -106,7 +106,7 @@ MySqlBinding::createBlob(const unsigned long length) { } MySqlBindingPtr -MySqlBinding::createTimestamp(const ptime& timestamp) { +MySqlBinding::createTimestamp(const boost::posix_time::ptime& timestamp) { MySqlBindingPtr binding(new MySqlBinding(MySqlBindingTraits<ptime>::column_type, MySqlBindingTraits<ptime>::length)); binding->setTimestampValue(timestamp); @@ -146,7 +146,7 @@ MySqlBinding::convertToDatabaseTime(const time_t input_time, } void -MySqlBinding::convertToDatabaseTime(const ptime& input_time, +MySqlBinding::convertToDatabaseTime(const boost::posix_time::ptime& input_time, MYSQL_TIME& output_time) { if (input_time.is_not_a_date_time()) { isc_throw(BadValue, "Time value is not a valid posix time"); |