File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -3018,12 +3018,10 @@ private CompileResult CompileExpr (Expression expr, List<object> queryArgs)
30183018 {
30193019 case StringComparison . Ordinal :
30203020 case StringComparison . CurrentCulture :
3021- case StringComparison . InvariantCulture :
30223021 sqlCall = "( substr(" + obj . CommandText + ", 1, " + args [ 0 ] . Value . ToString ( ) . Length + ") = " + args [ 0 ] . CommandText + ")" ;
30233022 break ;
30243023 case StringComparison . OrdinalIgnoreCase :
30253024 case StringComparison . CurrentCultureIgnoreCase :
3026- case StringComparison . InvariantCultureIgnoreCase :
30273025 sqlCall = "(" + obj . CommandText + " like (" + args [ 0 ] . CommandText + " || '%'))" ;
30283026 break ;
30293027 }
@@ -3039,12 +3037,10 @@ private CompileResult CompileExpr (Expression expr, List<object> queryArgs)
30393037 {
30403038 case StringComparison . Ordinal :
30413039 case StringComparison . CurrentCulture :
3042- case StringComparison . InvariantCulture :
30433040 sqlCall = "( substr(" + obj . CommandText + ", length(" + obj . CommandText + ") - " + args [ 0 ] . Value . ToString ( ) . Length + "+1, " + args [ 0 ] . Value . ToString ( ) . Length + ") = " + args [ 0 ] . CommandText + ")" ;
30443041 break ;
30453042 case StringComparison . OrdinalIgnoreCase :
30463043 case StringComparison . CurrentCultureIgnoreCase :
3047- case StringComparison . InvariantCultureIgnoreCase :
30483044 sqlCall = "(" + obj . CommandText + " like ('%' || " + args [ 0 ] . CommandText + "))" ;
30493045 break ;
30503046 }
You can’t perform that action at this time.
0 commit comments