Skip to content

Commit 66861f7

Browse files
committed
clean up after rebase
1 parent dd757fa commit 66861f7

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

src/NHibernate/Dialect/FirebirdDialect.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@ private void OverrideStandardHQLFunctions()
322322
RegisterFunction("str", new SQLFunctionTemplate(NHibernateUtil.String, "cast(?1 as VARCHAR(255))"));
323323
RegisterFunction("sysdate", new CastedFunction("today", NHibernateUtil.Date));
324324
RegisterFunction("date", new SQLFunctionTemplate(NHibernateUtil.Date, "cast(?1 as date)"));
325+
// Bitwise operations
326+
RegisterFunction("band", new BitwiseFunctionOperation("bin_and"));
327+
RegisterFunction("bor", new BitwiseFunctionOperation("bin_or"));
328+
RegisterFunction("bxor", new BitwiseFunctionOperation("bin_xor"));
329+
RegisterFunction("bnot", new BitwiseFunctionOperation("bin_not"));
325330
}
326331

327332
private void RegisterFirebirdServerEmbeddedFunctions()

src/NHibernate/Hql/Ast/ANTLR/Generated/HqlLexer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

11-
// $ANTLR 3.5.0.2 Hql.g 2014-08-11 17:12:33
11+
// $ANTLR 3.5.0.2 Hql.g 2014-11-15 07:40:13
1212

1313
// The variable 'variable' is assigned but its value is never used.
1414
#pragma warning disable 219

src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

11-
// $ANTLR 3.5.0.2 Hql.g 2014-08-11 17:12:33
11+
// $ANTLR 3.5.0.2 Hql.g 2014-11-15 07:40:12
1212

1313
// The variable 'variable' is assigned but its value is never used.
1414
#pragma warning disable 219

src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

11-
// $ANTLR 3.5.0.2 HqlSqlWalker.g 2014-08-11 17:12:34
11+
// $ANTLR 3.5.0.2 HqlSqlWalker.g 2014-11-15 07:40:14
1212

1313
// The variable 'variable' is assigned but its value is never used.
1414
#pragma warning disable 219

src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// </auto-generated>
99
//------------------------------------------------------------------------------
1010

11-
// $ANTLR 3.5.0.2 SqlGenerator.g 2014-08-11 17:12:35
11+
// $ANTLR 3.5.0.2 SqlGenerator.g 2014-11-15 07:40:15
1212

1313
// The variable 'variable' is assigned but its value is never used.
1414
#pragma warning disable 219

src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,8 @@ public SqlString ToSqlString()
487487
return builder.ToSqlString();
488488
}
489489

490-
}
491-
492490
#endregion
491+
493492
}
494493

495494
#endregion

src/NHibernate/NHibernate.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
<Compile Include="Connection\IConnectionProvider.cs" />
139139
<Compile Include="Connection\UserSuppliedConnectionProvider.cs" />
140140
<Compile Include="Dialect\BitwiseFunctionOperation.cs" />
141+
<Compile Include="Dialect\BitwiseNativeOperation.cs" />
141142
<Compile Include="Dialect\DB2Dialect.cs" />
142143
<Compile Include="Dialect\Dialect.cs" />
143144
<Compile Include="Dialect\FirebirdDialect.cs" />
@@ -157,7 +158,6 @@
157158
<Compile Include="Dialect\MySQL55InnoDBDialect.cs" />
158159
<Compile Include="Dialect\MySQL5InnoDBDialect.cs" />
159160
<Compile Include="Dialect\MySQLDialect.cs" />
160-
<Compile Include="Dialect\NativeBitwiseOperation.cs" />
161161
<Compile Include="Dialect\PostgreSQLDialect.cs" />
162162
<Compile Include="Dialect\Schema\PostgreSQLMetadata.cs" />
163163
<Compile Include="Dialect\Schema\SchemaHelper.cs" />

0 commit comments

Comments
 (0)