From 57a84214da978d6a8441ed18507dd109c8075abd Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Wed, 24 Jun 2015 17:29:19 +0530 Subject: [PATCH] Add missing backquotes Signed-off-by: Madhura Jayaratne --- js/pmd/history.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/pmd/history.js b/js/pmd/history.js index 6edadd7af6..356b019324 100644 --- a/js/pmd/history.js +++ b/js/pmd/history.js @@ -536,10 +536,10 @@ function query_having() for (i = 0; i < history_array.length;i++) { if (history_array[i].get_type() == "Having") { if (history_array[i].get_obj().get_operator() != 'None') { - and += history_array[i].get_obj().get_operator() + "(" + history_array[i].get_column_name() + " ) " + history_array[i].get_obj().getrelation_operator(); + and += history_array[i].get_obj().get_operator() + "(`" + history_array[i].get_column_name() + "`) " + history_array[i].get_obj().getrelation_operator(); and += " " + history_array[i].get_obj().getquery() + ", "; } else { - and += history_array[i].get_column_name() + " " + history_array[i].get_obj().getrelation_operator() + " " + history_array[i].get_obj().getquery() + ", "; + and += "`" + history_array[i].get_column_name() + "` " + history_array[i].get_obj().getrelation_operator() + " " + history_array[i].get_obj().getquery() + ", "; } } }