~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/regression/t/701468.test

  • Committer: Monty Taylor
  • Date: 2010-12-06 21:17:06 UTC
  • mto: (1977.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1980.
  • Revision ID: mordred@inaugust.com-20101206211706-iiuzzkxhh3fm10zf
Add ability to add a validation function to any sys_var. duh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
create table t1 (a int not null);
2
 
--error ER_BAD_NULL_ERROR
3
 
insert into t1 values (1), (NULL), (2);
4
 
 
5
 
begin;
6
 
insert into t1 values (42);
7
 
--error ER_BAD_NULL_ERROR
8
 
insert into t1 values (1), (NULL), (2);
9
 
select * from t1;
10
 
rollback;
11
 
select * from t1;
12
 
 
13
 
drop table t1;
14