Current Path : /usr/opt/mysql57/mysql-test/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/mysql57/mysql-test/r/sp_gis.result |
use test; drop function if exists a; drop function if exists x; drop function if exists y; create function a() returns int return 1; create function x() returns int return 2; Warnings: Note 1585 This function 'x' has the same name as a native function create function y() returns int return 3; Warnings: Note 1585 This function 'y' has the same name as a native function select a(); a() 1 select x(); ERROR 42000: Incorrect parameter count in the call to native function 'x' select y(); ERROR 42000: Incorrect parameter count in the call to native function 'y' select ST_x(ST_PointFromText("POINT(10 20)")), ST_y(ST_PointFromText("POINT(10 20)")); ST_x(ST_PointFromText("POINT(10 20)")) ST_y(ST_PointFromText("POINT(10 20)")) 10 20 select test.a(), test.x(), test.y(); test.a() test.x() test.y() 1 2 3 drop function a; drop function x; drop function y;