Skip to content

Commit

Permalink
test for long type
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeSmokingJacket committed Nov 17, 2024
1 parent adac786 commit 86a828a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions components/document/impl/tape_builder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ namespace components::document {
append2(0, value, types::physical_type::INT64);
}

template<>
inline void tape_builder::build<>(long value) {
append2(0, value, types::physical_type::INT64);
}

template<>
inline void tape_builder::build<>(int128_t value) {
append3(value, types::physical_type::INT128);
Expand All @@ -108,6 +113,12 @@ namespace components::document {
tape_.append(value);
}

template<>
inline void tape_builder::build<>(unsigned long value) {
append(0, types::physical_type::UINT64);
tape_.append(value);
}

// template <>
// inline void tape_builder::build<>(uint128_t value) { append3(value, types::physical_type::INT128); }

Expand Down

0 comments on commit 86a828a

Please sign in to comment.