mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 09:04:29 +02:00
Changed some tests to pass with new auto_increment handling,
e.g. default value is not accepted with auto_increment anymore.
This commit is contained in:
parent
ebedd1521c
commit
c1719ad057
16 changed files with 44 additions and 44 deletions
|
|
@ -168,7 +168,7 @@ INSERT INTO t2 VALUES (11416,11416,32767,0);
|
|||
INSERT INTO t2 VALUES (11409,0,0,0);
|
||||
|
||||
CREATE TABLE t3 (
|
||||
id int(11) DEFAULT '0' NOT NULL auto_increment,
|
||||
id int(11) NOT NULL auto_increment,
|
||||
dni_pasaporte char(16) DEFAULT '' NOT NULL,
|
||||
idPla int(11) DEFAULT '0' NOT NULL,
|
||||
cod_asig int(11) DEFAULT '0' NOT NULL,
|
||||
|
|
@ -183,7 +183,7 @@ CREATE TABLE t3 (
|
|||
INSERT INTO t3 VALUES (1,'11111111',1,10362,98,1,'M');
|
||||
|
||||
CREATE TABLE t4 (
|
||||
id int(11) DEFAULT '0' NOT NULL auto_increment,
|
||||
id int(11) NOT NULL auto_increment,
|
||||
papa int(11) DEFAULT '0' NOT NULL,
|
||||
fill int(11) DEFAULT '0' NOT NULL,
|
||||
idPla int(11) DEFAULT '0' NOT NULL,
|
||||
|
|
@ -210,7 +210,7 @@ drop table t1,t2,t3,test.t4;
|
|||
#
|
||||
|
||||
CREATE TABLE t1 (
|
||||
id smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment,
|
||||
id smallint(5) unsigned NOT NULL auto_increment,
|
||||
name char(60) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
|
@ -219,7 +219,7 @@ INSERT INTO t1 VALUES (2,'Lilliana Angelovska');
|
|||
INSERT INTO t1 VALUES (3,'Thimble Smith');
|
||||
|
||||
CREATE TABLE t2 (
|
||||
id smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment,
|
||||
id smallint(5) unsigned NOT NULL auto_increment,
|
||||
owner smallint(5) unsigned DEFAULT '0' NOT NULL,
|
||||
name char(60),
|
||||
PRIMARY KEY (id)
|
||||
|
|
@ -257,15 +257,15 @@ drop table t1;
|
|||
#
|
||||
|
||||
CREATE TABLE t1 (
|
||||
t1_id bigint(21) DEFAULT '0' NOT NULL auto_increment,
|
||||
t1_id bigint(21) NOT NULL auto_increment,
|
||||
PRIMARY KEY (t1_id)
|
||||
);
|
||||
CREATE TABLE t2 (
|
||||
t2_id bigint(21) DEFAULT '0' NOT NULL auto_increment,
|
||||
t2_id bigint(21) NOT NULL auto_increment,
|
||||
PRIMARY KEY (t2_id)
|
||||
);
|
||||
CREATE TABLE t3 (
|
||||
t3_id bigint(21) DEFAULT '0' NOT NULL auto_increment,
|
||||
t3_id bigint(21) NOT NULL auto_increment,
|
||||
PRIMARY KEY (t3_id)
|
||||
);
|
||||
CREATE TABLE t4 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue