msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						a8d1c62e5f 
					 
					
						
						
							
							Run mysql_client_test without --silent  
						
						 
						
						... 
						
						
						
						Flush both stdout and stderr before abort'ing mysql_client_test 
						
						
					 
					
						2006-10-24 18:49:19 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						3df77e48af 
					 
					
						
						
							
							Add analyze_testcase_failure which is called when mysqltest has failed  
						
						 
						
						... 
						
						
						
						with error 1 and we are running with --force
The specific "analyze" code is enclosed in a .test file fwich can easily
be modified to be more advanced 
						
						
					 
					
						2006-10-24 17:36:46 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						e4df2aac07 
					 
					
						
						
							
							Avoid matching the trailing carriage return when parsing the mysqld.spec file  
						
						 
						
						... 
						
						
						
						This fixes problem where --replace_result failed in rpl000015 because the MYSQL_TCP_PORT variable was "3306\r" 
						
						
					 
					
						2006-10-23 20:36:44 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						792adb7ce3 
					 
					
						
						
							
							The vardir trick can only bge used on platforms with native symlinks - otherwise opt_vardir need to be set to default value.  
						
						 
						
						
						
						
					 
					
						2006-10-23 16:51:48 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						6b5ec53962 
					 
					
						
						
							
							Don't use the "4.1 vardir trick" on OS that does not have native symlink(i.e windows)  
						
						 
						
						
						
						
					 
					
						2006-10-23 13:32:20 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						43aa130a38 
					 
					
						
						
							
							If "var" is a symlink which does not point to anything, remove it before creating real var  
						
						 
						
						
						
						
					 
					
						2006-10-23 12:16:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						962fe84784 
					 
					
						
						
							
							As both ndb and im are components that may be disabled as well as the binaries may not exist. Look for  
						
						 
						
						... 
						
						
						
						their binaries in a separate function and produce test casea failures for the test thet needs these components 
						
						
					 
					
						2006-10-23 12:02:56 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kostja@bodhi.local 
							
						 
					 
					
						
						
							
						
						2fecf79536 
					 
					
						
						
							
							Merge bodhi.local:/opt/local/work/mysql-5.0-runtime  
						
						 
						
						... 
						
						
						
						into  bodhi.local:/opt/local/work/mysql-5.1-runtime-merge 
						
						
					 
					
						2006-10-23 12:35:56 +04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						125163c03b 
					 
					
						
						
							
							Init some variables that changes between test cases direclty in run_testcase  
						
						 
						
						... 
						
						
						
						This can not be done in run_testcase_start_servers as embedded never starts a server
Add error if mysqld_start is called in embedded mode 
						
						
					 
					
						2006-10-20 17:09:07 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						c4a570aa00 
					 
					
						
						
							
							Adapt to running from "binary dist"  
						
						 
						
						... 
						
						
						
						Add function mtr_exe_maybe_exists to look for binaries that is optional
Skip ndb support if it's a binary dist where mysqld supports ndb but there is no ndbd 
						
						
					 
					
						2006-10-19 20:33:32 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						1feac4d44f 
					 
					
						
						
							
							Stop all timers before exiting when --start-and-exit  
						
						 
						
						
						
						
					 
					
						2006-10-18 16:39:00 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						8d72bf9448 
					 
					
						
						
							
							Make --with-ndbcluster only be valid together with --bench  
						
						 
						
						... 
						
						
						
						Improve code that detects if ndb shuold be installed
