Skip to content

Commit 6278b8c

Browse files
committed
Fix firebird tests
1 parent 61efaf3 commit 6278b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Dialect/FirebirdDialect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ private void OverrideStandardHQLFunctions()
417417
RegisterFunction("nullif", new StandardSafeSQLFunction("nullif", 2));
418418
RegisterFunction("lower", new StandardSafeSQLFunction("lower", NHibernateUtil.String, 1));
419419
RegisterFunction("upper", new StandardSafeSQLFunction("upper", NHibernateUtil.String, 1));
420-
RegisterFunction("mod", new StandardSafeSQLFunction("mod", NHibernateUtil.Double, 2));
420+
RegisterFunction("mod", new StandardSafeSQLFunction("mod", NHibernateUtil.Int32, 2));
421421
RegisterFunction("str", new SQLFunctionTemplate(NHibernateUtil.String, "cast(?1 as VARCHAR(255))"));
422422
RegisterFunction("strguid", new StandardSQLFunction("uuid_to_char", NHibernateUtil.String));
423423
RegisterFunction("sysdate", new CastedFunction("today", NHibernateUtil.Date));

0 commit comments

Comments
 (0)