mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	 0ff8f60b45
			
		
	
	0ff8f60b45
	
	
	
		
			
			according to the standard.
The idea is to use Field-classes to implement stored routines
variables. Also, we should provide facade to Item-hierarchy
by Item_field class (it is necessary, since SRVs take part
in expressions).
The patch fixes the following bugs:
  - BUG#8702: Stored Procedures: No Error/Warning shown for inappropriate data 
    type matching; 
 
  - BUG#8768: Functions: For any unsigned data type, -ve values can be passed 
    and returned; 
 
  - BUG#8769: Functions: For Int datatypes, out of range values can be passed 
    and returned; 
 
  - BUG#9078: STORED PROCDURE: Decimal digits are not displayed when we use 
    DECIMAL datatype; 
 
  - BUG#9572: Stored procedures: variable type declarations ignored; 
 
  - BUG#12903: upper function does not work inside a function; 
 
  - BUG#13705: parameters to stored procedures are not verified; 
 
  - BUG#13808: ENUM type stored procedure parameter accepts non-enumerated
    data; 
 
  - BUG#13909: Varchar Stored Procedure Parameter always BINARY string (ignores 
    CHARACTER SET); 
 
  - BUG#14161: Stored procedure cannot retrieve bigint unsigned;
  - BUG#14188: BINARY variables have no 0x00 padding;
  - BUG#15148: Stored procedure variables accept non-scalar values;
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			771 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			771 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Can't be tested with embedded server
 | |
| -- source include/not_embedded.inc
 | |
| 
 | |
| # Bug #8471: IP address with mask fail when skip-name-resolve is on
 | |
| GRANT ALL ON test.* TO mysqltest_1@'127.0.0.1/255.255.255.255';
 | |
| SHOW GRANTS FOR mysqltest_1@'127.0.0.1/255.255.255.255';
 | |
| REVOKE ALL ON test.* FROM mysqltest_1@'127.0.0.1/255.255.255.255';
 | |
| DROP USER mysqltest_1@'127.0.0.1/255.255.255.255';
 | |
| 
 | |
| # End of 4.1 tests
 | |
| 
 | |
| # Bug #13407 "Remote connecting crashes server".
 | |
| # Server crashed when one used USER() function in connection for which
 | |
| # was impossible to obtain peer hostname.
 | |
| connect (con1, 127.0.0.1, root, , test, $MASTER_MYPORT, );
 | |
| --replace_column 1 #
 | |
| select user();
 | |
| --replace_column 1 <id> 3 <host> 5 <command> 6 <time> 7 <state> 8 <info>
 | |
| show processlist;
 | |
| connection default;
 |