msvensson@pilot.blaudden 
							
						 
					 
					
						
						
							
						
						da93a36a0e 
					 
					
						
						
							
							mysql_upgrade portability fixes  
						
						
						
						
					 
					
						2007-04-19 21:30:46 +02:00 
						 
				 
			
				
					
						
							
							
								msvensson@pilot.blaudden 
							
						 
					 
					
						
						
							
						
						41c41448b9 
					 
					
						
						
							
							mysql_upgrade win fixes  
						
						
						
						
					 
					
						2007-04-19 17:00:29 +02:00 
						 
				 
			
				
					
						
							
							
								msvensson@pilot.blaudden 
							
						 
					 
					
						
						
							
						
						4e84ab3f82 
					 
					
						
						
							
							Remove the check for value_start(if any it should be *value_start)  
						
						
						
						
					 
					
						2007-04-18 19:00:42 +02:00 
						 
				 
			
				
					
						
							
							
								msvensson@pilot.blaudden 
							
						 
					 
					
						
						
							
						
						453b6180d0 
					 
					
						
						
							
							Use my_snprintf instead of snprintf  
						
						
						
						
					 
					
						2007-04-18 18:40:22 +02:00 
						 
				 
			
				
					
						
							
							
								msvensson@pilot.blaudden 
							
						 
					 
					
						
						
							
						
						20e622dcf3 
					 
					
						
						
							
							Bug#25452 mysql_upgrade access denied  
						
						... 
						
						
						
						- Improve mysql_upgrade and add comments describing it's logic
 - Don't look for mysql and mysqlcheck randomly, use dir where mysql_upgrade
  was started from
 - Don't look for mysql_fix_privilege_tables.sql randomly, compile
  in the mysql_fix_privilege_tables.sql file and use that to upgrade
  the system tables of MySQL
 - Check for any unexpected error returned from runnning the mysql_fix_privilege_tables SQL
 - Fix bug#26639, bug#24248 and bug#25405 
						
						
					 
					
						2007-04-18 13:21:39 +02:00 
						 
				 
			
				
					
						
							
							
								msvensson@pilot.blaudden 
							
						 
					 
					
						
						
							
						
						f5778fc73e 
					 
					
						
						
							
							Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0  
						
						... 
						
						
						
						into  pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint 
						
						
					 
					
						2007-03-01 18:12:56 +01:00 
						 
				 
			
				
					
						
							
							
								jani@ua141d10.elisa.omakaista.fi 
							
						 
					 
					
						
						
							
						
						bcbc0031eb 
					 
					
						
						
							
							Fixed compiler warnings.  
						
						
						
						
					 
					
						2007-02-28 22:23:35 +02:00 
						 
				 
			
				
					
						
							
							
								msvensson@pilot.blaudden 
							
						 
					 
					
						
						
							
						
						cc7e77c5fd 
					 
					
						
						
							
							Bug  #25074  mysql_upgrade test can't give consistent results  
						
						... 
						
						
						
						- Tell the programs executed by mysql_upgrade to only read
  from the defaults file generated by msyql_upgrade
 - Fix memory leaks 
						
						
					 
					
						2007-02-28 21:05:39 +01:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com/narttu.mysql.fi 
							
						 
					 
					
						
						
							
						
						a04157fbb3 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-5.0  
						
						... 
						
						
						
						into  mysql.com:/home/my/mysql-5.0 
						
						
					 
					
						2007-01-22 14:04:40 +02:00 
						 
				 
			
				
					
						
							
							
								iggy@recycle.(none) 
							
						 
					 
					
						
						
							
						
						294af0a42e 
					 
					
						
						
							
							Merge recycle.(none):/src/bug22807/my50-bug22807  
						
						... 
						
						
						
						into  recycle.(none):/src/mysql-5.0-maint 
						
						
					 
					
						2007-01-18 11:46:29 -05:00 
						 
				 
			
				
					
						
							
							
								iggy@recycle.(none) 
							
						 
					 
					
						
						
							
						
						ef5f757ac2 
					 
					
						
						
							
							Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces  
						
						... 
						
						
						
						- Create space safe strings for system() calls in mysql_upgrade.exe 
						
						
					 
					
						2007-01-18 11:38:05 -05:00 
						 
				 
			
				
					
						
							
							
								joerg@trift2. 
							
						 
					 
					
						
						
							
						
						cb5e2b3004 
					 
					
						
						
							
							Merge trift2.:/MySQL/M50/mysql-5.0  
						
						... 
						
						
						
						into  trift2.:/MySQL/M50/push-5.0 
						
						
					 
					
						2006-12-28 18:22:43 +01:00 
						 
				 
			
				
					
						
							
							
								kent@mysql.com/kent-amd64.(none) 
							
						 
					 
					
						
						
							
						
						226a5c833f 
					 
					
						
						
							
							Many files:  
						
						... 
						
						
						
						Changed header to GPL version 2 only 
						
						
					 
					
						2006-12-23 20:17:15 +01:00 
						 
				 
			
				
					
						
							
							
								df@kahlann.erinye.com 
							
						 
					 
					
						
						
							
						
						dc33e0f49d 
					 
					
						
						
							
							Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-24896  
						
						... 
						
						
						
						into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-release 
						
						
					 
					
						2006-12-20 10:40:05 +01:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com/narttu.mysql.fi 
							
						 
					 
					
						
						
							
						
						a6481aa4c7 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-5.0  
						
						... 
						
						
						
						into  mysql.com:/home/my/mysql-5.0 
						
						
					 
					
						2006-12-15 01:01:52 +02:00 
						 
				 
			
				
					
						
							
							
								monty@mysql.com/narttu.mysql.fi 
							
						 
					 
					
						
						
							
						
						88dd873de0 
					 
					
						
						
							
							Fixed compiler warnings detected by option -Wshadow and -Wunused:  
						
						... 
						
						
						
						- Removed not used variables and functions
