From c4b3add85904e6dba5b044317e3118bd6e465622 Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Sat, 18 Sep 2021 15:46:48 +0300 Subject: [PATCH] Update Query.cpp --- base/mysqlxx/Query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/mysqlxx/Query.cpp b/base/mysqlxx/Query.cpp index 1db902a0ff74..e7d1e0c1d69e 100644 --- a/base/mysqlxx/Query.cpp +++ b/base/mysqlxx/Query.cpp @@ -79,7 +79,7 @@ void Query::executeImpl() default: /// Add query to the exception message, since it may differs from the user input query. /// (also you can use this and create query with an error to see what query ClickHouse created) - throw BadQuery(errorMessage(mysql_driver) + "(query: " + query_string + ")", err_no); + throw BadQuery(errorMessage(mysql_driver) + " (query: " + query_string + ")", err_no); } } }