1
-- source include/have_geometry.inc
6
# BUG#21025: misleading error message when creating functions named 'x', or 'y'
10
drop function if exists a;
11
drop function if exists x;
12
drop function if exists y;
15
create function a() returns int
18
create function x() returns int
21
create function y() returns int
25
--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
27
--error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
29
select x(PointFromText("POINT(10 20)")), y(PointFromText("POINT(10 20)"));
31
# Non deterministic warnings from db_load_routine
33
select test.a(), test.x(), test.y();