Remove call to stop_all_servers after install db, if any servers are still running 
and need to be stopped they will be stopped atuomatically 
						
						
					 
					
						2006-10-18 13:24:06 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						d45b61b1b5 
					 
					
						
						
							
							Remove warnings  
						
						 
						
						... 
						
						
						
						Set comment properly before calling mtr_report_test failed and report_failure_restart 
						
						
					 
					
						2006-10-17 10:31:06 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						3f46c5cdbd 
					 
					
						
						
							
							When calculating what features to use for _this_ test run, don't look at test that already are deterined to be skipped  
						
						 
						
						
						
						
					 
					
						2006-10-17 08:10:51 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						a9e60bab29 
					 
					
						
						
							
							Use char as datatype for the byte that are read with my_fgetc, fixes problem with  
						
						 
						
						... 
						
						
						
						mysqltest.test on Solaris and Mac. write_file produced nice files with all zeroes. 
						
						
					 
					
						2006-10-14 17:09:06 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						a9bd28307d 
					 
					
						
						
							
							Skip looking for mysql_client_test in 4.1 on windows as it's not built by default  
						
						 
						
						
						
						
					 
					
						2006-10-14 16:31:20 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						1c2113de40 
					 
					
						
						
							
							Look for client bindirs client_release and client_debug before other directories.  
						
						 
						
						
						
						
					 
					
						2006-10-13 20:29:27 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						927c20dd0f 
					 
					
						
						
							
							Improve function that finds the reason why test was skipped, the old version only looked at the ast line, but there might be some additional debug info there so it's better to scan the whole file.  
						
						 
						
						... 
						
						
						
						There should be only one line that says "reason: <reason>" 
						
						
					 
					
						2006-10-13 10:41:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						31f4aaa5be 
					 
					
						
						
							
							Skip looking for ndbapi-examples in 4.1, not part of dist  
						
						 
						
						
						
						
					 
					
						2006-10-12 20:52:53 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						2db82814c4 
					 
					
						
						
							
							Add missing semicolon  
						
						 
						
						
						
						
					 
					
						2006-10-12 16:17:09 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						2c4456d30f 
					 
					
						
						
							
							Add win paths for mysql_client_test  
						
						 
						
						
						
						
					 
					
						2006-10-12 13:49:12 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						d093b1029a 
					 
					
						
						
							
							Look for mysql_client_test in $path_client_bindir  
						
						 
						
						
						
						
					 
					
						2006-10-12 12:19:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						3c66250e84 
					 
					
						
						
							
							Fix unhandled exception in mysql-test-run.pl, creating a dir that already exist  
						
						 
						
						
						
						
					 
					
						2006-10-12 11:29:13 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						5b8312986c 
					 
					
						
						
							
							Fixes for embedded server test  
						
						 
						
						
						
						
					 
					
						2006-10-11 21:53:43 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						d02909910b 
					 
					
						
						
							
							mtr_im_stop returns 1 if all is well  
						
						 
						
						
						
						
					 
					
						2006-10-11 15:45:35 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						3e37764216 
					 
					
						
						
							
							Improve restart logic all code to detect restart is now in the functions  
						
						 
						
						... 
						
						
						
						'run_testcase_need_master/slave_restart'
Remove the faulty qw
Only look for mysql_fix_privilege_tables if not windows 
						
						
					 
					
						2006-10-11 14:50:19 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kostja@bodhi.local 
							
						 
					 
					
						
						
							
						
						b262a6a4b8 
					 
					
						
						
							
							Merge bodhi.local:/opt/local/work/mysql-5.0-root  
						
						 
						
						... 
						
						
						
						into  bodhi.local:/opt/local/work/mysql-5.0-runtime 
						
						
					 
					
						2006-10-09 18:04:09 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						bf762c2d9e 
					 
					
						
						
							
							Print names of testcases that failed check_testcase, this makes it easier  
						
						 
						
						... 
						
						
						
						to run the whole testcase to find wich testcases need to be checked more carefully
and the just "copy and paste" the suspicious test case names to 
a new mysql-test-run.pl command. 
						
						
					 
					
						2006-10-08 17:48:01 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						55e6f74525 
					 
					
						
						
							
							Do the check of special mysqld exe for master or slave after command line args have been parsed  
						
						 
						
						
						
						
					 
					
						2006-10-08 17:08:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						ca611ed679 
					 
					
						
						
							
							Move list of mysqls src dirs into lib/mtr_gcov.pl as it's only used from there  
						
						 
						
						
						
						
					 
					
						2006-10-08 17:05:17 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						b896bd0a6e 
					 
					
						
						
							
							When looking for client binary directories it necessary to look for the one s that are "deep down" first.  
						
						 
						
						
						
						
					 
					
						2006-10-08 16:11:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@shellback.(none) 
							
						 
					 
					
						
						
							
						
						5fa22794fd 
					 
					
						
						
							
							Reorder the order of feature checks a bit  
						
						 
						
						... 
						
						
						
						Make the mysqld_variables hash global so it can be used throughout the program 
						
						
					 
					
						2006-10-08 15:50:16 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						7ba1880369 
					 
					
						
						
							
							Add error handling of failure to start server to "run_testcase_start_servers"  
						
						 
						
						
						
						
					 
					
						2006-10-06 17:15:26 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						738ba624d3 
					 
					
						
						
							
							Fix problem with specifying vardir, mysql_version_id was not yet available when vardir arguments is checked  
						
						 
						
						... 
						
						
						
						Move the code to look for exe_mysqld earlier => to initial_setup
