mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
This commit is contained in:
@ -1228,11 +1228,11 @@ drop table t1;
|
||||
create table t1 (a int, b char(10));
|
||||
create view v1 as select * from t1 where a != 0 with check option;
|
||||
-- error 1369
|
||||
load data infile '../std_data_ln/loaddata3.dat' into table v1 fields terminated by '' enclosed by '' ignore 1 lines;
|
||||
load data infile '../../std_data/loaddata3.dat' into table v1 fields terminated by '' enclosed by '' ignore 1 lines;
|
||||
select * from t1;
|
||||
select * from v1;
|
||||
delete from t1;
|
||||
load data infile '../std_data_ln/loaddata3.dat' ignore into table v1 fields terminated by '' enclosed by '' ignore 1 lines;
|
||||
load data infile '../../std_data/loaddata3.dat' ignore into table v1 fields terminated by '' enclosed by '' ignore 1 lines;
|
||||
select * from t1 order by a,b;
|
||||
select * from v1 order by a,b;
|
||||
drop view v1;
|
||||
@ -1241,11 +1241,11 @@ drop table t1;
|
||||
create table t1 (a text, b text);
|
||||
create view v1 as select * from t1 where a <> 'Field A' with check option;
|
||||
-- error 1369
|
||||
load data infile '../std_data_ln/loaddata2.dat' into table v1 fields terminated by ',' enclosed by '''';
|
||||
load data infile '../../std_data/loaddata2.dat' into table v1 fields terminated by ',' enclosed by '''';
|
||||
select concat('|',a,'|'), concat('|',b,'|') from t1;
|
||||
select concat('|',a,'|'), concat('|',b,'|') from v1;
|
||||
delete from t1;
|
||||
load data infile '../std_data_ln/loaddata2.dat' ignore into table v1 fields terminated by ',' enclosed by '''';
|
||||
load data infile '../../std_data/loaddata2.dat' ignore into table v1 fields terminated by ',' enclosed by '''';
|
||||
select concat('|',a,'|'), concat('|',b,'|') from t1;
|
||||
select concat('|',a,'|'), concat('|',b,'|') from v1;
|
||||
drop view v1;
|
||||
|
Reference in New Issue
Block a user