diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-07-09 12:47:42 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-07-09 16:18:54 +0400 |
commit | 4dc85973b432ac6a17964c2897439e902676e55b (patch) | |
tree | 37638fc2b6fdb19da7d5bb4880bead89d132a9b9 /mysql-test/main/gis.test | |
parent | 0940e25d69cea59d6026f894b1fd9a5ebb55378c (diff) | |
download | mariadb-git-4dc85973b432ac6a17964c2897439e902676e55b.tar.gz |
MDEV-19994 Add class Function_collection
Diffstat (limited to 'mysql-test/main/gis.test')
-rw-r--r-- | mysql-test/main/gis.test | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/main/gis.test b/mysql-test/main/gis.test index e897086ed47..a48fd8cf019 100644 --- a/mysql-test/main/gis.test +++ b/mysql-test/main/gis.test @@ -3116,3 +3116,30 @@ DROP TABLE t1, t2; --echo # --echo # End of 10.4 tests --echo # + + +--echo # +--echo # Start of 10.5 tests +--echo # + +--echo # +--echo # MDEV-19994 Add class Function_collection +--echo # + +--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT +SELECT CONTAINS(); +--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT +SELECT CONTAINS(POINT(1,1)); +--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT +SELECT CONTAINS(POINT(1,1), POINT(1,1), POINT(1,1)); + +--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT +SELECT WITHIN(); +--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT +SELECT WITHIN(POINT(1,1)); +--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT +SELECT WITHIN(POINT(1,1), POINT(1,1), POINT(1,1)); + +--echo # +--echo # End of 10.5 tests +--echo # |