Commit graph

51371 commits

Author SHA1 Message Date
unknown
600d406283 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-mtr


mysql-test/lib/My/SafeProcess.pm:
  Auto merged
mysql-test/lib/mtr_cases.pm:
  Auto merged
mysql-test/mysql-test-run.pl:
  Auto merged
2008-01-18 00:06:30 +01:00
unknown
02a784efea Add C version of safe_process
BitKeeper/etc/ignore:
  Added mysql-test/lib/My/SafeProcess/my_safe_process to the ignore list
configure.in:
  Add Makefile to build safe_process
mysql-test/Makefile.am:
  Build lib/My/SafeProcess
mysql-test/lib/My/SafeProcess.pm:
  Use C version of safe_process
mysql-test/lib/t/SafeProcessStress.pl:
  Decrease number of loops
mysql-test/lib/My/SafeProcess/Makefile.am:
  New BitKeeper file ``mysql-test/lib/My/SafeProcess/Makefile.am''
mysql-test/lib/My/SafeProcess/safe_process.cc:
  New BitKeeper file ``mysql-test/lib/My/SafeProcess/safe_process.cc''
2008-01-18 00:03:38 +01:00
unknown
551a899c8d Update test result 2008-01-11 16:56:14 +01:00
unknown
359303d9ec Allow start-from to also filter on suitename 2008-01-11 10:44:16 +01:00
unknown
0a69b0b833 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-parts
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr


mysql-test/lib/mtr_cases.pm:
  Auto merged
2008-01-10 17:17:04 +01:00
unknown
c6a1ed022c - Add autodetection of which my.cnfs to use for each testcase if suite does
not have a my.cnf of it's own
- Fix paths: master-data => mysqld.1/data, ../std_data_ln => MYSQLTEST_VARDIR/std_data


mysql-test/lib/mtr_cases.pm:
  Add autodetection of which my.cnfs to use for each testcase if suite does
  not have a my.cnf of it's own
mysql-test/suite/parts/inc/partition.pre:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/inc/partition_basic.inc:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/inc/partition_check_drop.inc:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/inc/partition_layout.inc:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/inc/partition_layout_check1.inc:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/inc/partition_layout_check2.inc:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/inc/partition_supported_sql_funcs.inc:
  Update paths, ../std_dataln_ => MYSQLTEST_VARDIR/std_data
mysql-test/suite/parts/r/part_supported_sql_func_innodb.result:
  Update paths, ../std_dataln_ => MYSQLTEST_VARDIR/std_data
mysql-test/suite/parts/r/part_supported_sql_func_myisam.result:
  Update paths, ../std_dataln_ => MYSQLTEST_VARDIR/std_data
mysql-test/suite/parts/r/partition_alter1_myisam.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_alter2_myisam.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_alter3_innodb.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_alter3_myisam.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_alter4_myisam.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_basic_innodb.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_basic_myisam.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_engine_myisam.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_syntax_myisam.result:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/r/partition_t55.out:
  Update paths, master-data => mysqld.1/data
mysql-test/suite/parts/t/partition_sessions.test:
  Update paths, master-data => mysqld.1/data
2008-01-10 16:50:37 +01:00
unknown
3435acd71e Merge pilot.mysql.com:/data/msvensson/mysql/my51-mtr-bug33748
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-10 16:44:05 +01:00
unknown
27f7fc8dde Fix misspelled variable name 2008-01-10 16:38:59 +01:00
unknown
25689b4888 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr


mysql-test/lib/My/SafeProcess.pm:
  Auto merged
2008-01-10 12:15:51 +01:00
unknown
d94ec26792 Auto kill any children before exiting from process 2008-01-10 12:00:56 +01:00
unknown
2dd6e40f77 Add --repeat and --retry 2008-01-10 10:44:18 +01:00
unknown
a7ef8e2bdc Revert removal of ER_GET_ERRMSG 2008-01-10 10:25:45 +01:00
unknown
11391111b7 Bug#33748 my_getsystime, my_micro_time and my_micro_time_and_time broken on windows
- Fix 'my_win_init' code that handles initialization of
   "query_performance_counter" and conversion from registry values to
   environment strings


