mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
moved links initialization
mysql-test/r/delete.result: test of delete error mysql-test/t/delete.test: test of delete error
This commit is contained in:
@ -35,3 +35,13 @@ create table t1 (a bigint not null, primary key (a,a,a,a,a,a,a,a,a,a));
|
||||
insert into t1 values (2),(4),(6),(8),(10),(12),(14),(16),(18),(20),(22),(24),(26),(23),(27);
|
||||
delete from t1 where a=27;
|
||||
drop table t1;
|
||||
|
||||
drop table if exists t;
|
||||
CREATE TABLE `t` (
|
||||
`i` int(10) NOT NULL default '0',
|
||||
`i2` int(10) NOT NULL default '0',
|
||||
PRIMARY KEY (`i`)
|
||||
) TYPE=MyISAM CHARSET=latin1;
|
||||
-- error 1054
|
||||
DELETE FROM t USING t WHERE post='1';
|
||||
drop table if exists t;
|
Reference in New Issue
Block a user