Skip to content

Commit

Permalink
MySQL fix applied blindly, since I couldn't reproduce it
Browse files Browse the repository at this point in the history
  • Loading branch information
gliljas committed Dec 21, 2024
1 parent cf38fe9 commit 436ff1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NHibernate/Dialect/MySQLDialect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ protected virtual void RegisterFunctions()
RegisterFunction("year", new StandardSQLFunction("year", NHibernateUtil.Int32));
RegisterFunction("date", new StandardSQLFunction("date", NHibernateUtil.Date));
RegisterFunction("last_day", new StandardSQLFunction("last_day", NHibernateUtil.Date));
RegisterFunction("secondtruncated", new SQLFunctionTemplate(NHibernateUtil.Int32, "floor(second(?1))"));
}

/// <summary></summary>
Expand Down

0 comments on commit 436ff1d

Please sign in to comment.