Skip to content

Commit bf44a10

Browse files
committed
MySQL: Fix wrong translation of NullIf
1 parent b4022de commit bf44a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orm/Xtensive.Orm.MySql/Sql.Drivers.MySql/v5_0/Translator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public override void Translate(IOutput output, SqlFunctionType type)
101101
case SqlFunctionType.CurrentUser:
102102
_ = output.Append("CURRENT_USER()"); break;
103103
case SqlFunctionType.SessionUser: _ = output.Append("SESSION_USER()"); break;
104-
case SqlFunctionType.NullIf: _ = output.Append("IFNULL"); break;
104+
//case SqlFunctionType.NullIf: _ = output.Append("IFNULL"); break;
105105
//datetime/timespan
106106
case SqlFunctionType.DateTimeTruncate: _ = output.Append("DATE"); break;
107107
case SqlFunctionType.CurrentDate: _ = output.Append("CURDATE()"); break;

0 commit comments

Comments
 (0)