Fix warnings detected by running with "diagnostics"
Remove unused option "opt_result_ext"
Init "path_ndb_examples_dir" 
						
						
					 
					
						2006-10-06 16:26:17 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						d3bc5df837 
					 
					
						
						
							
							Modify regex for parsing mysqld version as the mysqld is sometimes a libtool wrapper and  
						
						 
						
						... 
						
						
						
						the "mysqld --version" command will print "/path/.libs/lt-mysqld  Ver x.x.x" 
						
						
					 
					
						2006-10-06 13:33:12 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						9d5b871f16 
					 
					
						
						
							
							Always need restart for im_* tests  
						
						 
						
						
						
						
					 
					
						2006-10-06 12:46:21 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						22f1cc58c2 
					 
					
						
						
							
							Improve 'run_testcase_need_master_restart' to require restart if master is not already started  
						
						 
						
						... 
						
						
						
						Improve 'run_testcase_need_slave_restart' to detect if a slave restart really is necessary. 
So far all rpl test requires a slave restart, but for all other tests it can be skipped
Improve the sort order used by --reorder 
						
						
					 
					
						2006-10-06 11:23:19 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						f638be87cb 
					 
					
						
						
							
							Rename "snapshot_setup" to "datadir_setup" as that is what is done by it.  
						
						 
						
						... 
						
						
						
						Move call f dunction into "initialize_servers" so it's called also
in stress and bench mode 
						
						
					 
					
						2006-10-06 01:22:33 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						ae4df31df4 
					 
					
						
						
							
							Add printout of file in which warning was detected  
						
						 
						
						... 
						
						
						
						Cleanup .progress, .reject, .log and .warnings files produced by mysqltest 
						
						
					 
					
						2006-10-06 00:57:10 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						babde331a4 
					 
					
						
						
							
							Print the newly found version number in human readable format  
						
						 
						
						
						
						
					 
					
						2006-10-05 22:29:16 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						02693c37d9 
					 
					
						
						
							
							Add policy directive about keeping mysqltest framework tools identical in all versions  
						
						 
						
						
						
						
					 
					
						2006-10-05 22:05:42 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						42e60f5e90 
					 
					
						
						
							
							No need to pass --valgrind to mysqltest anymore, the simple task of  
						
						 
						
						... 
						
						
						
						creating an environment variable is handled directly from the perl code. 
						
						
					 
					
						2006-10-05 20:45:16 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						c03c618dd8 
					 
					
						
						
							
							Make use of $opt_mem" and let 4.1 allow --vardir to be set. Still relies on the var/ directory  
						
						 
						
						... 
						
						
						
						but having it on tmpfs gives a big speedup. 
						
						
					 
					
						2006-10-05 20:21:11 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						ab862ca2dc 
					 
					
						
						
							
							Use same --slave-load-tmpdir in all versions(backport from 5.0)  
						
						 
						
						
						
						
					 
					
						2006-10-05 18:29:59 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						5f1da07a78 
					 
					
						
						
							
							Add new option --mem to mysql-test-run.pl. It will automatically setup a symlink  
						
						 
						
						... 
						
						
						
						from var/ to a tmpfs area and thereby speed up the execution of the testsuite
 significantly 
						
						
					 
					
						2006-10-05 14:37:46 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						1fb0862f3c 
					 
					
						
						
							
							5.0 is also using the somewhat larger config for cluster  
						
						 
						
						
						
						
					 
					
						2006-10-05 13:45:50 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						46b3392171 
					 
					
						
						
							
							Add regex to detect the empty line that end the variable list.  
						
						 
						
						... 
						
						
						
						Some variable names in 5.1 is soo long that there is no space inbetween 
name and value. Outputing a warning about it, as that should probably be fixed.
At least one space should be put between the name and value. 
						
						
					 
					
						2006-10-05 13:38:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						1764f4870e 
					 
					
						
						
							
							Print warning message if test was failed becuase of cluster install failure  
						
						 
						
						... 
						
						
						
						Improve check of wheter test case need slave cluster 
						
						
					 
					
						2006-10-05 13:09:06 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						bf120e18c8 
					 
					
						
						
							
							Set the environment variable NDB_STATUS_OK to indicate that cluster is installed ok. This is actually not needed for this script as it will  
						
						 
						
						... 
						
						
						
						skip ndb tests if cluster install failed. But provided for compatibility 
						
						
					 
					
						2006-10-05 12:28:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								msvensson@neptunus.(none) 
							
						 
					 
					
						
						
							
						
						218034b776 
					 
					
						
						
							
							Fix detection of debug binaries. If mysqld ouputs "debug xx" in the variable list it's a debug binary  
						
						 
						
						
						
						
					 
					
						2006-10-05 00:19:24 +02:00