File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ extern "C" duckdb_value duckdb_vx_value_create_null(duckdb_logical_type ty) {
1818
1919extern " C" duckdb_value duckdb_vx_value_create_geometry (const uint8_t *wkb, idx_t len, const char *crs) {
2020 const auto bytes = reinterpret_cast <duckdb::const_data_ptr_t >(wkb);
21- auto value = (crs == nullptr || *crs == ' \0 ' )
22- ? duckdb::Value::GEOMETRY (bytes, len)
23- : duckdb::Value::GEOMETRY (bytes, len, duckdb::CoordinateReferenceSystem (std::string (crs)));
21+ auto value =
22+ (crs == nullptr || *crs == ' \0 ' )
23+ ? duckdb::Value::GEOMETRY (bytes, len)
24+ : duckdb::Value::GEOMETRY (bytes, len, duckdb::CoordinateReferenceSystem (std::string (crs)));
2425 auto owned = duckdb::make_uniq<duckdb::Value>(std::move (value));
2526 return reinterpret_cast <duckdb_value>(owned.release ());
2627}
You can’t perform that action at this time.
0 commit comments