summaryrefslogtreecommitdiff
path: root/mysql-test/t/warnings.test
diff options
context:
space:
mode:
authorGleb Shchepa <gshchepa@mysql.com>2009-02-05 13:49:32 +0400
committerGleb Shchepa <gshchepa@mysql.com>2009-02-05 13:49:32 +0400
commit3d543dd16dbe56630c172c11762846f54e6282c0 (patch)
tree68fc22dffa8993f8c6f8582948f2e672ec80dd08 /mysql-test/t/warnings.test
parent49a35c66785fedd6b5c086cd09184de4cf6dad6b (diff)
downloadmariadb-git-3d543dd16dbe56630c172c11762846f54e6282c0.tar.gz
Bug #39265: fix for the bug 33699 should be reverted
Documented behaviour was broken by the patch for bug 33699 that actually is not a bug. This fix reverts patch for bug 33699 and reverts the UPDATE of NOT NULL field with NULL query to old behavior.
Diffstat (limited to 'mysql-test/t/warnings.test')
-rw-r--r--mysql-test/t/warnings.test1
1 files changed, 0 insertions, 1 deletions
diff --git a/mysql-test/t/warnings.test b/mysql-test/t/warnings.test
index 4074317f38a..12421170eba 100644
--- a/mysql-test/t/warnings.test
+++ b/mysql-test/t/warnings.test
@@ -65,7 +65,6 @@ create table t1(a tinyint NOT NULL, b tinyint unsigned, c char(5));
insert into t1 values(NULL,100,'mysql'),(10,-1,'mysql ab'),(500,256,'open source'),(20,NULL,'test');
alter table t1 modify c char(4);
alter table t1 add d char(2);
---error 1048
update t1 set a=NULL where a=10;
update t1 set c='mysql ab' where c='test';
update t1 set d=c;