Skip to content

Commit c3a8d27

Browse files
committed
fix build
1 parent 8d84df4 commit c3a8d27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/LinqToDB/DataProvider/Firebird/FirebirdSqlExpressionConvertVisitor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace LinqToDB.DataProvider.Firebird
44
{
55
using Extensions;
6+
using LinqToDB.Common;
67
using SqlProvider;
78
using SqlQuery;
89

@@ -170,7 +171,7 @@ protected override IQueryElement VisitExprPredicate(SqlPredicate.Expr predicate)
170171
{
171172
if (predicate.ElementType == QueryElementType.ExprPredicate && predicate.Expr1 is SqlParameter p && p.Type.DataType != DataType.Boolean)
172173
{
173-
predicate = new SqlPredicate.ExprExpr(p, SqlPredicate.Operator.Equal, MappingSchema.GetSqlValue(p.Type, true), DataOptions.LinqOptions.CompareNullsAsValues ? true : null);
174+
predicate = new SqlPredicate.ExprExpr(p, SqlPredicate.Operator.Equal, MappingSchema.GetSqlValue(p.Type, true), DataOptions.LinqOptions.CompareNulls == CompareNulls.LikeClr ? true : null);
174175
}
175176

176177
return base.VisitExprPredicate(predicate);

0 commit comments

Comments
 (0)