summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@hfmain.(none)>2007-02-13 01:22:43 +0400
committerunknown <holyfoot/hf@hfmain.(none)>2007-02-13 01:22:43 +0400
commitd30e1c76ae94134bebae247d409c3695612f60cd (patch)
treea59eeda9c7029dbe5cbace146d40ed7408151567 /mysql-test/t/gis.test
parentc01bbd33d79ac5f7ba822a3c8cadb0c31364e366 (diff)
parent07f36668aecfd3d811c4ed5eb23b1bfdb8c86fdd (diff)
downloadmariadb-git-d30e1c76ae94134bebae247d409c3695612f60cd.tar.gz
Merge mysql.com:/home/hf/work/20691/my50-20691
into mysql.com:/home/hf/work/20691/my51-20691 mysql-test/r/default.result: Auto merged sql/item.cc: Auto merged mysql-test/r/gis.result: SCCS merged mysql-test/t/gis.test: merging
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r--mysql-test/t/gis.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test
index d1ea8dbe18f..51dec7d2b81 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -430,6 +430,14 @@ desc t1;
drop table t1;
#
+# Bug #20691 (DEFAULT over NOT NULL field)
+#
+create table t1 (g geometry not null);
+--error ER_CANT_CREATE_GEOMETRY_OBJECT
+insert into t1 values(default);
+drop table t1;
+
+#
# Bug #11335 View redefines column types
#
create table t1 (f1 tinyint(1), f2 char(1), f3 varchar(1), f4 geometry, f5 datetime);