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 5a95c9d commit 0757ca1Copy full SHA for 0757ca1
src/NHibernate/Dialect/MySQLDialect.cs
@@ -177,7 +177,7 @@ protected virtual void RegisterFunctions()
177
RegisterFunction("day", new StandardSQLFunction("day", NHibernateUtil.Int32));
178
RegisterFunction("month", new StandardSQLFunction("month", NHibernateUtil.Int32));
179
RegisterFunction("year", new StandardSQLFunction("year", NHibernateUtil.Int32));
180
- RegisterFunction("date", new StandardSQLFunction("date", NHibernateUtil.Int32));
+ RegisterFunction("date", new StandardSQLFunction("date", NHibernateUtil.Date));
181
RegisterFunction("last_day", new StandardSQLFunction("last_day", NHibernateUtil.Date));
182
}
183
0 commit comments