1. 05 Oct, 2006 10 commits
    • unknown's avatar
      No need to pass --valgrind to mysqltest anymore, the simple task of · 16b9d8d1
      unknown authored
      creating an environment variable is handled directly from the perl code.  
      
      
      16b9d8d1
    • unknown's avatar
      Make use of $opt_mem" and let 4.1 allow --vardir to be set. Still relies on the var/ directory · 2430d73c
      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.
      2430d73c
    • unknown's avatar
      Use same --slave-load-tmpdir in all versions(backport from 5.0) · 9ba3b3f2
      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"
      9ba3b3f2
    • unknown's avatar
      Bug #20010 mysql-test-run.pl: --record and --require conflict (test fails) · 6d89bcbc
      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.
      6d89bcbc
    • unknown's avatar
      Add new option --mem to mysql-test-run.pl. It will automatically setup a symlink · 068641aa
      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
      068641aa
    • unknown's avatar
      2317c0cf
    • unknown's avatar
      Add regex to detect the empty line that end the variable list. · 9674059f
      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.
      
      
      9674059f
    • unknown's avatar
      Print warning message if test was failed becuase of cluster install failure · ddf0fa97
      unknown authored
      Improve check of wheter test case need slave cluster
      
      
      ddf0fa97
    • unknown's avatar
      Set the environment variable NDB_STATUS_OK to indicate that cluster is... · c3e8fb57
      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
      c3e8fb57
    • unknown's avatar
      Improve "check_eol_junk" to detect junk although there are multi line comments in the way. · 4c893129
      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
      4c893129
  2. 04 Oct, 2006 15 commits
  3. 03 Oct, 2006 5 commits
    • unknown's avatar
      Add possibility to send warnings about suspicious commands in .test file to... · 528b7ef9
      unknown authored
      Add possibility to send warnings about suspicious commands in .test file to <result_file_name>.warnings file
      Move detection of "parsing enabled" to after command has been read.
      Cleanup parsing enabled/disabled
      
      
      
      
      528b7ef9
    • unknown's avatar
      14c2d195
    • unknown's avatar
      Fix typo · 807b9f94
      unknown authored
      - Change con_host to ds_connection_name.str
      
      
      client/mysqltest.c:
        Change con_host to ds_connection_name.str
      807b9f94
    • unknown's avatar
      Add two new result files · 503c0e1c
      unknown authored
      
      mysql-test/r/init_file.result:
        Add new file init_file.result
      mysql-test/r/mysql_client_test.result:
        Add new file mysql_client_test.result
      503c0e1c
    • unknown's avatar
      Update mysqltest to latest version · 9368c7bc
      unknown authored
       - ie. backport from 5.1
       - also update testcase error dected by new version
      
      
      mysql-test/include/show_msg.inc:
        BitKeeper file /home/msvensson/mysql/same_tools/my41-same_tools/mysql-test/include/show_msg.inc
      mysql-test/include/show_msg80.inc:
        BitKeeper file /home/msvensson/mysql/same_tools/my41-same_tools/mysql-test/include/show_msg80.inc
      BitKeeper/deleted/.del-rpl_chain_temp_table.test:
        Delete: mysql-test/t/rpl_chain_temp_table.test
      BitKeeper/deleted/.del-rpl_chain_temp_table.result:
        Delete: mysql-test/r/rpl_chain_temp_table.result
      BitKeeper/deleted/.del-rpl_failsafe.result:
        Delete: mysql-test/r/rpl_failsafe.result
      BitKeeper/deleted/.del-rpl_failsafe.test:
        Delete: mysql-test/t/rpl_failsafe.test
      BitKeeper/deleted/.del-rpl_heap.test:
        Delete: mysql-test/t/rpl_heap.test
      BitKeeper/deleted/.del-rpl_heap.result:
        Delete: mysql-test/r/rpl_heap.result
      BitKeeper/deleted/.del-rpl000018.result:
        Delete: mysql-test/r/rpl000018.result
      BitKeeper/deleted/.del-rpl000018.test:
        Delete: mysql-test/t/rpl000018.test
      client/Makefile.am:
        Link mysqltest with mysys/my_copy.c
      client/mysqltest.c:
        Update mysqltest to latest version
      mysql-test/include/have_multi_ndb.inc:
        Remove old syntax "@filename" in favor of "--require filename"
      mysql-test/include/master-slave.inc:
        Remove old syntax "@filename" in favor of "--require filename"
      mysql-test/include/ps_query.inc:
        Remove the comment about no output now when it does.
      mysql-test/r/check.result:
        Update output from --send
      mysql-test/r/connect.result:
        Update result file for connect test after backport form 5.1
      mysql-test/r/flush.result:
        Update output from --send
      mysql-test/r/flush_block_commit.result:
        Update output from --send
      mysql-test/r/func_misc.result:
        Update output from --send
      mysql-test/r/grant2.result:
        Update output from --send
      mysql-test/r/handler.result:
        Update output from --send
      mysql-test/r/kill.result:
        Update output from --send
      mysql-test/r/lock_multi.result:
        Update output from --send
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Update output from --send
      mysql-test/r/mysqltest.result:
        Update mysqltest.result after backport
      mysql-test/r/ps_2myisam.result:
        Update result as the output from query is now printed
      mysql-test/r/ps_3innodb.result:
        Update result as the output from query is now printed
      mysql-test/r/ps_4heap.result:
        Update result as the output from query is now printed
      mysql-test/r/ps_5merge.result:
        Update result as the output from query is now printed
      mysql-test/r/ps_6bdb.result:
        Update result as the output from query is now printed
      mysql-test/r/ps_7ndb.result:
        Update result as the output from query is now printed
      mysql-test/r/rename.result:
        Update output from --send
      mysql-test/r/rpl000001.result:
        Update output from --send
      mysql-test/r/rpl_error_ignored_table.result:
        Update output from --send
      mysql-test/r/rpl_master_pos_wait.result:
        Update output from --send
      mysql-test/r/subselect.result:
        Update result file after adding missing ;
      mysql-test/r/synchronization.result:
        Update output from --send
      mysql-test/r/type_blob.result:
        Update result file after adding missing ;
      mysql-test/t/connect.test:
        Backport test from 5.1
      mysql-test/t/init_file.test:
        Update test so something is printed
      mysql-test/t/mysql_client_test.test:
        Update test so result is sent to file and something is printed
      mysql-test/t/mysqltest.test:
        Backport latest mysqltest.test file
      mysql-test/t/ps.test:
        Move the --replace_column statement to just before the statetement it should replace
      mysql-test/t/ps_1general.test:
        Move the --replace_column statement to just before the statetement it should replace
      mysql-test/t/ps_grant.test:
        Remove the $DB, no other test uses it
      mysql-test/t/rpl_flush_tables.test:
        Fetch $SERVER_VERSION from the db server
      mysql-test/t/rpl_trunc_temp.test:
        Remove the selection of connection master after it's been disconnected already
      mysql-test/t/subselect.test:
        Add missing ;
      mysql-test/t/type_blob.test:
        Add missing ;
      9368c7bc
  4. 01 Sep, 2006 3 commits
  5. 31 Aug, 2006 3 commits
  6. 30 Aug, 2006 4 commits
    • unknown's avatar
      Merge maint2.mysql.com:/data/localhome/tsmith/bk/g41 · 0f342b6a
      unknown authored
      into  maint2.mysql.com:/data/localhome/tsmith/bk/41
      
      
      0f342b6a
    • unknown's avatar
      Merge maint2.mysql.com:/data/localhome/tsmith/bk/bfx/41 · f468d000
      unknown authored
      into  maint2.mysql.com:/data/localhome/tsmith/bk/41
      
      
      BUILD/SETUP.sh:
        Auto merged
      f468d000
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my40-bug04053 · 8fb0f8a2
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my41-bug04053
      
      
      mysys/my_read.c:
        Auto merged
      8fb0f8a2
    • unknown's avatar
      Bug#4053: too many of "error 1236: 'binlog truncated in the middle of \ · 626abc52
      unknown authored
      	event' from master"
      
      Since there is no repeatable test case, and this is obviously wrong, this is
      the most conservative change that might possibly work.  
      
      The syscall  read()  wasn't checked for a negative return value for an
      interrupted read.  The kernel  sys_read()  returns -EINTR, and the "library" 
      layer maps that to return value of -1 and sets  errno  to EINTR.  It's 
      impossible (on Linux) for  read()  to set errno EINTR without the return 
      value being -1 .
      
      So, if we're checking for EINTR behavior, we should not require that the
      return value be zero.
      
      
      mysys/my_read.c:
        The read() syscall should check for negative one, since that (usually) signals
        errors (like being interrupted) and zero (usually) signals end-of-file .
      626abc52