remove length check since it's already done
@@ -417,11 +417,9 @@ public class SQLServerPreparedStatement extends SQLServerStatement implements IS
if ((Util.shouldHonorAEForParameters(stmtColumnEncriptionSetting, connection)) && (0 < inOutParam.length) && !isInternalEncryptionQuery) {
// retrieve paramater encryption metadata if they are not retrieved yet
- if (0 < inOutParam.length) {
if (null == inOutParam[0].getCryptoMetadata()) {
getParameterEncryptionMetadata(inOutParam);
}
- }
// maxRows is set to 0 when retreving encryption metadata,
// need to set it back
