mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
fix X-ClickHouse-Exception-Code
This commit is contained in:
parent
9f4be7e847
commit
43c2c83ae2
@ -148,7 +148,7 @@ void WriteBufferFromHTTPServerResponse::setExceptionCode(int exception_code_)
|
||||
if (headers_started_sending)
|
||||
exception_code = exception_code_;
|
||||
else
|
||||
response.set("X-ClickHouse-Exception-Code", toString<int>(exception_code));
|
||||
response.set("X-ClickHouse-Exception-Code", toString<int>(exception_code_));
|
||||
}
|
||||
|
||||
WriteBufferFromHTTPServerResponse::~WriteBufferFromHTTPServerResponse()
|
||||
|
Loading…
Reference in New Issue
Block a user