Commit graph

21965 commits

Author SHA1 Message Date
msvensson@pilot.mysql.com
c6aca99321 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
msvensson@pilot.mysql.com
0c3165feb3 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
msvensson@pilot.mysql.com
3f9adfb812 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
msvensson@pilot.mysql.com
ea839ba054 Set verbose back to 0 by default 2008-04-22 22:01:37 +02:00
msvensson@pilot.mysql.com
113dd00d42 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
msvensson@pilot.mysql.com
23f462137e 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
msvensson@pilot.mysql.com
ceb5e439a6 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
2008-04-22 12:40:48 +02:00
msvensson@pilot.mysql.com
5a0ae425c6 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
msvensson@pilot.mysql.com
71e4de876e Temporarily turn on verbose 2008-04-21 21:47:33 +02:00
msvensson@pilot.mysql.com
761b355d0e Add check for unix socket path truncation
Don't allow unix socket path to be truncated
2008-04-21 18:32:32 +02:00
msvensson@pilot.mysql.com
206e1dc63e Rename "shutdown" -> "send_shutdown" and "kill_server" to "shutdown_server"
Fix warnings
2008-04-21 17:39:13 +02:00
msvensson@pilot.mysql.com
2ba565cde7 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
2008-04-21 14:16:54 +02:00
skozlov/ksm@mysql.com/virtop.(none)
9198608e8a Fix for main.events_restart 2008-04-20 22:24:00 +04:00
skozlov/ksm@mysql.com/virtop.(none)
31569606b2 WL#3734 Testing slave group execution 2008-04-20 16:32:08 +04:00
msvensson@pilot.mysql.com
596aca33f5 Set mysqladmin shutdown timeout to 60 seconds 2008-04-14 14:25:57 +02:00
msvensson@pilot.mysql.com
e549ec7f6a Temporary re-enable the "always restart slave" 2008-04-14 12:57:37 +02:00
msvensson@pilot.mysql.com
be3371d33a Drop all tables before test case ends 2008-04-11 15:32:34 +02:00
msvensson@pilot.mysql.com
806b107a1c 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
msvensson@pilot.mysql.com
0ceb3244e5 Improve readability of check testcase data and add order by 2008-04-09 22:06:02 +02:00
msvensson@shellback.(none)
f4661f34a6 Fix return code from check-warnings to indicate if test failed or not.
No more string matching
2008-04-09 14:38:42 +02:00
msvensson@shellback.(none)
d348362d24 Turn on --check-testcase by default
Don't log check_warnings to binlog
2008-04-09 12:27:39 +02:00
msvensson@shellback.(none)
eee737d823 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
msvensson@shellback.(none)
98ab99f9ec 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
msvensson@shellback.(none)
74b43edce2 Restore settings before test ends 2008-04-09 09:48:06 +02:00
msvensson@pilot.mysql.com
08a92bf010 Reset debug flag before test ends 2008-04-09 09:44:30 +02:00
msvensson@shellback.(none)
3253a936da Update comment to reflect reality 2008-04-09 09:44:08 +02:00
msvensson@shellback.(none)
7fcbf9f21e Mereg events_restart_phase* to events_restart 2008-04-09 09:43:20 +02:00
msvensson@pilot.mysql.com
8d334260f5 Fix rename of mtr_match.pl to mtr_match.pm in Makefile 2008-04-08 18:05:19 +02:00
msvensson@pilot.mysql.com
456b16d834 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-warnings2
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
2008-04-08 16:52:15 +02:00
msvensson@pilot.mysql.com
433c1c3d7b Check warnings in servers error log as part of test case 2008-04-08 16:51:26 +02:00
msvensson@pilot.mysql.com
15d2940fe1 Remove faulty underscore in --defaults-group-suffix for mysqldump 2008-04-08 11:02:06 +02:00
msvensson@pilot.mysql.com
5d20a6eea8 Fix comment 2008-04-08 10:11:07 +02:00
skozlov/ksm@mysql.com/virtop.(none)
aa70d95222 rpl_slave_status.test
Added waiting start/stop slave via primitives.
2008-04-07 16:36:21 +04:00
skozlov/ksm@mysql.com/virtop.(none)
a5d13561aa Added clean up for test case: to replicate drop of database to slave 2008-04-05 21:33:42 +04:00
skozlov/ksm@mysql.com/virtop.(none)
b2fe75a1ec Fix for binlog_index test case: hide difference for paths from warning messages between Windows and Unix 2008-04-05 15:09:53 +04:00
skozlov/ksm@virtop.(none)
07f5b33ae8 Merge skozlov@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl
into  mysql.com:/home/ksm/mysql/bugs/commit-mysql-5.1-new-rpl-bug28772
2008-04-05 10:50:09 +04:00
msvensson@pilot.mysql.com
cea71680eb Fix paths MYSQLTEST_VARDIR/master-data -> MYSQLD_DATADIR 2008-04-04 17:46:48 +02:00
msvensson@pilot.mysql.com
17a5ef3984 Merge bk-internal:/home/bk/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
2008-04-03 21:51:26 +02:00
msvensson@pilot.mysql.com
95d9608d3e Fix paths in test and result files 2008-04-03 21:40:10 +02:00
msvensson@pilot.mysql.com
a011d27cf9 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-04-03 11:50:43 +02:00
skozlov/ksm@virtop.(none)
8f95b8d230 Merge skozlov@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl
into  mysql.com:/home/ksm/mysql/bugs/commit-mysql-5.1-new-rpl-bug30128
2008-04-03 13:08:03 +04:00
msvensson@shellback.(none)
f1312d30bb Dynamically set debug flag for session only
- avoid restart
- keep all in one file
- fix --check-testcase
2008-04-03 10:27:56 +02:00
skozlov/ksm@mysql.com/virtop.(none)
2e5a329066 Bug#28772, added waiting Until_Log_Pos when slave starting with UNTIL clause and then waiting stop of slave.
It helps to avoid issues when slave starts too slowly.
2008-04-02 22:50:54 +04:00
mkindahl@dl145h.mysql.com
70827ee13e Post-merge fixes to make tests pass. 2008-04-02 20:47:16 +02:00
skozlov/ksm@mysql.com/virtop.(none)
fd8d82aed7 Bug#30128, The reason that sometimes events were executed because without STARTS clause server fires immediately after creating event and
time between create and delete event sometimes is enough for firing. So adding STARTS clause moves first execution in future after drop of event.
2008-04-02 19:41:49 +04:00
mkindahl@dl145h.mysql.com
5669551ccd Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
2008-04-02 12:36:38 +02:00
sven@riska.(none)
0a4d373f3d BUG#34541: mysqlbinlog prints 'set;' in stm mode after changing autocommit mode
Problem: a typo in the code. When autocommit, foreign_key_checks,
sql_auto_is_null, or unique_checks changes, it prints "SET", and then a
comma-separated list of assignments. However, it does not print the
assignment to the @@autocommit variable.
Fix: print the @@autocommit variable.
2008-04-02 16:49:22 +07:00
msvensson@pilot.mysql.com
16d4936e3b Set verbose to off by default 2008-04-02 10:08:44 +02:00
msvensson@pilot.mysql.com
d4eecb9677 Add mtr database 2008-04-02 10:06:36 +02:00
mkindahl@dl145h.mysql.com
354f4d4cf6 Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
2008-04-01 08:45:24 +02:00