瀏覽代碼

Merge pull request #10793 from rpastrana/HPCC-18966-UnsignedComparison

HPCC-18966 Address invalid unsigned comparison

Reviewed-By: Russ Whitehead <william.whitehead@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 7 年之前
父節點
當前提交
0ac6259296
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      esp/services/ws_sql/SQL2ECL/SQLExpression.cpp

+ 1 - 1
esp/services/ws_sql/SQL2ECL/SQLExpression.cpp

@@ -552,7 +552,7 @@ void SQLBinaryExpression::toECLStringTranslateSource(
         }
 
     }
-    else if (translation1.length()<0 && translation2.length()<0)
+    else if (translation1.length() == 0 && translation2.length() == 0)
     {
         return;
     }