|
|
|
|
@ -56,8 +56,8 @@ public class JetByteArrayMethodTranslator : IMethodCallTranslator
|
|
|
|
|
|
|
|
|
|
return _sqlExpressionFactory.GreaterThan(
|
|
|
|
|
_sqlExpressionFactory.Function(
|
|
|
|
|
"INSTR",
|
|
|
|
|
new[] { _sqlExpressionFactory.Constant(1), source, value, _sqlExpressionFactory.Constant(1) },
|
|
|
|
|
"INSTRB",
|
|
|
|
|
new[] { _sqlExpressionFactory.Constant(1), source, value, _sqlExpressionFactory.Constant(0) },
|
|
|
|
|
nullable: true,
|
|
|
|
|
argumentsPropagateNullability: new[] { true, true },
|
|
|
|
|
typeof(int)),
|
|
|
|
|
@ -69,7 +69,7 @@ public class JetByteArrayMethodTranslator : IMethodCallTranslator
|
|
|
|
|
{
|
|
|
|
|
return _sqlExpressionFactory.Convert(
|
|
|
|
|
_sqlExpressionFactory.Function(
|
|
|
|
|
"MID",
|
|
|
|
|
"MIDB",
|
|
|
|
|
new[] { arguments[0], _sqlExpressionFactory.Constant(1), _sqlExpressionFactory.Constant(1) },
|
|
|
|
|
nullable: true,
|
|
|
|
|
argumentsPropagateNullability: new[] { true, true, true },
|
|
|
|
|
|