msvensson@neptunus.(none)
bccf144260
No need to have a "created_by_mem" file, just read the link and
...
if that is same as opt_mem it can be removed
2006-11-28 15:39:23 +01:00
msvensson@neptunus.(none)
fc1f9bfede
Rename function datadir_setup to datadir_list_setup to avoid mixup
...
with the function where vardir's are created
2006-11-28 15:15:01 +01:00
msvensson@neptunus.(none)
9fb79e9189
Merge neptunus.(none):/home/msvensson/mysql/work/my41-work
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
2006-11-28 13:57:42 +01:00
msvensson@neptunus.(none)
7239e6133a
Merge neptunus.(none):/home/msvensson/mysql/work/my41-work
...
into neptunus.(none):/home/msvensson/mysql/work/my50-work
2006-11-28 13:57:38 +01:00
msvensson@neptunus.(none)
896adf77ae
Bug#24354 option "--extern" of mysql-test-run.pl does not work anymore
...
- Better control of when to create/remove vardir
2006-11-28 13:57:07 +01:00
msvensson@neptunus.(none)
90d654646b
Merge neptunus.(none):/home/msvensson/mysql/work/my41-work
...
into neptunus.(none):/home/msvensson/mysql/work/my50-work
2006-11-28 12:39:22 +01:00
msvensson@neptunus.(none)
afe91a26c6
Fix problem with mysqladmin logging to var/log before var has been created
...
And if var/ has been created, it will be recreated later so the logs
from "mtr_kill_leftovers" will be lost anyway
2006-11-28 12:36:26 +01:00
msvensson@neptunus.(none)
d1ed2e21b8
Backport of patch for bug#24471
2006-11-28 12:33:36 +01:00
msvensson@neptunus.(none)
8a0761201a
Merge bk-internal:/home/bk/mysql-5.0-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-28 11:50:48 +01:00
msvensson@neptunus.(none)
26be89ed47
Fix problem with mysqladmin logging to var/log before var has been created
...
And if var/ has been created, it will be recreated later so the logs will
be lost
2006-11-28 11:43:56 +01:00
msvensson@neptunus.(none)
ee4a5b865f
Backport of patch for bug#24471
...
mysql-test-run.pl:
Removed "use diagnostics", reduces Perl speed significantly. Can be
enabled with "perl -Mdiagnostics mysql-test-run.pl".
mtr_report.pl:
Don't try output "skipped" comment if there is none (bug#24471)
2006-11-28 10:31:07 +01:00
kent@mysql.com/kent-amd64.(none)
029dbbc2b2
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/kent/bk/mysql-5.0-merge
2006-11-27 21:45:16 +01:00
msvensson@neptunus.(none)
76b8b450d6
Fix for rpl000015 that fails if $MYSQL_TCP_PORT is set. The default value for
...
master_port after a "change master" will be set to the compiled in default value
i.e not always the same as what the master report as it's port number.
2006-11-27 19:56:04 +01:00
kent@mysql.com/c-634072d5.010-2112-6f72651.cust.bredbandsbolaget.se
c48c8e9015
Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
...
into mysql.com:/Users/kent/mysql/bk/build/mysql-5.0-build
2006-11-27 19:09:21 +01:00
kent@mysql.com/c-634072d5.010-2112-6f72651.cust.bredbandsbolaget.se
9d328d7d62
mysql-test-run.pl:
...
Removed "use diagnostics", reduces Perl speed significantly. Can be
enabled with "perl -Mdiagnostics mysql-test-run.pl".
mtr_report.pl:
Don't try output "skipped" comment if there is none (bug#24471)
2006-11-24 18:26:53 +01:00
msvensson@neptunus.(none)
fb55bd7a03
Merge bk-internal:/home/bk/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
2006-11-24 13:39:41 +01:00
msvensson@neptunus.(none)
7d8c8af5a2
Fix merge conflicts
2006-11-24 13:39:09 +01:00
knielsen@ymer.(none)
c6986359f9
Merge ymer.(none):/usr/local/mysql/tmp/mysql-5.0-maint
...
into ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca
2006-11-24 12:42:56 +01:00
knielsen@ymer.(none)
eb9dfafa65
Merge ymer.(none):/usr/local/mysql/tmp/mysql-4.1-maint
...
into ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca
2006-11-24 12:39:16 +01:00
knielsen@ymer.(none)
d4595f3c57
Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack
...
traces in Valgrind (broken libc6-dbg).
Installing libc6-dbg on Debian will still provide proper bactraces, even
without setting LD_LIBRARY_PATH explicitly.
2006-11-24 12:38:39 +01:00
msvensson@neptunus.(none)
86f0d1bb03
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
2006-11-24 12:12:25 +01:00
msvensson@neptunus.(none)
d4d675a6e2
mysql_fix_priviileg_tables.sql might be in share/ but not in $path_share
...
since that is where the lang files etc are
2006-11-23 21:12:50 +01:00
msvensson@neptunus.(none)
91c3698aba
Convert one more opt_source_dist
2006-11-23 20:08:48 +01:00
msvensson@neptunus.(none)
8c2efdf4bd
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-23 18:19:54 +01:00
monty@mysql.com/nosik.monty.fi
501333f694
Added option --mtr-build-thread to mysql-test-run.pl
...
Load shared libraries from zlib (fixed that mysql-test-run.pl didn't work on some Solaris boxes)
Added connect timeout to test to make im_daemon_life_cycle more predictable
2006-11-23 18:39:10 +02:00
msvensson@neptunus.(none)
cdbc79b500
Make source_dist a "local" global variable
...
And it's not an "opt"
2006-11-23 17:30:32 +01:00
msvensson@neptunus.(none)
8f85eaf925
Remove duplicate "$report_features"
2006-11-23 17:26:06 +01:00
monty@mysql.com/nosik.monty.fi
fb9bb62b1e
Added some missing DBUG_RETURN
...
Fixed that --valgrind works again with mysql-test-run.sh
Extended error messages when loosing connection during mysql_real_connect()
2006-11-23 16:41:21 +02: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)
d89db5edf8
When runnig from binary dist the .sql files are found in share/ directory
2006-11-21 21:39:37 +01:00
msvensson@neptunus.(none)
66e3c220c6
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-21 15:58:05 +01:00
msvensson@neptunus.(none)
7cf226de11
Rename system_mysql_db_fix.test to system_mysql_db_fix30020 as it tests
...
mysql_fix_privilege_tables.s's ability to convert the system tables as of
3.20 to current system table format
Add similar test for 4.1.23 tables - but use "mysql < mysql_fix_privilege_tables.sql"
so it can be run on any platform.
2006-11-21 15:31:11 +01:00
msvensson@neptunus.(none)
a14ae73f55
Get name for .reject and .log files from result file name
2006-11-21 15:16:12 +01:00
monty@mysql.com/nosik.monty.fi
e825879800
Remove compiler warnings
...
(Mostly in DBUG_PRINT() and unused arguments)
Fixed bug in query cache when used with traceing (--with-debug)
Fixed memory leak in mysqldump
Removed warnings from mysqltest scripts (replaced -- with #)
2006-11-20 22:42:06 +02:00
msvensson@neptunus.(none)
8809a5e27e
mysql_client_test not found when running from binary dist
...
Look in bin for myql_client_test executable
2006-11-20 13:02:49 +01:00
dfischer/df@kahlann.erinye.com
bc8c59c1a8
adaption from 4.1
2006-11-17 17:02:28 +01:00
dfischer/df@kahlann.erinye.com
88ac15ddd1
MTR_BUILD_THREAD=auto selects a value for MTR_BUILD_THREAD from a pool (WL#2690)
2006-11-17 16:52:21 +01:00
msvensson@neptunus.(none)
4eb86ec2cc
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-17 13:41:18 +01:00
msvensson@neptunus.(none)
f0d89307a8
Remove unused variables/options that does not have any effect
...
Update usage description
2006-11-17 13:36:10 +01:00
msvensson@neptunus.(none)
d98ffb2ccf
Cleanup --extern implementation, remove some unused variables and check arguments
2006-11-17 13:30:42 +01:00
msvensson@neptunus.(none)
3f2c3f04bf
BUG#24354 option "--extern" of mysql-test-run.pl does not work anymore
2006-11-17 13:20:48 +01:00
msvensson@neptunus.(none)
770a4f7c68
BUG#24274 option "--big-test" of mysql-test-run.pl does not work anymore
2006-11-17 13:14:07 +01:00
msvensson@neptunus.(none)
b3a5d6196f
remove junk comment
2006-11-17 13:10:54 +01:00
msvensson@neptunus.(none)
dbdd10752c
Bug#24274 option "--big-test" of mysql-test-run.pl does not work anymore
...
- Set environment variable BIG_TEST when using --big-test
- Skip comment lines when looking for features a test case supports.
2006-11-17 11:01:09 +01:00
msvensson@neptunus.(none)
d032660b5f
Bug#24354 option "--extern" of mysql-test-run.pl does not work anymore
...
- Dont require restart when using extern and there is no record of
master being started(pid is not known)
2006-11-17 10:46:21 +01:00
msvensson@neptunus.(none)
4ea853e072
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-16 15:54:50 +01:00
msvensson@neptunus.(none)
81c81296df
Put more spcific paths at the top of list to search for binaries
2006-11-16 15:23:13 +01:00
msvensson@neptunus.(none)
7e3a654785
Merge bk-internal:/home/bk/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
2006-11-16 15:11:12 +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)
5687847387
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint-mysql_upgrade
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-13 13:40:37 +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
msvensson@neptunus.(none)
3eff32965d
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-13 13:33:33 +01:00
msvensson@neptunus.(none)
716621db3f
Make --mem a pure flag. If there is need to specifically set the location
...
use MTR_MEM environment variable
2006-11-13 12:44:12 +01:00
kent@mysql.com/c-634072d5.010-2112-6f72651.cust.bredbandsbolaget.se
1319f3552c
Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
2006-11-11 14:32:10 +01:00
kent@mysql.com/c-634072d5.010-2112-6f72651.cust.bredbandsbolaget.se
cddbb0f817
mysql-test-run.pl:
...
Test for base directory when a RPM install corrected
2006-11-11 14:12:30 +01:00
iggy@rolltop.ignatz42.dyndns.org
3488f21817
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_winfix/my41-mtr_winfix
...
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-4.1-maint
2006-11-10 15:53:34 -05:00
iggy@rolltop.ignatz42.dyndns.org
b808c8e829
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_winfix/my50-mtr_winfix
...
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint
2006-11-10 15:52:49 -05:00
iggy@rolltop.ignatz42.dyndns.org
82ad2e5e92
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_winfix/my41-mtr_winfix
...
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_winfix/my50-mtr_winfix
2006-11-10 15:49:10 -05:00
iggy@rolltop.ignatz42.dyndns.org
73ff367be3
Test Suite failing on Windows because the $opt_report_features variable was not defined before use.
2006-11-10 15:47:11 -05:00
joerg@trift2.
32d9fdaa98
Merge trift2.:/MySQL/M41/push-4.1
...
into trift2.:/MySQL/M50/push-5.0
2006-11-10 19:07:52 +01:00
msvensson@neptunus.(none)
b693d5fdb3
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-10 16:07:49 +01:00
msvensson@neptunus.(none)
43ef5e6a0c
Look for "mysqlmanager" also in "bin" directory
...
Improve log message
2006-11-10 15:58:38 +01:00
joerg@trift2.
2ab3d0bfb4
Merge trift2.:/MySQL/M41/clone-4.1
...
into trift2.:/MySQL/M41/push-4.1
2006-11-10 15:52:53 +01:00
df@kahlann.erinye.com
403ecf18c6
Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into kahlann.erinye.com:/home/df/mysql/build/mtr-5.0
2006-11-10 14:44:01 +01:00
msvensson@neptunus.(none)
7c935a9964
Bug#10608 mysqladmin breaks on "database" variable in my.cnf
...
- Add printout of "Warning" or "Note" for non error messages in default_reporter
- Add test for the above in new mysqladmin.test
2006-11-10 13:25:10 +01:00
df@kahlann.erinye.com
59e33edf22
Merge kahlann.erinye.com:/home/df/mysql/build/mtr-4.1
...
into kahlann.erinye.com:/home/df/mysql/build/mtr-5.0
2006-11-10 13:14:21 +01:00
df@kahlann.erinye.com
f1764fa99f
add --report-features to mysql-test-run.pl
2006-11-10 13:12:08 +01:00
iggy@rolltop.ignatz42.dyndns.org
5343242c67
Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint
...
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-4.1-maint
2006-11-09 15:36:13 -05:00
msvensson@neptunus.(none)
fb25c02b17
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-09 11:01:37 +01:00
msvensson@neptunus.(none)
023c0d03e6
Fix problem when running mysql_client_test in "binary dist", path should include the binary name
2006-11-09 09:48:50 +01:00
msvensson@neptunus.(none)
a620a3abd1
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-08 23:17:09 +01:00
msvensson@neptunus.(none)
90d8d7b5cf
Update of --mem flag after comments
2006-11-08 23:16:44 +01:00
msvensson@neptunus.(none)
174bfe9dd6
No need to pass an additional arg to to mtr_add_arg when there is no % sign
2006-11-08 22:56:06 +01:00
msvensson@neptunus.(none)
4dfbc712ed
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-08 22:54:22 +01:00
msvensson@neptunus.(none)
1437500c1b
Pass location of charsets dir to mysqltest to avoid using the charsetdir locally installed on machine.
2006-11-08 22:53:40 +01:00
msvensson@neptunus.(none)
34f2c99dfc
Don't run mysqltest with both --silent and --verbose
2006-11-08 22:45:52 +01:00
msvensson@neptunus.(none)
ad63d2bdbe
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-07 16:17:04 +01:00
msvensson@neptunus.(none)
f5550c3304
Bug#23981 memory leaks from yassl code + other
...
- Readd --skip-bdb when valgrinding
2006-11-07 16:09:32 +01:00
msvensson@neptunus.(none)
2d952d336e
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-07 13:01:56 +01:00
msvensson@neptunus.(none)
a3602ca86d
Don't allow path to be passed to --mem
2006-11-07 13:01:32 +01:00
msvensson@neptunus.(none)
546250e244
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-11-07 12:57:30 +01:00
msvensson@neptunus.(none)
eea46ce15b
Correct faulty commit, the opt_tastcase_timeout value is in minutes, to it need to be multiplied with 60 before ping passed to mtr_timer_start
2006-11-07 12:56:55 +01:00
msvensson@neptunus.(none)
9d13ee4c04
Make --mem settable with environment variable MTR_MEM and make it possible to pass the directory to use. I.e --mem=<directory>
2006-11-07 11:07:27 +01:00
msvensson@neptunus.(none)
56f10ac81a
Remove old comments
2006-11-04 13:06:19 +01:00
msvensson@neptunus.(none)
7b4a8e41a6
Fix mysql-test-run.pl for "bin dist" look in "bin" directory for client binaries as well.
2006-11-03 12:32:05 +01:00
iggy@rolltop.ignatz42.dyndns.org
5757c9ffe2
Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint
...
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-4.1-maint
2006-11-02 20:43:48 -05:00
cmiller@zippy.cornsilk.net
af5acac047
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
2006-11-02 17:39:52 -05:00
iggy@rolltop.ignatz42.dyndns.org
2704ba3675
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_vs_config/my50-mtr_vs_config
...
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint
2006-11-02 15:16:33 -05:00
iggy@rolltop.ignatz42.dyndns.org
39d7c5a6bc
Bug#23865 mysql-test-run.pl on Windows only supports debug and release configurations
...
Visual Studio builds each configuration in a different sub-directory. Only the sub-
directories for release and debug are currently searched.
2006-11-02 15:05:20 -05:00
joerg@trift2.
de9e759699
mysql-test/mysql-test-run.pl + mysql-test/mysql-test-run.sh
...
Necessary changes if one of the test scripts is to be used with a RPM installation (bug#17194).
This change handles finding the server and the other programs,
but it does not solve the problem to get a writable "var" directory.
If we want to avoid world-writable directories below "/usr/share/mysql-test" (and we do!),
any automatic solution would require fixed decisions which may not match the local installation.
For the Perl script, use "--vardir"; for the shell script, create "mysql-test/var" manually.
2006-11-01 20:17:10 +01:00
msvensson@shellback.(none)
c6c0dcdc0d
Remove warning, exe_mysql_fix_system_tables are not available on windows
2006-10-31 17:16:07 +01:00
msvensson@neptunus.(none)
de932f2a5f
Update the binlog format parse routine to only be avaliable in 5.1 and allow for any binlog_format to be specified
2006-10-25 14:56:36 +02:00
msvensson@neptunus.(none)
a6d87b4c00
Add valgrinding support for mysql_client_test
...
Fix two memory leaks in mysql_client_test
2006-10-25 14:34:18 +02:00
msvensson@neptunus.(none)
4969081589
Set flag opt_skip_ndbcluster_slave if no slaves are being used.
...
Add comments
Deperlify
2006-10-25 12:40:33 +02:00
msvensson@neptunus.(none)
1f780b77e7
Adapt mysql-test-run.pl to mysqld in 5.1 using "mixed" binlog format by default
2006-10-24 23:39:46 +02:00
msvensson@neptunus.(none)
ac5b37ef00
Pass --core-file option to mysqld when bootstrapping
2006-10-24 21:02:04 +02:00
msvensson@neptunus.(none)
844369130f
Remove debug printout
2006-10-24 19:22:27 +02:00
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
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
msvensson@neptunus.(none)
dd2a184f69
Set the small configuration a little bit larger for 4.1
2006-10-05 00:12:54 +02:00
msvensson@neptunus.(none)
b56d31eb05
Add skip-bdb to im defaults file in 5.0
2006-10-04 23:57:31 +02:00
msvensson@neptunus.(none)
56ccee0f6c
Only setup cmdline_myslslap if exe_mysqlslap defined
2006-10-04 23:19:06 +02:00
msvensson@neptunus.(none)
80184739ff
Look for mysqlslap from 5.1, it's also available on windows
2006-10-04 23:15:04 +02:00