diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2018-06-25 14:52:38 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2018-06-25 14:52:38 +0530 |
commit | 88aaf590ac9fa8c8030a5831cebd867a7f35478f (patch) | |
tree | 98292a41dce622c8f7de750c067ac87ea6613e98 /mysql-test/suite/innodb/t/alter_non_null.inc | |
parent | 1abd877e2df9e83bc1c2f5195796f427a35bd3f1 (diff) | |
download | mariadb-git-88aaf590ac9fa8c8030a5831cebd867a7f35478f.tar.gz |
MDEV-16365 Setting a column NOT NULL fails to return error for
NULL values when there is no DEFAULT
Copy and inplace algorithm works similarly for
NULL to NOT NULL conversion for the following cases:
(1) strict sql mode - Should give error.
(2) non-strict sql mode - Should give warnings alone
(3) alter ignore table command. - Should give warnings alone.
Diffstat (limited to 'mysql-test/suite/innodb/t/alter_non_null.inc')
-rw-r--r-- | mysql-test/suite/innodb/t/alter_non_null.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/alter_non_null.inc b/mysql-test/suite/innodb/t/alter_non_null.inc new file mode 100644 index 00000000000..3d26aab5ab1 --- /dev/null +++ b/mysql-test/suite/innodb/t/alter_non_null.inc @@ -0,0 +1,2 @@ +# See also alter_non_null.combinations +--source include/have_innodb.inc |