From b1d5f54abea9e3507662b040f7fd22da2a0e57ec Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Wed, 14 Nov 2018 14:29:58 +0000 Subject: [PATCH] MCOL-1868 Fix error in unused code There was a a bad line in some code that we don't currently compile. This patch fixes that code in case we use it in the future. --- utils/funcexp/func_concat_ws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/funcexp/func_concat_ws.cpp b/utils/funcexp/func_concat_ws.cpp index 2718f20b3..d6253cf10 100644 --- a/utils/funcexp/func_concat_ws.cpp +++ b/utils/funcexp/func_concat_ws.cpp @@ -93,7 +93,7 @@ string Func_concat_ws::getStrVal(Row& row, string tmp; for ( uint32_t i = 1 ; i < parm.size() ; i++) { - string(stringValue(parm[i], row, isNull).c_str(), tmp); + stringValue(parm[i], row, isNull, tmp); str += tmp; if (isNull)