We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9739dd commit 37cb51bCopy full SHA for 37cb51b
Orm/Xtensive.Orm.SqlServer/Sql.Drivers.SqlServer/v13/Compiler.cs
@@ -36,7 +36,7 @@ public override void Visit(SqlFunctionCall node)
36
// we have to use time consuming algorithm here because
37
// DATEDIFF_BIG can throw arithmetic overflow on nanoseconds
38
// so we should handle it by this big formula
39
- Visit(CastToLong(DateTimeSubtractDateTimeExpensive(binary.Right, binary.Left)));
+ Visit(CastToLong(DateTimeSubtractDateTimeExpensive(binary.Left, binary.Right)));
40
}
41
else {
42
base.Visit(node);
0 commit comments