diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2016-03-25 20:51:22 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2016-03-31 10:11:16 +0400 |
commit | 282497dd6d1049b4fb963641504c2733752845a7 (patch) | |
tree | 7288d17c29fbbe9ac47ec51f6988fb954f59a361 /mysql-test/suite/maria/maria-no-logging.result | |
parent | 5052e2479e873461bebfcedbc674bbaf57d3c968 (diff) | |
download | mariadb-git-282497dd6d1049b4fb963641504c2733752845a7.tar.gz |
MDEV-6720 - enable connection log in mysqltest by default
Diffstat (limited to 'mysql-test/suite/maria/maria-no-logging.result')
-rw-r--r-- | mysql-test/suite/maria/maria-no-logging.result | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/maria/maria-no-logging.result b/mysql-test/suite/maria/maria-no-logging.result index 9c50245d05d..fb175d0e326 100644 --- a/mysql-test/suite/maria/maria-no-logging.result +++ b/mysql-test/suite/maria/maria-no-logging.result @@ -1,6 +1,8 @@ set global aria_log_file_size=4294959104; drop database if exists mysqltest; create database mysqltest; +connect admin, localhost, root,,mysqltest,,; +connection default; use mysqltest; set global aria_checkpoint_interval=0; create table t2 (a varchar(100)) engine=myisam; @@ -11,7 +13,10 @@ insert into t2 select * from t2; insert into t2 select * from t2; insert into t2 select * from t2; insert into t2 select * from t2; +connection default; +connection admin; * shut down mysqld, removed logs, restarted it +connection default; create table t1 (a varchar(100)) engine=aria transactional=1; show create table t1; Table Create Table @@ -26,14 +31,20 @@ insert into t1 select * from t2; show engine aria logs; Type Name Status Aria Size 24576 aria_log.00000001 unknown +connection default; +connection admin; * shut down mysqld, removed logs, restarted it +connection default; truncate table t1; insert into t1 select * from t2; show engine aria logs; Type Name Status Aria Size 16384 aria_log.00000001 unknown drop table t1; +connection default; +connection admin; * shut down mysqld, removed logs, restarted it +connection default; create table t1 (a varchar(100)) engine=aria transactional=1; insert into t1 values('a'); create table if not exists t1 select * from t2; @@ -42,7 +53,10 @@ Note 1050 Table 't1' already exists show engine aria logs; Type Name Status Aria Size 16384 aria_log.00000001 unknown +connection default; +connection admin; * shut down mysqld, removed logs, restarted it +connection default; drop table t1; create table t1 engine=aria transactional=1 select * from t2; show engine aria logs; |