mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	Error message numbers. mysql-test/r/binlog_unsafe.result: Error message numbers. mysql-test/r/events_bugs.result: Error message numbers. mysql-test/r/events_trans.result: Error message numbers. mysql-test/r/sp_gis.result: Error message numbers. mysql-test/r/xml.result: Error message numbers. mysql-test/suite/rpl/r/rpl_incident.result: Error message numbers. mysql-test/suite/rpl/r/rpl_loaddata_fatal.result: Error message numbers. mysql-test/suite/rpl/r/rpl_udf.result: Error message numbers. mysql-test/suite/rpl_ndb/r/rpl_ndb_extraCol.result: Error message numbers. mysql-test/suite/ndb/r/ndb_dd_basic.result: Error message numbers. mysql-test/suite/ndb/r/ndb_dd_ddl.result: Error message numbers. mysql-test/suite/ndb/r/ndb_gis.result: Error message numbers. mysql-test/suite/ndb/r/ndb_row_format.result: Error message numbers. mysql-test/suite/ndb/r/ndb_single_user.result: Error message numbers.
		
			
				
	
	
		
			31 lines
		
	
	
		
			829 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			829 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 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;
 |