summaryrefslogtreecommitdiffstats
path: root/src/lib/mysql/mysql_binding.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2019-02-06 00:29:53 +0100
committerFrancis Dupont <fdupont@isc.org>2019-02-06 00:29:53 +0100
commit849e70073f74caff131f89622f5ece60f704e6cb (patch)
tree9807c17db6a9ef298bb9e7c9c8ccdc698889facd /src/lib/mysql/mysql_binding.cc
parent[master] Added ChangeLog about making perfdhcp build optional (diff)
downloadkea-849e70073f74caff131f89622f5ece60f704e6cb.tar.xz
kea-849e70073f74caff131f89622f5ece60f704e6cb.zip
Diffstat (limited to 'src/lib/mysql/mysql_binding.cc')
-rw-r--r--src/lib/mysql/mysql_binding.cc4
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");