-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
678 additions
and
782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# The file with expected results fits only to a run with | ||
# view-protocol. | ||
if (`SELECT $VIEW_PROTOCOL = 0`) | ||
{ | ||
--skip Test requires view-protocol | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
flush status; | ||
create table t1 (a int); | ||
insert into t1 (a) values (1); | ||
create table t2 (b int); | ||
insert into t2 (b) values (2); | ||
select * from t1; | ||
a | ||
1 | ||
show status like 'Opened_views'; | ||
Variable_name Value | ||
Opened_views 1 | ||
flush status; | ||
select * from t2; | ||
b | ||
2 | ||
show status like 'Opened_views'; | ||
Variable_name Value | ||
Opened_views 0 | ||
drop table t1, t2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-- source include/have_view_protocol.inc | ||
|
||
flush status; | ||
|
||
create table t1 (a int); | ||
insert into t1 (a) values (1); | ||
create table t2 (b int); | ||
insert into t2 (b) values (2); | ||
select * from t1; | ||
show status like 'Opened_views'; | ||
|
||
flush status; | ||
--disable_view_protocol | ||
select * from t2; | ||
--enable_view_protocol | ||
|
||
show status like 'Opened_views'; | ||
|
||
drop table t1, t2; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,4 @@ drop table t1; | |
-- last_gtid | ||
-- 0-1-1002 | ||
|
||
reset master; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ select @@last_gtid; | |
drop table t1; | ||
|
||
--disable_session_track_info | ||
reset master; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.