~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/csv.test

pandora-build v0.71. Added check for avahi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
 
2
# Test for the CSV engine
 
3
#
 
4
 
 
5
--source include/have_csv.inc
 
6
 
 
7
#
2
8
# Simple select test
3
9
#
4
10
 
1472
1478
# Bug #31473: does not work with NULL value in datetime field
1473
1479
#
1474
1480
create temporary table t1(a datetime not null) engine=csv;
1475
 
--error ER_NO_DEFAULT_FOR_FIELD
 
1481
--error 1364
1476
1482
insert into t1 values();
1477
1483
select * from t1;
1478
1484
drop table t1;
1479
1485
create temporary table t1(a varchar(32) not null) engine=csv;
1480
 
--error ER_NO_DEFAULT_FOR_FIELD
 
1486
--error 1364
1481
1487
insert into t1 values();
1482
1488
select * from t1;
1483
1489
drop table t1;
1484
1490
create temporary table t1(a int not null) engine=csv;
1485
 
--error ER_NO_DEFAULT_FOR_FIELD
 
1491
--error 1364
1486
1492
insert into t1 values();
1487
1493
select * from t1;
1488
1494
drop table t1;
1489
1495
create temporary table t1(a blob not null) engine=csv;
1490
 
--error ER_NO_DEFAULT_FOR_FIELD
 
1496
--error 1364
1491
1497
insert into t1 values();
1492
1498
select * from t1;
1493
1499
drop table t1;