- Added #ifdef around code that is not used
- Renamed variables and functions to avoid conflicts
- Removed some not used arguments
Fixed some class/struct warnings in ndb
Added define IS_LONGDATA() to simplify code in libmysql.c
I did run gcov on the changes and added 'purecov' comments on almost all lines that was not just variable name changes 
						
						
					 
					
						2006-12-15 00:51:37 +02:00 
						 
				 
			
				
					
						
							
							
								df@kahlann.erinye.com 
							
						 
					 
					
						
						
							
						
						b9cce096a2 
					 
					
						
						
							
							BUG#24896 magnus' suggestion  
						
						
						
						
					 
					
						2006-12-12 15:47:02 +01:00 
						 
				 
			
				
					
						
							
							
								df@kahlann.erinye.com 
							
						 
					 
					
						
						
							
						
						8375e6684d 
					 
					
						
						
							
							BUG#24896 mysql_upgrade -p fix  
						
						
						
						
					 
					
						2006-12-08 10:23:03 +01:00 
						 
				 
			
				
					
						
							
							
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						c76adf6021 
					 
					
						
						
							
							Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-release  
						
						... 
						
						
						
						into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint 
						
						
					 
					
						2006-11-23 11:57:18 +01:00 
						 
				 
			
				
					
						
							
							
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						176313a679 
					 
					
						
						
							
							mysql_upgrade should look for .sql script also in share/ directory  
						
						
						
						
					 
					
						2006-11-23 11:56:05 +01:00 
						 
				 
			
				
					
						
							
							
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						2aa0d085e3 
					 
					
						
						
							
							Build fixes for NetWare  
						
						
						
						
					 
					
						2006-11-23 11:38:44 +01:00 
						 
				 
			
				
					
						
							
							
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						fc144204da 
					 
					
						
						
							
							Port mysql_upgrade to be tested on windows  
						
						
						
						
					 
					
						2006-11-21 00:46:13 +01:00 
						 
				 
			
				
					
						
							
							
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						bf8a9e544c 
					 
					
						
						
							
							Merge bk-internal:/home/bk/mysql-5.0-maint  
						
						... 
						
						
						
						into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint 
						
						
					 
					
						2006-11-13 16:39:44 +01:00 
						 
				 
			
				
					
						
							
							
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						5110d91ec3 
					 
					
						
						
							
							Make it possible for .test suites to run "mysql_upgrade"  
						
						... 
						
						
						
						Add new test file mysql_upgrade.test 
						
						
					 
					
						2006-11-13 13:39:49 +01:00 
						 
				 
			
				
					
						
							
							
								ted@ted.mysql.internal 
							
						 
					 
					
						
						
							
						
						bc9ca699fb 
					 
					
						
						
							
							Memory allocation bug fixed  
						
						
						
						
					 
					
						2006-11-10 07:21:10 +03:00 
						 
				 
			
				
					
						
							
							
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						f032a223b7 
					 
					
						
						
							
							Fix warnings and NetWare compile failure  
						
						
						
						
					 
					
						2006-11-09 00:17:22 +01:00 
						 
				 
			
				
					
						
							
							
								ted@ted.mysql.internal 
							
						 
					 
					
						
						
							
						
						3e6735e277 
					 
					
						
						
							
							BUG#20100 fix: mysql_upgrade modified to also accept all  
						
						... 
						
						
						
						the communication parameters from the command line
