Commit graph

54058 commits

Author SHA1 Message Date
unknown
3fb9f1c6e5 Temporarily disable "rpl_circular_for_4_hosts" and "rpl_ndb.rpl_ndb_circular_2ch" 2008-04-25 12:40:38 +02:00
unknown
dbf6b9dc3f Be more prcise in which cluster_config sections should be expanded.
Ie don't treat cluster_config.mysqld.1.1 as a section specifying a cluster
2008-04-25 11:22:15 +02:00
unknown
32dcf68480 Only allow "suitename" to be used as a aptch if it has at least one
directory part
2008-04-25 10:51:11 +02:00
unknown
a9f2f98c4d Merge bk-internal:/home/bk/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
2008-04-25 10:35:46 +02:00
unknown
b43b1673d8 Add missing "include/have_ndb.inc" 2008-04-25 08:21:26 +02:00
unknown
994e9d6362 Merge skozlov@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl
into  mysql.com:/home/ksm/mysql/WL3754/commit-mysql-5.1-new-rpl
2008-04-25 00:47:36 +04:00
unknown
55d18e13ca WL#3754, testing circular replication
mysql-test/include/circular_rpl_for_4_hosts_init.inc:
  The primitive for 4 hosts non-cluster circular replication
mysql-test/include/circular_rpl_for_4_hosts_sync.inc:
  The primitive for sync for 4 hosts non-cluster circular replication
mysql-test/include/ndb_master-slave_2ch.inc:
  The primitive for initialization of two-channel cluster replication
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result:
  Result file
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-master.opt:
  Options file
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-slave.opt:
  Options file
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.test:
  The test case for non-cluster circular replication A->B->C->D->A
mysql-test/suite/rpl_ndb/r/rpl_ndb_circular_2ch.result:
  Result file
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-master.opt:
  Options file
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-slave.opt:
  Options file
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test:
  The test case for cluster circular replication by two channels
