Skip to content

Commit da149cd

Browse files
committed
Cleanup
1 parent 61d2aa6 commit da149cd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/dsql/ExprNodes.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9944,9 +9944,6 @@ dsc* ParameterNode::execute(thread_db* tdbb, Request* request) const
99449944
{
99459945
if (impureForOuter)
99469946
EVL_make_value(tdbb, retDesc, impureForOuter);
9947-
9948-
//if (retDesc->dsc_dtype == dtype_text) Do not mess with user-provided descriptor, most likely it has dsc_length set to actual data length
9949-
// INTL_adjust_text_descriptor(tdbb, retDesc);
99509947
}
99519948

99529949
auto impureFlags = paramRequest->getImpure<USHORT>(
@@ -9984,8 +9981,7 @@ dsc* ParameterNode::execute(thread_db* tdbb, Request* request) const
99849981
auto charSet = INTL_charset_lookup(tdbb, DSC_GET_CHARSET(retDesc));
99859982

99869983
EngineCallbacks::instance->validateData(charSet, len, p);
9987-
// Validation of user-provided data against user-provided metadata makes a little sense. Leave it to the real assignment.
9988-
//EngineCallbacks::instance->validateLength(charSet, DSC_GET_CHARSET(retDesc), len, p, maxLen);
9984+
// Validation of length for user-provided data against user-provided metadata makes a little sense here. Leave it to the real assignment.
99899985
}
99909986
else if (retDesc->isBlob())
99919987
{

0 commit comments

Comments
 (0)