renamed timestamp to timestamp_type_t

This commit is contained in:
2026-01-07 09:23:47 +01:00
parent f30c250a20
commit c6747074f5
26 changed files with 47 additions and 47 deletions
+2 -2
View File
@@ -147,11 +147,11 @@ void data_type_traits<time_type_t>::bind_value(attribute_writer &binder, const s
binder.write_value(index, value);
}
void data_type_traits<timestamp>::read_value(attribute_reader &reader, const char *id, const size_t index, timestamp &value) {
void data_type_traits<timestamp_type_t>::read_value(attribute_reader &reader, const char *id, const size_t index, timestamp_type_t &value) {
reader.read_value(id, index, value);
}
void data_type_traits<timestamp>::bind_value(attribute_writer &binder, const size_t index, timestamp &value) {
void data_type_traits<timestamp_type_t>::bind_value(attribute_writer &binder, const size_t index, timestamp_type_t &value) {
binder.write_value(index, value);
}
}
+1 -1
View File
@@ -96,7 +96,7 @@ void initialize_by_basic_type(const basic_type type, database_type &val) {
val.emplace<time_type_t>();
break;
case basic_type::DateTime:
val.emplace<timestamp>();
val.emplace<timestamp_type_t>();
break;
case basic_type::Blob:
val.emplace<blob_type_t>();
+1 -1
View File
@@ -77,7 +77,7 @@ void attribute_string_writer::write_value(size_t /*pos*/, const utils::time_type
result_ = "'" + dialect_.prepare_literal(utils::to_string(x)) + "'";
}
void attribute_string_writer::write_value(size_t /*pos*/, const utils::timestamp &/*x*/) {
void attribute_string_writer::write_value(size_t /*pos*/, const utils::timestamp_type_t &/*x*/) {
}
void attribute_string_writer::write_value(size_t pos, const char *x) {
+1 -1
View File
@@ -69,7 +69,7 @@ void value_extractor::write_value(size_t /*pos*/, const utils::time_type_t &x) {
values_.emplace_back(x);
}
void value_extractor::write_value(size_t /*pos*/, const utils::timestamp &x) {
void value_extractor::write_value(size_t /*pos*/, const utils::timestamp_type_t &x) {
values_.emplace_back(x);
}