1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

error message interception (Bug#4598)

error handling of view initialization fixed (Bug#4599)
This commit is contained in:
bell@sanja.is.com.ua
2004-07-21 04:26:20 +03:00
parent 77a230c675
commit ad9a6e0858
30 changed files with 85 additions and 4 deletions

View File

@@ -880,3 +880,17 @@ select * from v1;
describe v1;
drop view v1;
drop table `t1a``b`;
#
# Changing of underlaying table
#
create table t1 (col1 char(5),col2 char(5));
create view v1 as select * from t1;
drop table t1;
create table t1 (col1 char(5),newcol2 char(5));
-- error 1354
insert into v1 values('a','aa');
drop table t1;
-- error 1354
select * from v1;
drop view v1;