2008-04-25 00:41:04 +04:00
unknown
16bec30d1d Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
2008-04-24 14:43:51 +02:00
unknown
032f64f3ff Allow 2002 as a valid error for connect fails. It's common on windows where
we don't use Unix domin sockets for connection to server
2008-04-24 14:16:32 +02:00
unknown
d4a9ed4b50 Replace all - with - in $opt name 2008-04-24 14:15:15 +02:00
unknown
d21e7383d1 Add support for bootstrapping from init_db.sql, which is used in
early versions of 5.1 and 5.0
Fix usage instruction of defaults_extra_file
2008-04-24 14:14:11 +02:00
unknown
9ac15b610e Add warning supressions for bug#31590 and bug#26402 that gort lost when
moving the supressions from perl to SQL
2008-04-24 13:26:28 +02:00
unknown
9b936dae90 Don't symlink var/tmp to $opt_tmpdir
Just treat var/tmp and $opt_tmndir that might be different or same.
2008-04-23 12:59:37 +02:00
unknown
3536675068 Set verbose back to 0 by default 2008-04-22 22:01:37 +02:00
unknown
2d226292ff Always return 0 inidcating that socket path would not be truncated when
running on windows. Apparently Cygwin tries to emulate UNIX Socket and thus
fails to create one.
2008-04-22 21:55:09 +02:00
unknown
0a4ad7f390 Fix warnings for 64 bit windows 2008-04-22 12:54:51 +02:00
unknown
1737e14c96 Since IO::Socket::UNIX is part of core perl, it's not enough to
"eval use" it. Instead trap the error that occurs when creating the socket
on platforms that does not support it.
2008-04-22 12:43:38 +02:00
unknown
079fa53f45 Add 'my_kill' - portable version of "kill"
Straigthen code to be more explicit
2008-04-22 12:42:02 +02:00
unknown
3674c72d20 Improve 'collect_one_suite' so it looks in storage/*/mysql-test-suites by default
Also make it possible to specify a path to the suite, for example:
./mtr --suite=/some/path/to/suitedir 


mysql-test/lib/My/Find.pm:
  Extend 'my_find_paths' to glob path names
2008-04-22 12:40:48 +02:00
unknown
fd47c80e6d Move the check for socket path truncation to after the tmpdir has been created
since it's used by the check
2008-04-21 23:12:28 +02:00
unknown
dca696e141 Temporarily turn on verbose 2008-04-21 21:47:33 +02:00
unknown
d857837934 Fix valgrind warnings 2008-04-21 20:43:46 +02:00
unknown
3d861b6724 Add check for unix socket path truncation
Don't allow unix socket path to be truncated 


mysql-test/lib/My/Platform.pm:
  Add check for unix socket path truncation
mysql-test/mysql-test-run.pl:
  Don't allow socket path to be truncated. Fail and ask user to correct the problem by
  using a shorter path with  --tmpdir
2008-04-21 18:32:32 +02:00
unknown
857a6dc14c Rename "shutdown" -> "send_shutdown" and "kill_server" to "shutdown_server"
Fix warnings


mysql-test/mysql-test-run.pl:
  Symlink var/tmp to $opt_tmpdir if not using var/tmp
mysql-test/include/restart_mysqld.inc:
  Renama
2008-04-21 17:39:13 +02:00
unknown
4638c78d35 Add "kill_server", call shutdown on current conneciton and then make sure
the server dissapears
Check return code of 'mysql_ping'
Add "shutdown", call 'mysql_shutdown' on the current connection 


mysql-test/include/restart_mysqld.inc:
  Use "kill_server"
mysql-test/include/wait_until_connected_again.inc:
  Init $mysql_errno to 9999
  Add workaround for BUG#36228
2008-04-21 14:16:54 +02:00
unknown
13f394b6d6 Fix for main.events_restart
mysql-test/include/wait_until_connected_again.inc:
  added new errno 1053
mysql-test/include/wait_until_disconnected.inc:
  added new errno 1053
2008-04-20 22:24:00 +04:00
unknown
edd585e61c WL#3734 Testing slave group execution
mysql-test/suite/rpl/r/rpl_slave_grp_exec.result:
  result file
mysql-test/suite/rpl/t/rpl_slave_grp_exec-master.opt:
  master option file
mysql-test/suite/rpl/t/rpl_slave_grp_exec-slave.opt:
  slave option file
mysql-test/suite/rpl/t/rpl_slave_grp_exec.test:
  test case
2008-04-20 16:32:08 +04:00
unknown
3c565a66b5 Set mysqladmin shutdown timeout to 60 seconds
mysql-test/mysql-test-run.pl:
  Add printout
2008-04-14 14:25:57 +02:00
unknown
4f367b42b5 Temporary re-enable the "always restart slave" 2008-04-14 12:57:37 +02:00
unknown
19b95c0621 Drop all tables before test case ends 2008-04-11 15:32:34 +02:00
unknown
8402740acd Bug#35986 valgrind warning in DbugParse for empty string in SET GLOBAL DEBUG=""
- Code in DbugParse was reading from beyond end of the control string


dbug/dbug.c:
  Don't try to parse control strings that hasn't got any tokens
  or is zero size
2008-04-11 10:30:06 +02:00
unknown
38d5c213c1 Fix problem where test case timeout was not detected
after expected crash server restart. The test timeout process was killed
not restarted.
2008-04-10 13:16:32 +02:00
unknown
4bdec18f75 Improve readability of check testcase data and add order by 2008-04-09 22:06:02 +02:00
unknown
11cb913b9a Bug#35943 Failure to create mysql.ndb_schema shoudl not be logged if tabe already exist
sql/ha_ndbcluster_binlog.cc:
  Add Ndb error code 721 to list of errors that should not be printed
  to error log
2008-04-09 18:42:05 +02:00
unknown
5242048883 Fix return code from check-warnings to indicate if test failed or not.
No more string matching


mysql-test/include/check-warnings.test:
  Check return value from check_warnings and call skip if ok
mysql-test/include/mtr_check.sql:
  Improve readability
mysql-test/include/mtr_warnings.sql:
  Add out parameter for result.
  Increase the max_allowed_packet variable so the load_file works
  even if the server is started with low such value
2008-04-09 14:38:42 +02:00
unknown
fc0de68e00 Turn on --check-testcase by default
Don't log check_warnings to binlog


mysql-test/include/check-testcase.test:
  Change to use a stored pårocedure for check_testcase
mysql-test/include/mtr_warnings.sql:
  Don't log the check_warning procedure to binlog
mysql-test/mysql-test-run.pl:
  Turn on --check-testcase by default
mysql-test/include/mtr_check.sql:
  New BitKeeper file ``mysql-test/include/mtr_check.sql''
2008-04-09 12:27:39 +02:00
unknown
9cd71f5c97 Fix not_embedded_server to check if the value of com_select changed
regardless of it's current value
2008-04-09 11:05:53 +02:00
unknown
f84ba1b5b7 Merge pilot:mysql/mysql-5.1-rpl
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-new-rpl
2008-04-09 09:55:30 +02:00
unknown
ed6b8e2274 Restore settings before test ends 2008-04-09 09:48:06 +02:00
unknown
3478d27f11 Reset debug flag before test ends 2008-04-09 09:44:30 +02:00
unknown
7d4b25bda2 Update comment to reflect reality 2008-04-09 09:44:08 +02:00
unknown
fb5ad5e75d Mereg events_restart_phase* to events_restart
BitKeeper/deleted/.del-events_restart_phase2.test:
  Delete: mysql-test/t/events_restart_phase2.test
BitKeeper/deleted/.del-events_restart_phase2-master.opt:
  Delete: mysql-test/t/events_restart_phase2-master.opt
BitKeeper/deleted/.del-events_restart_phase3.test:
  Delete: mysql-test/t/events_restart_phase3.test
BitKeeper/deleted/.del-events_restart_phase3-master.opt:
  Delete: mysql-test/t/events_restart_phase3-master.opt
BitKeeper/deleted/.del-events_restart_phase2.result:
  Delete: mysql-test/r/events_restart_phase2.result
BitKeeper/deleted/.del-events_restart_phase3.result:
  Delete: mysql-test/r/events_restart_phase3.result
mysql-test/include/restart_mysqld.inc:
  New BitKeeper file ``mysql-test/include/restart_mysqld.inc''
mysql-test/include/wait_until_disconnected.inc:
  New BitKeeper file ``mysql-test/include/wait_until_disconnected.inc''
mysql-test/t/events_restart-master.opt:
  New BitKeeper file ``mysql-test/t/events_restart-master.opt''
2008-04-09 09:43:20 +02:00
unknown
6d25aace5a Fix rename of mtr_match.pl to mtr_match.pm in Makefile 2008-04-08 18:05:19 +02:00
unknown
d4779aaa48 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-warnings2
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl


mysql-test/mysql-test-run.pl:
  Auto merged
2008-04-08 16:52:15 +02:00
unknown
2c4ca51050 Check warnings in servers error log as part of test case
BitKeeper/deleted/.del-rpl_bug33931-slave.opt:
  Delete: mysql-test/suite/rpl/t/rpl_bug33931-slave.opt
mysql-test/include/default_mysqld.cnf:
  Set a default name for "log-bin"
mysql-test/mysql-test-run.pl:
  Check for warnings in mysqld error log files after each testcase,
  using SQL
mysql-test/lib/mtr_cases.pm:
  Make mtr_match into a perl module
mysql-test/lib/mtr_match.pm:
  Make mtr_match into a perl module
mysql-test/lib/mtr_report.pm:
  Make mtr_match into a perl module
  Print warnings if testcase failed from warnings
mysql-test/r/information_schema.result:
  Be more selective which databases and tables are select in the queries
mysql-test/r/mysql_upgrade.result:
  Update result, mysql_upgrade will check _all_ databases
mysql-test/r/mysqlcheck.result:
  Update result, mysql_upgrade should check _all_ databases
mysql-test/r/sp-destruct.result:
  Be more selective which databases and tables are select in the queries
mysql-test/r/sp-error.result:
  Backup and restore mysql.proc table
mysql-test/r/sp-security.result:
  Be more selective which databases and tables are select in the queries
mysql-test/r/sp.result:
  Be more selective which databases and tables are select in the queries
mysql-test/suite/rpl/r/rpl_bug33931.result:
  Move the setting of debug flag into the test file instead of in -slave.opt
  Add supression
mysql-test/suite/rpl/r/rpl_idempotency.result:
  Add supression
  Add master-slave-end.inc
mysql-test/suite/rpl/t/rpl_bug33931.test:
  Move the setting of debug flag into the test file instead of in -slave.opt
  Add supression
mysql-test/suite/rpl/t/rpl_idempotency.test:
  Add supression
  Add master-slave-end.inc
mysql-test/t/information_schema.test:
  Be more selective which databases and tables are select in the queries
mysql-test/t/sp-destruct.test:
  Be more selective which databases and tables are select in the queries
mysql-test/t/sp-error.test:
  Backup and restore mysql.proc table
mysql-test/t/sp-security.test:
  Be more selective which databases and tables are select in the queries
mysql-test/t/sp.test:
  Be more selective which databases and tables are select in the queries
mysql-test/include/check-warnings.test:
  New BitKeeper file ``mysql-test/include/check-warnings.test''
mysql-test/include/mtr_warnings.sql:
  New BitKeeper file ``mysql-test/include/mtr_warnings.sql''
2008-04-08 16:51:26 +02:00
unknown
39f718e0d7 Remove faulty underscore in --defaults-group-suffix for mysqldump 2008-04-08 11:02:06 +02:00
unknown
72d9ad6c85 Fix comment 2008-04-08 10:11:07 +02:00
unknown
801cea4d82 rpl_slave_status.test
Added waiting start/stop slave via primitives.


mysql-test/suite/rpl/r/rpl_slave_status.result:
  updated result
mysql-test/suite/rpl/t/rpl_slave_status.test:
  updated test case
2008-04-07 16:36:21 +04:00
unknown
d049600f30 Added clean up for test case: to replicate drop of database to slave
mysql-test/suite/rpl/t/rpl_binlog_grant.test:
  updated test case
2008-04-05 21:33:42 +04:00
unknown
d50ded3db8 Fix for binlog_index test case: hide difference for paths from warning messages between Windows and Unix
mysql-test/suite/binlog/r/binlog_index.result:
  updated result
mysql-test/suite/binlog/t/binlog_index.test:
  updated test case
2008-04-05 15:09:53 +04:00