mysys/my_init.c:
  - Change check of return value from 'QueryPerformanceFrequency', it
    returns 0 on error
  - Don't return from 'my_win_init' if the registry 
    key "HKEY_LOCAL_MACHINE\SOFTWARE\MySQL" doesn't exist. This caused
    the initialization of "query_performance_counter" to be bypassed unless there
    was at lest such a key.
  - Cleanup the "registry -> environment variables" from Italian comments,
    remove redundant variables and fix style.
  - Remove function 'setEnvString' and replace it with oneliner 'strxmov'
2008-01-09 19:13:07 +01:00
unknown
af59a3aaaa Fix bug where local variable masked outer variable 2008-01-09 16:10:25 +01:00
unknown
fa012bb976 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-bug32275
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-09 15:10:10 +01:00
unknown
b6ea81a4c0 Add printouts when servers are restarted
Disable dynamic option switch
2008-01-09 13:47:09 +01:00
unknown
47926cd0ef Bug#33763 Mysqld leaves readonly mode for cluster tables too early - part2
- Open tables readonly while not properly initialized
 - Close cached tables when coming out of readonly mode
 - Apply basically same patch as for 32275


mysql-test/include/ndb_not_readonly.inc:
  Fix syntax of "die" call
  Remove the maskin of ER_GET_ERRMSG, should never happen
sql/ha_ndbcluster.cc:
  - Open tables readonly until binlog tables have been 
    initialized
sql/ha_ndbcluster_binlog.cc:
  - Reset "ndb_binlog_tables_inited" when something has happened to schema table,
  apply status table or when connection to cluster is lost. 
  - Close cached tabled after setting ndb_binlog_is_ready to cleanout any
  tables opened as readonly.
2008-01-09 12:59:20 +01:00
unknown
85ba3d96c8 Fix reorder 2008-01-09 11:15:59 +01:00
unknown
039123e187 Fix warnings 2008-01-09 10:20:15 +01:00
unknown
cd7ab06e08 reset master first in test to get consistent start 2008-01-08 21:45:15 +01:00
unknown
a216016255 Skipp adding combinations for test tat already are skipped 2008-01-08 21:26:55 +01:00
unknown
4b3b3bb21a Clear ds_tmp after running "diff --help" 2008-01-08 21:23:30 +01:00
unknown
6d45993694 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-08 21:13:59 +01:00
unknown
03c2ee0d64 Check for windows patch to convert also in --replace 2008-01-08 21:13:25 +01:00
unknown
f2c4c8dd26 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-bug32275
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr


mysql-test/mysql-test-run.pl:
  Auto merged
2008-01-08 15:49:28 +01:00
unknown
003c55d95e Fix spelling 2008-01-08 15:48:55 +01:00
unknown
300f7f65b4 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-08 15:47:47 +01:00
unknown
7741bde603 Remember dynamically set options as started
mysql-test/lib/My/Options.pm:
  Add conversion from --set-variable=name=value to SET GLOBAL name=value
2008-01-08 15:47:04 +01:00
unknown
5f7cf938ea Force restart before events_restart_phase2 2008-01-08 15:45:47 +01:00
unknown
5582cd7dbe Use "diif --help" to find out if diff is available at all. Otherwise the
return code from "could not find command" which is 1, conflicts with return
code from diff failed, which is also 1.
2008-01-08 15:24:17 +01:00
unknown
1292c6f6a3 Remove pidfile after killing serve 2008-01-08 11:11:06 +01:00
unknown
b13b5c5a4a Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-vanilla
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr


mysql-test/t/mysqlbinlog_base64.test:
  Auto merged
2008-01-08 11:02:42 +01:00
unknown
2b58c0073f Use a tempdir name for the directory that var symlink points at, otherwise it can conflict
with another MTR_BUILD_THREAD=auto run
2008-01-08 10:50:07 +01:00
unknown
022e881818 Use loose-skip-innodb so it works also with mysqld that has no innodb support 2008-01-08 10:35:34 +01:00
unknown
919fed54d0 Try to dynamically change option, restart if it fails
mysql-test/mysql-test-run.pl:
  Try to dynamically change option, restart if it fails.
