dbms: development [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2012-07-10 20:21:29 +00:00
parent e0c9a59c71
commit f205ad47a8

View File

@ -83,6 +83,8 @@ void HTTPHandler::processQuery(Poco::Net::NameValueCollection & params, std::ost
context.settings.max_query_size = Poco::NumberParser::parseUnsigned(params.get("max_query_size"));
if (params.has("max_threads"))
context.settings.max_threads = Poco::NumberParser::parseUnsigned(params.get("max_threads"));
if (params.has("database"))
context.current_database = params.get("database");
Stopwatch watch;
executeQuery(in, *out_maybe_compressed, context, query_plan);