- 11 Oct, 2006 2 commits
-
-
unknown authored
'run_testcase_need_master/slave_restart' Remove the faulty qw Only look for mysql_fix_privilege_tables if not windows mysql-test/lib/mtr_cases.pl: Move all code to determine when to restart into 'run_testcase_need_master/slave_restart' Add possibility to wite --force-restart in -master.opt file, this will force a restart and since master is not started with any special options there is no need to restart again afterwards. mysql-test/mysql-test-run.pl: Remove the qw surrounding ENV{'LD_LIBRARY_PATH'} Only look for the sh script mysql_fix_privileges when not on windows Remove warnings about using unitialized variables Improve the restart logic, eall code to determine when to restart is now in run_testcase_need_master_restart and run_testcase_need_slave_restart mysql-test/t/bdb-alter-table-2-master.opt: Use --force-restart mysql-test/t/not_embedded_server-master.opt: Use --force-restart
-
unknown authored
client/mysqltest.c: Remove vsnprintf() and DBUG_PRINT from die() function, as it's not portable to Windows, and it's not allowed to call vsnprintf() and then vfprintf() with the same args. Can't just print the buffer here, because the buffer is a fixed size. If the message is longer than will fit int he buffer, it would get truncated on Unix, and the full thing would be printed on Windows. This DBUG_PRINT isn't important enough for this hassle, so just get rid of it.
-
- 08 Oct, 2006 6 commits
-
-
unknown authored
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. mysql-test/mysql-test-run.pl: Mark test cases that fails "check_testcase" Make run_check_testcase return value indicating if check failed mysql-test/include/check-testcase.test: New BitKeeper file ``mysql-test/include/check-testcase.test''
-
unknown authored
-
unknown authored
-
unknown authored
vsnprintf is not available on win2003-x86 host, as this is just a debug functionality - disable it for now.
-
unknown authored
When looking for client binary directories it necessary to look for the one s that are "deep down" first.
-
unknown authored
Make the mysqld_variables hash global so it can be used throughout the program
-
- 07 Oct, 2006 5 commits
-
-
unknown authored
-
unknown authored
strcmp -> strncmp
-
unknown authored
-
unknown authored
Improve sort algorithm for reorder, all test with smae name except for ending digit should be run after each other. Example of that is ndb_autodiscover[1-3]
-
unknown authored
Two implementations of "get_err_code_from_name", one use if mysqld_ername.h is available and oe if it's not Declare "to_ptr" first in block
-
- 06 Oct, 2006 8 commits
-
-
unknown authored
mysql-test/lib/mtr_report.pl: Use tinfo's comment as primary place to look for error message
-
unknown authored
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" mysql-test/lib/mtr_cases.pl: Set default number of slave to 0 Remove unused/uninitialized "$opt_result_ext" mysql-test/lib/mtr_report.pl: Remove unused/uninitialized "$opt_result_ext"
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
the "mysqld --version" command will print "/path/.libs/lt-mysqld Ver x.x.x" mysql-test/mysql-test-run.pl: 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"
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/r/subselect.result: Auto merged mysql-test/t/ps.test: Auto merged mysql-test/t/subselect.test: Auto merged
-
unknown authored
-
unknown authored
-
unknown authored
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 mysql-test/lib/mtr_cases.pl: Improve the sort order used by reorder mysql-test/mysql-test-run.pl: 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
-
- 05 Oct, 2006 16 commits
-
-
unknown authored
Move call f dunction into "initialize_servers" so it's called also in stress and bench mode
-
unknown authored
Cleanup .progress, .reject, .log and .warnings files produced by mysqltest client/mysqltest.c: Add printout of file in which warning was detected mysql-test/include/ctype_like_escape.inc: Remove warnings, convert -- comments to # comments mysql-test/mysql-test-run.pl: Cleanup all files produced by mysqltest before starting mysqltest again
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
mysql-test/mysql-test-run.pl: Add policy directive about keeping mysqltest framework tools identical in all versions Cleanup the initial comment to reflect current state
-
unknown authored
creating an environment variable is handled directly from the perl code.
-
unknown authored
but having it on tmpfs gives a big speedup. mysql-test/mysql-test-run.pl: 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.
-
unknown authored
mysql-test/mysql-test-run.pl: Use same location for slave-load-tmpdir in all versions mysql-test/mysql-test-run.sh: Use same location for slave-load-tmpdir in all versions mysql-test/r/rpl_loaddata.result: Update result after changing slave-load-tmpdir to use a shorter path mysql-test/r/rpl_loaddatalocal.result: Update result after changing slave-load-tmpdir to use a shorter path mysql-test/r/rpl_log.result: Update result after changing slave-load-tmpdir to use a shorter path mysql-test/t/rpl_loaddatalocal.test: Use MYSQLTEST_VARDIR when specifying path to load from(backport from 5.0) Use new command "remove_file" instead of s"ystem rm"
-
unknown authored
- When --record is passed to mysqltest the whole testcase should be executed as it normally is while the output form the test is acumulating in ds_res. When test has finished ds_res should simply be written to the specified result file(if any) instead of comapring it against the result file. Simplify handling of --require and also the cecking of result files by splitting check_result function into one function 'check_require' that is specialised in checking require's and leave 'check_result' to do just that. - "mysqltest --record" has been considered unsafe, but with this really simple logic, it should be safe to use. client/mysqltest.c: When --record is passed to mysqltest the whole testcase should be executed as it normally is while the output form the test is acumulating in ds_res. When test has finished ds_res should simply be written to the specified result file(if any) instead of comapring it against the result file. Simplify handling of --require and also the cecking of result files by splitting check_result function into one function 'check_require' that is specialised in checking require's and leave 'check_result' to do just that.
-
unknown authored
from var/ to a tmpfs area and thereby speed up the execution of the testsuite significantly mysql-test/mysql-test-run.pl: 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
-
unknown authored
-
unknown authored
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.
-
unknown authored
Improve check of wheter test case need slave cluster
-
unknown authored
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 mysql-test/include/have_ndb.inc: Revert
-
unknown authored
I.e take advantage of the fact that a # comment is always terminated by a new line Add tests for the above client/mysqltest.c: Improve "check_eol_junk" to detect junk although there are multi line comments in the way. I.e take advantage of the fact that a # comment is always terminated by a new line mysql-test/r/mysqltest.result: Update resut file mysql-test/t/mysqltest.test: Add test for improved check_eol_junk
-
- 04 Oct, 2006 3 commits