Skip to content

Commit 48fef7c

Browse files
committed
tuple: cass_tuple_set_duration
Implemented cass_tuple_set_duration function.
1 parent 19cce8e commit 48fef7c

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

scylla-rust-wrapper/src/tuple.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ make_binders!(string_n, cass_tuple_set_string_n);
107107
make_binders!(bytes, cass_tuple_set_bytes);
108108
make_binders!(uuid, cass_tuple_set_uuid);
109109
make_binders!(inet, cass_tuple_set_inet);
110+
make_binders!(duration, cass_tuple_set_duration);
110111
make_binders!(collection, cass_tuple_set_collection);
111112
make_binders!(tuple, cass_tuple_set_tuple);
112113
make_binders!(user_type, cass_tuple_set_user_type);

src/testing_unimplemented.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -432,14 +432,6 @@ cass_tuple_set_decimal(CassTuple* tuple,
432432
throw std::runtime_error("UNIMPLEMENTED cass_tuple_set_decimal\n");
433433
}
434434
CASS_EXPORT CassError
435-
cass_tuple_set_duration(CassTuple* tuple,
436-
size_t index,
437-
cass_int32_t months,
438-
cass_int32_t days,
439-
cass_int64_t nanos){
440-
throw std::runtime_error("UNIMPLEMENTED cass_tuple_set_duration\n");
441-
}
442-
CASS_EXPORT CassError
443435
cass_user_type_set_custom(CassUserType* user_type,
444436
size_t index,
445437
const char* class_name,

0 commit comments

Comments
 (0)