summaryrefslogtreecommitdiff
path: root/libpqpp/pq-column.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-column.cpp')
-rw-r--r--libpqpp/pq-column.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-column.cpp b/libpqpp/pq-column.cpp
index 4fac1ac..0753c50 100644
--- a/libpqpp/pq-column.cpp
+++ b/libpqpp/pq-column.cpp
@@ -77,7 +77,7 @@ PQ::Column::apply(DB::HandleField & h) const
fractions * (long)pow(10, boost::posix_time::time_res_traits::num_fractional_digits() + flen1 - flen2)));
}
else {
- h.interval(boost::posix_time::duration_from_string(value()));
+ h.interval(boost::posix_time::duration_from_string(val));
}
break;
}