An error occurred fetching the project authors.
  1. 19 Jun, 2007 1 commit
  2. 01 Jun, 2007 1 commit
    • unknown's avatar
      Bug#28497 wait_for_slave_to_stop can cause random replication mysql-test failures · 5b0e66a7
      unknown authored
       - Add funtion "query_get_value to allow reading a fields value
         into a $variable
      
      
      client/mysqltest.c:
        - Add function "let $var= query_get_value(<query>,<colname>,<row>)"
          making it possible to read a value from a specific field in a query 
          into a $variable.
      mysql-test/r/mysqltest.result:
        Add test cases for "query_get_value"
      mysql-test/t/mysqltest.test:
        Add test cases for "query_get_value"
      5b0e66a7
  3. 18 May, 2007 1 commit
    • unknown's avatar
      WL#2247 mysqltest: add option for sorting results · 421d8ca9
      unknown authored
       - Final touchups
      
      
      client/mysqltest.c:
        Final touch ups, rename sorted_results to sorted_result
      mysql-test/r/mysqltest.result:
        Update test result
      mysql-test/t/mysqltest.test:
        Update results with additional subtests for empty result set,
        NULL values and 1024 rows
      421d8ca9
  4. 16 May, 2007 1 commit
    • unknown's avatar
      WL#2247 mysqltest: add option for sorting results · 61413522
      unknown authored
       - Change from "query_sorted <query>" to "sorted_results"
      
      
      client/mysqltest.c:
        Replace "query_sorted <query>" with the ability to turn
        on "one shot result sorting" with the command "sorted_results"
      mysql-test/r/mysqltest.result:
        Update test and result
      mysql-test/t/mysqltest.test:
        Update test and result
      61413522
  5. 10 Apr, 2007 1 commit
  6. 05 Apr, 2007 1 commit
    • unknown's avatar
      Add "query_sorted" command to mysqltest · e3e600bc
      unknown authored
      Usage:
        query_sorted <query>;
      
      
      client/mysqltest.c:
        Add query_sorted command to mysqltest
      mysql-test/r/mysqltest.result:
        Update result
      mysql-test/t/mysqltest.test:
        Add tests for query_sorted
      e3e600bc
  7. 04 Apr, 2007 1 commit
  8. 19 Feb, 2007 2 commits
  9. 30 Nov, 2006 1 commit
  10. 19 Oct, 2006 1 commit
  11. 05 Oct, 2006 1 commit
    • 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
  12. 04 Oct, 2006 1 commit
    • unknown's avatar
      Backport from 5.1 · dccc6b10
      unknown authored
       -Add support for detecting version and features from mysqld binary
       - Autodetect netware
       - Disable some features not available below 5.0
       - Cleanup executable_setup to look for one executable at a time, only llok for the ones that are needed based on the selected testcases and settings
      
      
      mysql-test/lib/mtr_cases.pl:
        Backport from 5.1
      mysql-test/lib/mtr_io.pl:
        Backport from 5.1
        Add new function mtr_appendfile_to_file
      mysql-test/lib/mtr_misc.pl:
        Backport from 5.1
      mysql-test/lib/mtr_process.pl:
        Backport from 5.1
      mysql-test/lib/mtr_report.pl:
        Backport from 5.1
      mysql-test/mysql-test-run.pl:
        Add support for detecting version and features from mysqld binary
        Autodetect netware
        Disable some features not available below 5.0
        Cleanup executable_setup to look for one executable at a time, only llok for the ones that are needed based on the selected testcases and settings
      mysql-test/r/mysqltest.result:
        Update result
      mysql-test/lib/mtr_im.pl:
        New BitKeeper file ``mysql-test/lib/mtr_im.pl''
      mysql-test/lib/mtr_stress.pl:
        New BitKeeper file ``mysql-test/lib/mtr_stress.pl''
      dccc6b10
  13. 03 Oct, 2006 1 commit
    • 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
  14. 04 May, 2006 1 commit
  15. 28 Feb, 2006 1 commit
    • unknown's avatar
      mysql-test-run.sh: · 8d5f0fcd
      unknown authored
        Fix URLs.
      README:
        Fix URL.
      mysqltest.result:
        Update test result for real_sleep error message.
      mysqltest.c:
        Fix do_sleep() to print correct command name for real_sleep.
      
      
      client/mysqltest.c:
        Fix do_sleep() to print correct command name for real_sleep.
      mysql-test/r/mysqltest.result:
        Update test result for real_sleep error message.
      mysql-test/README:
        Fix URL.
      mysql-test/mysql-test-run.sh:
        Fix URLs.
      8d5f0fcd
  16. 20 Sep, 2005 1 commit
    • unknown's avatar
      BUG#12959 mysqltest crashes if testcase passed with -x option · 0aee9b2c
      unknown authored
       - Enable testcases after help from Serg 
      
      
      client/mysqltest.c:
        Dump output to stdout if no result file is specified
        Don't print verbose_msg when command fails whith expected error
      mysql-test/mysql-test-run.pl:
        Don't add all args to the MYSQL_TEST environment variable.
      mysql-test/r/mysqltest.result:
        Add test for mysqltest -x
      mysql-test/t/mysqltest.test:
        Add test for mysqltest -x
      0aee9b2c
  17. 07 Sep, 2005 1 commit
  18. 05 Sep, 2005 1 commit
    • unknown's avatar
      BUG#12984 mysqltest.test: different output from "exec NonExistsinfComamdn" · 8b1751e5
      unknown authored
      mysql-test/r/mysqltest.result:
        Disable test for failing --exec and --system since output can't be piped to /dev/null on all platforms
      mysql-test/t/mysqltest.test:
        Disable test for failing --exec and --system since output can't be piped to /dev/null on all platforms
        Avoid "echo -e" by using a temporary .sql file for tests that require more than one line.
      8b1751e5
  19. 02 Sep, 2005 1 commit
  20. 01 Sep, 2005 2 commits
    • unknown's avatar
      Bug #3131 mysqltest fails on $2=$1 assignment in test · 772843ba
      unknown authored
      client/mysqltest.c:
        Fix function var_copy to make it possible to assign one variable to another. 
        ex: let $1=$2
      mysql-test/r/mysqltest.result:
        Update test result
      mysql-test/t/mysqltest.test:
        Add test cases for variable to variable assignment
      772843ba
    • unknown's avatar
      Bug #12471 mysqltest, --error within loop affects wrong statement · 50cc21ea
      unknown authored
       - Move clearing of expected errors
      
      
      client/mysqltest.c:
        Move clear of expected errors to the query loop so that the expected error is reset even when the query is retrieved from the q_lines cache.
      mysql-test/r/mysqltest.result:
        Update test results
      mysql-test/t/mysqltest.test:
        Add test for bug#12471
      50cc21ea
  21. 31 Aug, 2005 2 commits
    • unknown's avatar
      Remove syntax !$<err_no> to set an expected error code · 43422ece
      unknown authored
      Use !<err_no> instead
      
      
      client/mysqltest.c:
        Remove syntax !$<err_no> to set an expected error code
      mysql-test/r/mysqltest.result:
        Update test result
      mysql-test/t/mysqltest.test:
        Uncomment tests for the deprecated syntax
      43422ece
    • unknown's avatar
      BUG#11316: mysqltest, problems when assigning value with '#' to $variable · 76c1bcf9
      unknown authored
       - Add stricter checking of syntax in mysqltest
      
      
      client/mysqltest.c:
        Stricter checking of syntax in mysqltest.
      mysql-test/r/mysqltest.result:
        Update test results
      mysql-test/t/create.test:
        Remove extra ;
      mysql-test/t/create_select_tmp.test:
        Remove extra ;
      mysql-test/t/drop.test:
        Remove extra ;
      mysql-test/t/flush.test:
        Remove extra ;
      mysql-test/t/handler.test:
        Remove extra ;
      mysql-test/t/innodb.test:
        Remove extra ;
      mysql-test/t/mysqltest.test:
        Add more tests for replace, replace_columns, comments with commands and sync_with_master
      mysql-test/t/rpl000001.test:
        Remove extra ;
      mysql-test/t/rpl_EE_error.test:
        Remove extra ;
      mysql-test/t/rpl_drop.test:
        Remove extra ;
      mysql-test/t/rpl_error_ignored_table.test:
        Remove extra ;
      mysql-test/t/rpl_loaddata.test:
        Remove extra ;
      76c1bcf9
  22. 16 Aug, 2005 1 commit
  23. 15 Jul, 2005 1 commit
    • unknown's avatar
      BUG#11316 mysqltest, problems when assigning value with '#' to $variable · d57a0e52
      unknown authored
       - Fixed problem, only detect comment if the # is on start of line AND starting line of the current command.
       - Wrote tests for most of the mysqltest commands, added stricter checking of correct syntax.
      
      
      client/mysqltest.c:
        Updated mysql test to do stricter checking of syntax. For example when the number 
        of arguments to a command is known, everything else is "junk" => die. 
        Better checking of argument types.
        Added better debug printouts.
        Added improved printouts when wrong syntax is detected.
        Fix two bugs where mysqltest could not detect end of comamnd properly, as described in bug#11316
        Fix segfault when performing too many source commands.
        Fix segfault when doing too many while loop levels.
        Add printout of line number in die
        Remove lineno and \n in all strings passed to die function.
        Decrese BLOCK_STACK_DEPTH from 32 to 16, does any test use more than 1 level?
      mysql-test/mysql-test-run.pl:
        export MYSQL_TEST environment variable, used from msyqltest.test
      mysql-test/mysql-test-run.sh:
        export MYSQL_TEST environment variable, used from msyqltest.test
      mysql-test/r/mysqltest.result:
        Updated test results
      mysql-test/r/rpl_flush_log_loop.result:
        Updated test result.
        Approved by lars
      mysql-test/t/innodb-deadlock.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/innodb-lock.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/mysqltest.test:
        Add several new tests  for mysqltest.
        Foxus on detecting wrong syntax in test files.
        Use exec with expected error to execute test scripts that will kill mysqltest
        Change some negative test that were previously commented out to use the above method.
      mysql-test/t/ndb_autodiscover2.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_change_master.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_deadlock.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_drop_temp.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_flush_log_loop.test:
        Fix after detecting wrong syntax, missing ;
        Discussed with lars.
      mysql-test/t/rpl_insert_id.test:
        Missing ;
      mysql-test/t/rpl_rotate_logs.test:
        Correct wrong syntax
        Superfluos ;
      mysql-test/t/rpl_until.test:
        Missing delimiter
      mysql-test/include/mysqltest_while.inc:
        New file to test too many while levels
      d57a0e52
  24. 02 Nov, 2004 1 commit
    • unknown's avatar
      Remove usage of !$ from mysql-tests · 505caa28
      unknown authored
      Added protocol::flush() for easier embedded-server code
      Increase block allocation variables a bit as they where a bit too small for MySQL 4.1
      Added option --silent to client_test
      
      
      client/mysqltest.c:
        Removed compiler warning
        Fixed identation & comments from earlier push
        Renamed variable 'disable_abort_on_error' to 'abort_on_error'
        Ensure that '$mysql_errno' also with --ps-protocol
      include/mysql_com.h:
        Removed special handling of net_flush for embedded server
      mysql-test/r/mysqltest.result:
        Remove usage of !$ in tests
      mysql-test/t/client_test.test:
        Use --silent
      mysql-test/t/comments.test:
        Remove usage of !$ in tests
      mysql-test/t/join_outer.test:
        Remove usage of !$ in tests
      mysql-test/t/key.test:
        Remove usage of !$ in tests
      mysql-test/t/mysqltest.test:
        Remove usage of !$ in tests
      mysql-test/t/show_check.test:
        Remove usage of !$ in tests
      mysql-test/t/temp_table.test:
        Remove usage of !$ in tests
      mysql-test/t/type_ranges.test:
        Remove usage of !$ in tests
      sql/mysqld.cc:
        Increase block allocation variables a bit as they where a bit too small for MySQL 4.1
      sql/net_serv.cc:
        Remove special usage of net_flush in embedded server
      sql/protocol.cc:
        Added protocol::flush() for easier embedded-server code
      sql/protocol.h:
        Added protocol::flush() for easier embedded-server code
      sql/sql_prepare.cc:
        Added protocol::flush() for easier embedded-server code
        Remove one extra flush() for prepared statements
      sql/sql_show.cc:
        Added protocol::flush() for easier embedded-server code
      tests/client_test.c:
        Added option --silent
      505caa28
  25. 29 Oct, 2004 1 commit
    • unknown's avatar
      These modifications are the result of · c24a6280
      unknown authored
      WL#2067 add features to mysqltest: "disable_error_abort" + "$mysql_errno"
      
      $mysql_errno is a new builtin variable of mysqltest and contains the
      return code of the last command send to the server.
      
      "--disable_abort_on_error" switches the abort of mysqltest
      after "unmasked" failing statements off.
      "--enable_abort_on_error" switches the abort of mysqltest
      after "unmasked" failing statements on. (default)
      
      "Maskings" are
          !$<error number>  and  --error <error number>
      in the line before the statement to be checked.
      
      The benefit of the option "--disable_abort_on_error" is that
      - all statements after the failing statement are executed
      - a r/<test>.reject will be produced
      - it is possible to write test cases, which perform
        code sequences depending on the return code of a single
        statement
      
      
      client/mysqltest.c:
        Implementation of the features
        - "--disable_abort_on_error"/"--enable_abort_on_error" switch
        - "$mysql_errno" variable
      mysql-test/r/mysqltest.result:
        test cases for the features added
      mysql-test/t/mysqltest.test:
        updated results
      c24a6280
  26. 22 Oct, 2004 1 commit
    • unknown's avatar
      mysqltest.c, mysqltest.result, mysqltest.test: · d2bfd676
      unknown authored
        Added SQLSTATE matching support to test engine
      mysqltest.result, mysqltest.test:
        new file
      
      
      mysql-test/t/mysqltest.test:
        Added SQLSTATE matching support to test engine
      mysql-test/r/mysqltest.result:
        Added SQLSTATE matching support to test engine
      client/mysqltest.c:
        Added SQLSTATE matching support to test engine
      d2bfd676