From e2cb6444843494e62ae8eacb0a1c3425400b7f69 Mon Sep 17 00:00:00 2001 From: David Hall Date: Tue, 9 Apr 2019 16:34:45 -0500 Subject: [PATCH] MCOL-1559 trailing space compare --- dbcon/execplan/predicateoperator.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/dbcon/execplan/predicateoperator.h b/dbcon/execplan/predicateoperator.h index daa078948..08f0c40cf 100644 --- a/dbcon/execplan/predicateoperator.h +++ b/dbcon/execplan/predicateoperator.h @@ -456,18 +456,8 @@ inline bool PredicateOperator::getBoolVal(rowgroup::Row& row, bool& isNull, Retu isNull = false; return !ret; } -#if 0 - if (isNull) - return false; - const std::string& val1 = lop->getStrVal(row, isNull); - - if (isNull) - return false; - - return strCompare(val1, rop->getStrVal(row, isNull)) && !isNull; -#endif - // MCOL-1559 + // MCOL-1559 std::string val1 = lop->getStrVal(row, isNull); if (isNull) return false;