Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
162c347a
Commit
162c347a
authored
Dec 24, 2007
by
hezx@mail.hezx.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove test rpl_drop_view from main suite
parent
aa36cb78
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
58 deletions
+0
-58
mysql-test/r/rpl_drop_view.result
mysql-test/r/rpl_drop_view.result
+0
-27
mysql-test/t/rpl_drop_view.test
mysql-test/t/rpl_drop_view.test
+0
-31
No files found.
mysql-test/r/rpl_drop_view.result
deleted
100644 → 0
View file @
aa36cb78
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
drop table if exists t1, t2;
drop view if exists v1, v2, v3, not_exist_view;
create table t1 (a int);
create table t2 (b int);
create table t3 (c int);
create view v1 as select * from t1;
create view v2 as select * from t2;
create view v3 as select * from t3;
drop view not_exist_view;
ERROR 42S02: Unknown table 'not_exist_view'
drop view v1, not_exist_view;
ERROR 42S02: Unknown table 'not_exist_view'
select * from v1;
ERROR 42S02: Table 'test.v1' doesn't exist
drop view v2, v3;
select * from v1;
ERROR 42S02: Table 'test.v1' doesn't exist
select * from v2;
ERROR 42S02: Table 'test.v2' doesn't exist
select * from v3;
ERROR 42S02: Table 'test.v3' doesn't exist
mysql-test/t/rpl_drop_view.test
deleted
100644 → 0
View file @
aa36cb78
# test case for bug#30998
# Drop View breaks replication if view does not exist
#
source
include
/
master
-
slave
.
inc
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
drop
view
if
exists
v1
,
v2
,
v3
,
not_exist_view
;
--
enable_warnings
create
table
t1
(
a
int
);
create
table
t2
(
b
int
);
create
table
t3
(
c
int
);
create
view
v1
as
select
*
from
t1
;
create
view
v2
as
select
*
from
t2
;
create
view
v3
as
select
*
from
t3
;
--
error
1051
drop
view
not_exist_view
;
--
error
1051
drop
view
v1
,
not_exist_view
;
--
error
1146
select
*
from
v1
;
drop
view
v2
,
v3
;
save_master_pos
;
connection
slave
;
sync_with_master
;
--
error
1146
select
*
from
v1
;
--
error
1146
select
*
from
v2
;
--
error
1146
select
*
from
v3
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment