Merge pull request #8811 from ClickHouse/fix-paren

Fixed bug with parentheses
This commit is contained in:
alexey-milovidov 2020-01-24 07:04:13 +03:00 committed by GitHub
commit 2105c02e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ std::string getCurrentExceptionMessage(bool with_stacktrace, bool check_embedded
<< ", e.displayText() = " << e.displayText()
<< (with_stacktrace ? getExceptionStackTraceString(e) : "")
<< (with_extra_info ? getExtraExceptionInfo(e) : "")
<< " (version " << VERSION_STRING << VERSION_OFFICIAL;
<< " (version " << VERSION_STRING << VERSION_OFFICIAL << ")";
}
catch (...) {}
}
@ -212,7 +212,7 @@ std::string getCurrentExceptionMessage(bool with_stacktrace, bool check_embedded
stream << "std::exception. Code: " << ErrorCodes::STD_EXCEPTION << ", type: " << name << ", e.what() = " << e.what()
<< (with_stacktrace ? getExceptionStackTraceString(e) : "")
<< (with_extra_info ? getExtraExceptionInfo(e) : "")
<< ", version = " << VERSION_STRING << VERSION_OFFICIAL;
<< ", version = " << VERSION_STRING << VERSION_OFFICIAL << ")";
}
catch (...) {}
}