Skip to content

Commit 44f3406

Browse files
authored
Add spaces around concat operator in base Dialect (#2555)
1 parent 75d1465 commit 44f3406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Dialect/Dialect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected Dialect()
101101
RegisterFunction("cast", new CastFunction());
102102
RegisterFunction("transparentcast", new TransparentCastFunction());
103103
RegisterFunction("extract", new AnsiExtractFunction());
104-
RegisterFunction("concat", new VarArgsSQLFunction(NHibernateUtil.String, "(", "||", ")"));
104+
RegisterFunction("concat", new VarArgsSQLFunction(NHibernateUtil.String, "(", " || ", ")"));
105105

106106
// the syntax of current_timestamp is extracted from H3.2 tests
107107
// - test\hql\ASTParserLoadingTest.java

0 commit comments

Comments
 (0)