and pass 'em correctly to both mysqlcheck and mysql 
						
						
					 
					
						2006-11-08 05:45:50 +03:00 
						 
				 
			
				
					
						
							
							
								ted@ted.mysql.internal 
							
						 
					 
					
						
						
							
						
						cb08c534a0 
					 
					
						
						
							
							Bug#21011 The [client] group header was overwritten by "password" option in upgrade_defaults file which confused mysqlcheck thus used to prevent the whole thing from running correctly when the "--password=" option is specified on mysql_upgrade command line with no corresponding "--user=" option  
						
						
						
						
					 
					
						2006-09-15 04:01:47 +04:00 
						 
				 
			
				
					
						
							
							
								cmiller@zippy.cornsilk.net 
							
						 
					 
					
						
						
							
						
						73963de637 
					 
					
						
						
							
							Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint  
						
						... 
						
						
						
						into  zippy.cornsilk.net:/home/cmiller/work/mysql/m50-maint-b21224 
						
						
					 
					
						2006-08-23 10:47:46 -04:00 
						 
				 
			
				
					
						
							
							
								cmiller@zippy.cornsilk.net 
							
						 
					 
					
						
						
							
						
						d6b00b72eb 
					 
					
						
						
							
							Bug#21224: mysql_upgrade uses possibly insecure temporary files  
						
						... 
						
						
						
						We open for writing a known location, which is exploitable with a symlink
attack.  Now, use the EXCLusive flag, so that the presence of anything at 
that location causes a failure.  Try once to open safely, and if failure 
then remove that location and try again to open safely.  If both fail, then
raise an error. 
						
						
					 
					
						2006-08-11 15:31:06 -04:00 
						 
				 
			
				
					
						
							
							
								holyfoot/hf@mysql.com/deer.(none) 
							
						 
					 
					
						
						
							
						
						6ebfbf561a 
					 
					
						
						
							
							Merge bk@192.168.21.1:mysql-5.0-kt  
						
						... 
						
						
						
						into  mysql.com:/home/hf/work/mysql-5.0.19452 
						
						
					 
					
						2006-08-02 14:17:16 +05:00 
						 
				 
			
				
					
						
							
							
								holyfoot/hf@mysql.com/deer.(none) 
							
						 
					 
					
						
						
							
						
						1f064174a4 
					 
					
						
						
							
							bug  #20950  (mysql_upgrade looks for 'mysqlcheck' not for 'mysqlcheck.exe'  
						
						... 
						
						
						
						on Windows.
Code added to look for different names on Windows 
						
						
					 
					
						2006-07-21 17:02:04 +05:00 
						 
				 
			
				
					
						
							
							
								holyfoot@deer.(none) 
							
						 
					 
					
						
						
							
						
						bfdc0cdcff 
					 
					
						
						
							
							bug  #19452  (mysql_upgrade reads [client] section but doesn't handle [host] option  
						
						
						
						
					 
					
						2006-07-03 14:22:39 +05:00 
						 
				 
			
				
					
						
							
							
								holyfoot@deer.(none) 
							
						 
					 
					
						
						
							
						
						aab0e9c24e 
					 
					
						
						
							
							Win build fix  
						
						
						
						
					 
					
						2006-05-02 08:59:49 +05:00 
						 
				 
			
				
					
						
							
							
								holyfoot@deer.(none) 
							
						 
					 
					
						
						
							
						
						9b832153f9 
					 
					
						
						
							
							Fix for Win build  
						
						
						
						
					 
					
						2006-05-01 22:16:08 +05:00 
						 
				 
			
				
					
						
							
							
								holyfoot@deer.(none) 
							
						 
					 
					
						
						
							
						
						5a75f865c2 
					 
					
						
						
							
							bug  #18115  (mysql_upgrade on Windows)  
						
						... 
						
						
						
						pushed in 5.0 
						
						
					 
					
						2006-04-28 09:07:25 +05:00