mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update executeQuery.cpp
This commit is contained in:
parent
fb30629ff2
commit
38b018fa04
@ -32,7 +32,7 @@ Context removeUserRestrictionsFromSettings(const Context & context, const Settin
|
|||||||
{
|
{
|
||||||
if (new_settings.force_optimize_skip_unused_shards_nesting == 1)
|
if (new_settings.force_optimize_skip_unused_shards_nesting == 1)
|
||||||
{
|
{
|
||||||
new_settings.force_optimize_skip_unused_shards = 0;
|
new_settings.force_optimize_skip_unused_shards = false;
|
||||||
new_settings.force_optimize_skip_unused_shards.changed = false;
|
new_settings.force_optimize_skip_unused_shards.changed = false;
|
||||||
|
|
||||||
if (log)
|
if (log)
|
||||||
@ -40,7 +40,7 @@ Context removeUserRestrictionsFromSettings(const Context & context, const Settin
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
new_settings.force_optimize_skip_unused_shards_nesting.value--;
|
--new_settings.force_optimize_skip_unused_shards_nesting.value;
|
||||||
new_settings.force_optimize_skip_unused_shards_nesting.changed = true;
|
new_settings.force_optimize_skip_unused_shards_nesting.changed = true;
|
||||||
|
|
||||||
if (log)
|
if (log)
|
||||||
@ -52,7 +52,7 @@ Context removeUserRestrictionsFromSettings(const Context & context, const Settin
|
|||||||
{
|
{
|
||||||
if (new_settings.optimize_skip_unused_shards_nesting == 1)
|
if (new_settings.optimize_skip_unused_shards_nesting == 1)
|
||||||
{
|
{
|
||||||
new_settings.optimize_skip_unused_shards = 0;
|
new_settings.optimize_skip_unused_shards = false;
|
||||||
new_settings.optimize_skip_unused_shards.changed = false;
|
new_settings.optimize_skip_unused_shards.changed = false;
|
||||||
|
|
||||||
if (log)
|
if (log)
|
||||||
@ -60,7 +60,7 @@ Context removeUserRestrictionsFromSettings(const Context & context, const Settin
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
new_settings.optimize_skip_unused_shards_nesting.value--;
|
--new_settings.optimize_skip_unused_shards_nesting.value;
|
||||||
new_settings.optimize_skip_unused_shards_nesting.changed = true;
|
new_settings.optimize_skip_unused_shards_nesting.changed = true;
|
||||||
|
|
||||||
if (log)
|
if (log)
|
||||||
|
Loading…
Reference in New Issue
Block a user