From 01c8a635131ef618457094346d3205f35f291662 Mon Sep 17 00:00:00 2001 From: David Hall Date: Mon, 15 Jun 2020 13:01:34 -0500 Subject: [PATCH] MCOL-3536 collation phase 2 --- utils/funcexp/func_replace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/funcexp/func_replace.cpp b/utils/funcexp/func_replace.cpp index 4f72ac195..751e7bb36 100644 --- a/utils/funcexp/func_replace.cpp +++ b/utils/funcexp/func_replace.cpp @@ -173,7 +173,7 @@ std::string Func_replace::getStrVal(rowgroup::Row& row, } } // Copy in the trailing src chars. - newstr.append(src, ptr - src); + newstr.append(src, srcEnd - src); } return newstr; }