diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-01-12 00:33:21 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-01-15 07:41:13 +0100 |
commit | 5dfab33c4ec54082daf034da99c4a796410fe4f3 (patch) | |
tree | d3063943c2eededdafdbfe1f5eb1b8075dd2ade6 /mysql-test/r/trigger_null-8605.result | |
parent | 7e2f9d092dd1fb6b0fa1a8fdd5d1f3af68b56f45 (diff) | |
download | mariadb-git-5dfab33c4ec54082daf034da99c4a796410fe4f3.tar.gz |
MDEV-11551 Server crashes in Field::is_real_null
sometimes table->s->stored_fields is less than table->s->null_fields
Diffstat (limited to 'mysql-test/r/trigger_null-8605.result')
-rw-r--r-- | mysql-test/r/trigger_null-8605.result | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/trigger_null-8605.result b/mysql-test/r/trigger_null-8605.result index b187fc19554..10315988708 100644 --- a/mysql-test/r/trigger_null-8605.result +++ b/mysql-test/r/trigger_null-8605.result @@ -354,3 +354,13 @@ show columns from t1; Field Type Null Key Default Extra a int(11) NO PRI NULL drop table t1; +create table t1 ( +pk int primary key, +i int, +v1 int as (i) virtual, +v2 int as (i) virtual +); +create trigger tr before update on t1 for each row set @a = 1; +insert into t1 (pk, i) values (null, null); +ERROR 23000: Column 'pk' cannot be null +drop table t1; |