Skip to content

Commit 4a9367c

Browse files
authored
Merge pull request #1162 from Lorak-mmk/remove-missing-udt-error
Remove MissingUserDefinedType from public API
2 parents fde9669 + 800aabc commit 4a9367c

File tree

8 files changed

+300
-125
lines changed

8 files changed

+300
-125
lines changed

scylla/src/client/session_test.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ fn udt_type_c_def(ks: &str) -> Arc<UserDefinedType> {
14741474
}),
14751475
Box::new(CqlType::UserDefinedType {
14761476
frozen: true,
1477-
definition: Ok(udt_type_b_def(ks)),
1477+
definition: udt_type_b_def(ks),
14781478
}),
14791479
),
14801480
},
@@ -1565,7 +1565,7 @@ async fn test_schema_types_in_metadata() {
15651565
a.type_,
15661566
CqlType::UserDefinedType {
15671567
frozen: true,
1568-
definition: Ok(udt_type_a_def(&ks)),
1568+
definition: udt_type_a_def(&ks),
15691569
}
15701570
);
15711571

@@ -1575,7 +1575,7 @@ async fn test_schema_types_in_metadata() {
15751575
b.type_,
15761576
CqlType::UserDefinedType {
15771577
frozen: false,
1578-
definition: Ok(udt_type_b_def(&ks)),
1578+
definition: udt_type_b_def(&ks),
15791579
}
15801580
);
15811581

@@ -1585,7 +1585,7 @@ async fn test_schema_types_in_metadata() {
15851585
c.type_,
15861586
CqlType::UserDefinedType {
15871587
frozen: true,
1588-
definition: Ok(udt_type_c_def(&ks))
1588+
definition: udt_type_c_def(&ks)
15891589
}
15901590
);
15911591

0 commit comments

Comments
 (0)