[MDEV-12476] DO unknown_function_name() does not return an error Created: 2017-04-10 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0, 10.1, 10.5.3, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream-fixed | ||
| Description |
|
I create a number of stored functions as follow:
Now I run:
It correctly returns the error:
Now I run:
It returns a result without errors:
The second SELECT query should return the same error with the first SELECT query. Now I run this script:
It works without errors and return a warning:
This script should return FUNCTION test.unknown_function_name does not exist. Now I run:
It returns without errors and without warnings. |
| Comments |
| Comment by Elena Stepanova [ 2017-04-20 ] | |||||||||
|
Also reproducible on 10.0, 10.1, MySQL 5.6.
Fixed in MySQL 5.7, all four queries return an error there. |