Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
N/A
-
10.1.6-1
Description
MariaDB [test]> select ST_IsRing(NULL); |
+-----------------+ |
| ST_IsRing(NULL) | |
+-----------------+ |
| NULL | |
+-----------------+ |
1 row in set (0.00 sec) |
etc.
Specification in the email said:
IsRing(ln)
The return type is Integer, with a return value of 1 for
TRUE, 0 for FALSE, and -1 for UNKNOWN
corresponding to a function invocation on NULL
etc.
Possibly it's just a documentation issue. PostgreSQL also returns NULL.
Attachments
Issue Links
- relates to
-
MDEV-7509 Testing for GIS extensions
-
- Closed
-
-
MDEV-35960 st_isvalid(NULL) should not end up with an error, but return NULL
-
- In Testing
-
Activity
Description |
{code:sql} MariaDB [test]> select ST_IsRing(NULL); +-----------------+ | ST_IsRing(NULL) | +-----------------+ | NULL | +-----------------+ 1 row in set (0.00 sec) {code} etc. Specification in the email said: {quote} IsRing(ln) The return type is Integer, with a return value of 1 for TRUE, 0 for FALSE, and -1 for UNKNOWN corresponding to a function invocation on NULL {code} etc. Possibly it's just a documentation issue. PostgreSQL also returns NULL. |
{code:sql} MariaDB [test]> select ST_IsRing(NULL); +-----------------+ | ST_IsRing(NULL) | +-----------------+ | NULL | +-----------------+ 1 row in set (0.00 sec) {code} etc. Specification in the email said: {quote} IsRing(ln) The return type is Integer, with a return value of 1 for TRUE, 0 for FALSE, and -1 for UNKNOWN corresponding to a function invocation on NULL {quote} etc. Possibly it's just a documentation issue. PostgreSQL also returns NULL. |
Workflow | MariaDB v2 [ 59358 ] | MariaDB v3 [ 66316 ] |
Sprint | 10.1.6-1 [ 6 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 10.1.6 [ 19401 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 66316 ] | MariaDB v4 [ 148765 ] |
Link | This issue relates to MDEV-35960 [ MDEV-35960 ] |