mysql-test/lib/mtr_cases.pm:
  Try to dynamically change option, restart if it fails.
mysql-test/lib/mtr_misc.pl:
  Move functions to My::Optiosn
mysql-test/lib/mtr_report.pl:
  Add a small dot if test detected restart
mysql-test/lib/My/Options.pm:
  New BitKeeper file ``mysql-test/lib/My/Options.pm''
mysql-test/lib/t/Options.t:
  New BitKeeper file ``mysql-test/lib/t/Options.t''
2008-01-07 19:44:48 +01:00
unknown
bd172e5044 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-mtr


mysql-test/mysql-test-run.pl:
  Auto merged
2008-01-07 15:40:54 +01:00
unknown
46c0179a8b calculate build thread earlier
Always set MTR_BUILD_THREAD env variable
2008-01-07 15:39:32 +01:00
unknown
91775a12af Improve error message 2008-01-07 15:38:25 +01:00
unknown
ec9967a8a5 Ignore --skip-im 2007-12-21 13:06:56 +01:00
unknown
e4b2d04092 Use --skip-ssl by default 2007-12-20 18:42:23 +01:00
unknown
11bb5c9508 Don't use Getopt::Long in safe_process.pl 2007-12-20 18:39:33 +01:00
unknown
4933a62af6 Update path to the load_file
mysql-test/include/wait_show_pattern.inc:
  Guard against ' in $result
2007-12-20 18:38:23 +01:00
unknown
b981448e5d Update location of binlog 2007-12-19 17:26:43 +01:00
unknown
584888abf7 Update name of binlog file for ndb_binlog* tests
mysql-test/include/default_mysqld.cnf:
  Turn on log-bin by default for all mysqlds
mysql-test/suite/ndb/r/ndb_binlog_ddl_multi.result:
  Update name of binlog file
mysql-test/suite/ndb/r/ndb_binlog_discover.result:
  Update name of binlog file
mysql-test/suite/ndb/r/ndb_binlog_format.result:
  Update name of binlog file
mysql-test/suite/ndb/r/ndb_binlog_ignore_db.result:
  Update name of binlog file
mysql-test/suite/ndb/r/ndb_binlog_log_bin.result:
  Update name of binlog file
mysql-test/suite/ndb/r/ndb_binlog_multi.result:
  Update name of binlog file
mysql-test/suite/ndb/t/ndb_binlog_discover.test:
  Update name of binlog file
2007-12-19 17:16:22 +01:00
unknown
cc0bb31ecb Update path to master-bin file
mysql-test/t/mysqlbinlog_base64.test:
  Update path to master-bin file
  Remove non portable "exec rm"
2007-12-19 14:21:09 +01:00
unknown
6389cac814 Test does not need binlog 2007-12-19 14:16:33 +01:00
unknown
2571cc26f4 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr


mysql-test/mysql-test-run.pl:
  Auto merged
2007-12-19 13:06:03 +01:00
unknown
d991e1e7dd Properly detect cygwin 2007-12-19 13:04:54 +01:00
unknown
23f0c6d4fc Windows fixeds for mtr
CMakeLists.txt:
  Add CMakeLists.txt in mysql-test/lib/My/SafeProcess/
mysql-test/lib/My/Find.pm:
  Fix for windows
mysql-test/lib/My/SafeProcess.pm:
  Fix Tim's review comments
mysql-test/lib/mtr_misc.pl:
  Rename glob_win32 to is_win32
mysql-test/mysql-test-run.pl:
  Move set_mtr_build_thread_ports earlier
  Set MTR_BUILD_THREAD if to the used value
mysql-test/lib/My/SafeProcess/CMakeLists.txt:
  New BitKeeper file ``mysql-test/lib/My/SafeProcess/CMakeLists.txt''
2007-12-19 12:58:06 +01:00
unknown
98a4a01312 Use dynamic switch directly from "server_need_restart" for better control of when to do it.
Remove #!force-restart and #!fresh-datadir


mysql-test/suite/rpl/rpl_1slave_base.cnf:
  Remove #!force-restart and #!fresh-datadir
2007-12-19 11:08:41 +01:00