mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
bug #21790 (UNKNOWN ERROR message in geometry)
We issued UNKNOWN ERROR initially in this place and forgot to fix it when we implemented informative error message for this mysql-test/r/gis-rtree.result: test result mysql-test/t/gis-rtree.test: test case sql/handler.cc: let's issue informative error message here
This commit is contained in:
parent
04bf9cc7c6
commit
b8ab82a629
3 changed files with 22 additions and 2 deletions
|
|
@ -232,3 +232,15 @@ CHECK TABLE t1 EXTENDED;
|
|||
DROP TABLE t1;
|
||||
|
||||
# End of 4.1 tests
|
||||
|
||||
#
|
||||
# bug #21790 (UNKNOWN ERROR on NULLs in RTree)
|
||||
#
|
||||
CREATE TABLE t1(foo GEOMETRY NOT NULL, SPATIAL INDEX(foo) );
|
||||
--error 1048
|
||||
INSERT INTO t1(foo) VALUES (NULL);
|
||||
--error 1416
|
||||
INSERT INTO t1() VALUES ();
|
||||
--error 1416
|
||||
INSERT INTO t1(foo) VALUES ('');
|
||||
DROP TABLE t1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue