mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
fix
This commit is contained in:
parent
19d4be7c01
commit
605ce6d5fd
@ -16,6 +16,7 @@ select count() from system.query_log where current_database = currentDatabase()
|
|||||||
set max_rows_to_read='100K';
|
set max_rows_to_read='100K';
|
||||||
set log_queries_min_type='EXCEPTION_WHILE_PROCESSING';
|
set log_queries_min_type='EXCEPTION_WHILE_PROCESSING';
|
||||||
select '01231_log_queries_min_type/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6; -- { serverError 158; }
|
select '01231_log_queries_min_type/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6; -- { serverError 158; }
|
||||||
|
set max_rows_to_read=0;
|
||||||
system flush logs;
|
system flush logs;
|
||||||
select count() from system.query_log where current_database = currentDatabase()
|
select count() from system.query_log where current_database = currentDatabase()
|
||||||
and query like 'select \'01231_log_queries_min_type/EXCEPTION_WHILE_PROCESSING%'
|
and query like 'select \'01231_log_queries_min_type/EXCEPTION_WHILE_PROCESSING%'
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
set log_queries=1;
|
set log_queries=1;
|
||||||
set log_queries_min_type='QUERY_FINISH';
|
set log_queries_min_type='QUERY_FINISH';
|
||||||
|
|
||||||
set enable_global_with_statement=1;
|
set enable_global_with_statement=0;
|
||||||
select /* test=01531, enable_global_with_statement=0 */ 2;
|
select /* test=01531, enable_global_with_statement=0 */ 2;
|
||||||
system flush logs;
|
system flush logs;
|
||||||
select count() from system.query_log
|
select count() from system.query_log
|
||||||
where event_date >= yesterday()
|
where event_date >= yesterday()
|
||||||
and query like '%select /* test=01531, enable_global_with_statement=0 */ 2%'
|
and query like 'select /* test=01531, enable_global_with_statement=0 */ 2%'
|
||||||
and current_database = currentDatabase()
|
and current_database = currentDatabase()
|
||||||
;
|
;
|
||||||
|
|
||||||
set enable_global_with_statement=1;
|
set enable_global_with_statement=1;
|
||||||
select /* test=01531 enable_global_with_statement=1 */ 2;
|
select /* test=01531, enable_global_with_statement=1 */ 2;
|
||||||
system flush logs;
|
system flush logs;
|
||||||
select count() from system.query_log
|
select count() from system.query_log
|
||||||
where event_date >= yesterday()
|
where event_date >= yesterday()
|
||||||
and query like '%select /* test=01531 enable_global_with_statement=1 */ 2%'
|
and query like 'select /* test=01531, enable_global_with_statement=1 */ 2%'
|
||||||
and current_database = currentDatabase()
|
and current_database = currentDatabase()
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user