From 429968c078e6f8ac9c40c8887a226d6b9cb58705 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 20 Dec 2012 20:10:25 +0000 Subject: [PATCH] dbms: enabled new functions [#CONV-2944]. --- dbms/src/Functions/FunctionFactory.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dbms/src/Functions/FunctionFactory.cpp b/dbms/src/Functions/FunctionFactory.cpp index 103eea2f1b4..76a7f8bbef1 100644 --- a/dbms/src/Functions/FunctionFactory.cpp +++ b/dbms/src/Functions/FunctionFactory.cpp @@ -34,10 +34,12 @@ FunctionPtr FunctionFactory::get( else if (name == "divide") return new FunctionDivideFloating; else if (name == "intDiv") return new FunctionDivideIntegral; else if (name == "modulo") return new FunctionModulo; + else if (name == "negate") return new FunctionNegate; else if (name == "bitwiseAnd") return new FunctionBitwiseAnd; else if (name == "bitwiseOr") return new FunctionBitwiseOr; - else if (name == "negate") return new FunctionNegate; - + else if (name == "bitwiseXor") return new FunctionBitwiseXor; + else if (name == "bitwiseNot") return new FunctionBitwiseNot; + else if (name == "equals") return new FunctionEquals; else if (name == "notEquals") return new FunctionNotEquals; else if (name == "less") return new FunctionLess;