mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug1-5.0 sql/sql_view.cc: Auto merged mysql-test/r/view.result: merge mysql-test/t/view.test: merge
This commit is contained in:
@ -2097,6 +2097,14 @@ select * from v1;
|
||||
f1
|
||||
1
|
||||
drop view v1;
|
||||
create table t1(a int);
|
||||
create procedure p1() create view v1 as select * from t1;
|
||||
drop table t1;
|
||||
call p1();
|
||||
ERROR 42S02: Table 'test.t1' doesn't exist
|
||||
call p1();
|
||||
ERROR 42S02: Table 'test.t1' doesn't exist
|
||||
drop procedure p1;
|
||||
create table t1 (f1 int);
|
||||
create table t2 (f1 int);
|
||||
insert into t1 values (1);
|
||||
|
@ -1943,6 +1943,18 @@ create view v1 as select timestampdiff(day,'1997-01-01 00:00:00','1997-01-02 00:
|
||||
select * from v1;
|
||||
drop view v1;
|
||||
|
||||
#
|
||||
# repeatable CREATE VIEW statement BUG#12468
|
||||
#
|
||||
create table t1(a int);
|
||||
create procedure p1() create view v1 as select * from t1;
|
||||
drop table t1;
|
||||
-- error 1146
|
||||
call p1();
|
||||
-- error 1146
|
||||
call p1();
|
||||
drop procedure p1;
|
||||
|
||||
#
|
||||
# Bug #10624 Views with multiple UNION and UNION ALL produce incorrect results
|
||||
#
|
||||
|
Reference in New Issue
Block a user