Server IP : 49.212.180.16 / Your IP : 18.118.212.165 Web Server : Apache System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 User : utannto ( 1076) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/rs/mysql/5.1/mysql-test/r/ |
Upload File : |
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 x(PointFromText("POINT(10 20)")), y(PointFromText("POINT(10 20)")); x(PointFromText("POINT(10 20)")) y(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;