mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	Don't make OLD_PASSWORD() a reserved word mysql-test/r/explain.result: Test select count(*) mysql-test/r/func_crypt.result: Test old_password() mysql-test/t/explain.test: Test select count(*) mysql-test/t/func_crypt.test: Test old_password() sql/item_create.cc: Don't make OLD_PASSWORD() a reserved word sql/item_create.h: Don't make OLD_PASSWORD() a reserved word sql/lex.h: Don't make OLD_PASSWORD() a reserved word sql/opt_range.cc: Remove blank space sql/opt_sum.cc: Fix problem in MIN/MAX optimisation
		
			
				
	
	
		
			11 lines
		
	
	
		
			517 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			517 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| -- source include/have_crypt.inc
 | |
| 
 | |
| select length(encrypt('foo', 'ff')) <> 0;
 | |
| --replace_result $1$aa$4OSUA5cjdx0RUQ08opV27/ aaqPiZY5xR5l.
 | |
| 
 | |
| # Test new and old password handling functions 
 | |
| select password("a",""), password("a",NULL), password("","a"), password(NULL,"a");
 | |
| select password("aaaaaaaaaaaaaaaa","a"), password("a","aaaaaaaaaaaaaaaa");
 | |
| select old_password('test'), length(password("1")), length(encrypt('test')), encrypt('test','aa');
 | |
| select old_password(""), old_password(NULL), password(""), password(NULL);
 |