summaryrefslogtreecommitdiff
path: root/mysql-test/r/gis.result
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2005-08-05 20:26:55 +0500
committerunknown <hf@deer.(none)>2005-08-05 20:26:55 +0500
commite13fa8ebbb095970b9a5a206001eeb06273567de (patch)
treea7e0c4cad758ee0cf1eca118276d2949cfcff0dc /mysql-test/r/gis.result
parent61fbf03610ed009260268e091fd01aa35672e4a3 (diff)
downloadmariadb-git-e13fa8ebbb095970b9a5a206001eeb06273567de.tar.gz
testcase added to fix for bug #12281 (Geometry & trigger crash)
mysql-test/r/gis.result: test result fixed mysql-test/t/gis.test: testcase added
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r--mysql-test/r/gis.result5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result
index 93216fe2003..dfe375fd694 100644
--- a/mysql-test/r/gis.result
+++ b/mysql-test/r/gis.result
@@ -665,3 +665,8 @@ ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
insert into t1 values (pointfromtext('point(1,1)'));
ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
drop table t1;
+create table t1 (s1 geometry not null,s2 char(100));
+create trigger t1_bu before update on t1 for each row set new.s1 = null;
+insert into t1 values (null,null);
+ERROR 23000: Column 's1' cannot be null
+drop table t1;