Skip to content

Commit 29b95a0

Browse files
committed
format: fix clang-format wrapping in #415
CI villint flagged two line-wrap nits caused by the longer extension_name / to_string_view(...) text replacing ext_name / m_udf->extension_name in #415.
1 parent f38721d commit 29b95a0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

villagesql/types/util.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,8 +1415,8 @@ bool ValidateAndConvertVDFArguments(THD *thd, const char *func_name,
14151415
if (out_return_params != nullptr &&
14161416
signature->return_type.id == VEF_TYPE_CUSTOM &&
14171417
signature->return_type.custom_type != nullptr) {
1418-
const std::string return_qbn =
1419-
make_qualified_base_name(extension_name, signature->return_type.custom_type);
1418+
const std::string return_qbn = make_qualified_base_name(
1419+
extension_name, signature->return_type.custom_type);
14201420
auto it = known_params.find(return_qbn);
14211421
if (it != known_params.end()) {
14221422
*out_return_params = *it->second.params;

villagesql/vdf/vdf_handler.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ bool vdf_handler::fix_fields(THD *thd [[maybe_unused]],
172172
// return_params inferred from args via the call to
173173
// ValidateAndConvertVDFArguments.
174174
if (signature != nullptr && signature->return_type.id == VEF_TYPE_CUSTOM) {
175-
villagesql::SetVDFReturnTypeContext(thd, to_string_view(m_udf->extension_name),
175+
villagesql::SetVDFReturnTypeContext(thd,
176+
to_string_view(m_udf->extension_name),
176177
signature, func, &return_params);
177178
m_return_type_context = func->get_type_context();
178179
}

0 commit comments

Comments
 (0)