From 2eba81347b1f9c4a70667a93630a8e3ef7bc7015 Mon Sep 17 00:00:00 2001 From: BohuTANG Date: Wed, 24 Jun 2020 15:05:50 +0800 Subject: [PATCH] add column header to test --- .../0_stateless/01337_mysql_global_variables.reference | 10 +++++++--- .../0_stateless/01337_mysql_global_variables.sql | 7 +++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/tests/queries/0_stateless/01337_mysql_global_variables.reference b/tests/queries/0_stateless/01337_mysql_global_variables.reference index ca30b4c6c65..b01a2e3dc52 100644 --- a/tests/queries/0_stateless/01337_mysql_global_variables.reference +++ b/tests/queries/0_stateless/01337_mysql_global_variables.reference @@ -1,5 +1,9 @@ + +"max_allowed_packet" 67108864 +"MAX_ALLOWED_PACKET" 67108864 -67108864 0 -67108864 1 -67108864 2 +"max_allowed_packet","number" +67108864,0 +67108864,1 +67108864,2 diff --git a/tests/queries/0_stateless/01337_mysql_global_variables.sql b/tests/queries/0_stateless/01337_mysql_global_variables.sql index 013007d37e0..5977b0df6a6 100644 --- a/tests/queries/0_stateless/01337_mysql_global_variables.sql +++ b/tests/queries/0_stateless/01337_mysql_global_variables.sql @@ -1,5 +1,4 @@ SELECT @@test; -- empty string -SELECT @@max_allowed_packet; -SELECT @@MAX_ALLOWED_PACKET; -SELECT @@max_allowed_packet, number FROM system.numbers LIMIT 3; -SHOW VARIABLES LIKE 'lower_case_table_names'; +SELECT @@max_allowed_packet FORMAT CSVWithNames; +SELECT @@MAX_ALLOWED_PACKET FORMAT CSVWithNames; +SELECT @@max_allowed_packet, number FROM system.numbers LIMIT 3 FORMAT CSVWithNames;