mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Merge ltantony.dsl-verizon.net:/usr/home/antony/work/mysql-4.0
into ltantony.dsl-verizon.net:/usr/home/antony/work/bug3481 mysql-test/r/func_str.result: Auto merged mysql-test/t/func_str.test: Auto merged
This commit is contained in:
commit
8702628029
10 changed files with 40 additions and 11 deletions
|
|
@ -71,8 +71,7 @@ CREATE TABLE t1 (
|
|||
AUFNR varchar(12) NOT NULL default '',
|
||||
PLNFL varchar(6) NOT NULL default '',
|
||||
VORNR varchar(4) NOT NULL default '',
|
||||
xstatus_vor smallint(5) unsigned NOT NULL default '0',
|
||||
|
||||
xstatus_vor smallint(5) unsigned NOT NULL default '0'
|
||||
);
|
||||
|
||||
INSERT INTO t1 VALUES ('40004712','000001','0010',9);
|
||||
|
|
|
|||
|
|
@ -191,3 +191,15 @@ create table `t1 `(a int);
|
|||
create database `db1 `;
|
||||
--error 1166;
|
||||
create table t1(`a ` int);
|
||||
|
||||
#
|
||||
# Test for Bug #3481
|
||||
# "Parser permits multiple commas without syntax error"
|
||||
#
|
||||
|
||||
--error 1064
|
||||
create table t1 (a int,);
|
||||
--error 1064
|
||||
create table t1 (a int,,b int);
|
||||
--error 1064
|
||||
create table t1 (,b int);
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ CREATE TABLE t1 (
|
|||
wid int(10) unsigned NOT NULL auto_increment,
|
||||
data_podp date default NULL,
|
||||
status_wnio enum('nowy','podp','real','arch') NOT NULL default 'nowy',
|
||||
PRIMARY KEY(wid),
|
||||
PRIMARY KEY(wid)
|
||||
);
|
||||
|
||||
INSERT INTO t1 VALUES (8,NULL,'real');
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ drop table if exists t1,t2;
|
|||
|
||||
CREATE TABLE t1 (
|
||||
a int unsigned not null auto_increment primary key,
|
||||
b int unsigned,
|
||||
b int unsigned
|
||||
) TYPE=MyISAM;
|
||||
|
||||
CREATE TABLE t2 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue