Skip to content

Commit 5d8a59c

Browse files
committed
Fix typo in FirebirdDialect - function name is 'sign', not 'sing'
1 parent da37be0 commit 5d8a59c

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
@@ -94,7 +94,7 @@ public FirebirdDialect()
9494
RegisterFunction("log10", new StandardSQLFunction("log10", NHibernateUtil.Double));
9595
RegisterFunction("pi", new NoArgSQLFunction("pi", NHibernateUtil.Double));
9696
RegisterFunction("rand", new NoArgSQLFunction("rand", NHibernateUtil.Double));
97-
RegisterFunction("sing", new StandardSQLFunction("sing", NHibernateUtil.Double));
97+
RegisterFunction("sign", new StandardSQLFunction("sign", NHibernateUtil.Int32));
9898
RegisterFunction("sqtr", new StandardSQLFunction("sqtr", NHibernateUtil.Double));
9999
RegisterFunction("truncate", new StandardSQLFunction("truncate"));
100100
RegisterFunction("floor", new StandardSafeSQLFunction("floor", NHibernateUtil.Double, 1));

0 commit comments

Comments
 (0)