HHH-1835 added stddev to MySQLDialect

This commit is contained in:
Brett Meyer 2013-09-17 16:29:29 -04:00
parent d538b9f2e3
commit 4b2667cc40
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ public class MySQLDialect extends Dialect {
registerFunction( "rand", new NoArgSQLFunction( "rand", StandardBasicTypes.DOUBLE ) );
registerFunction( "sin", new StandardSQLFunction( "sin", StandardBasicTypes.DOUBLE ) );
registerFunction( "sqrt", new StandardSQLFunction( "sqrt", StandardBasicTypes.DOUBLE ) );
registerFunction( "stddev", new StandardSQLFunction("std", StandardBasicTypes.DOUBLE) );
registerFunction( "tan", new StandardSQLFunction( "tan", StandardBasicTypes.DOUBLE ) );
registerFunction( "radians", new StandardSQLFunction( "radians", StandardBasicTypes.DOUBLE ) );