An error occurred fetching the project authors.
  1. 27 Apr, 2006 3 commits
    • unknown's avatar
      Return empty string if file does not exist · 1a4da139
      unknown authored
      Set LD_LIBRARY_PATH and UDF_EXAMPLE_LIB from $lib_udf_example
      
      
      mysql-test/lib/mtr_misc.pl:
        Return empty string if file does not exist
      mysql-test/mysql-test-run.pl:
        Set LD_LIBRARY_PATH and UDF_EXAMPLE_LIB from $lib_udf_example variable
      1a4da139
    • unknown's avatar
      Bug #19393: Federated tests fail on Windows under pushbuild · 0bd709e0
      unknown authored
        Supplying --skip-rpl to mysql-test-run.pl would always disable the
        slaves, but those slaves may still be needed for the federated tests.
        Now we only disable the slaves when they are not used by any of the
        tests.
      
      
      mysql-test/mysql-test-run.pl:
        Decide whether to set up and start slave databases based entirely on
        which tests are used, and don't allow --skip-rpl to ruin the party,
        since other tests than replication rely on the slaves (namely federated).
      0bd709e0
    • unknown's avatar
      Add test to mysql-test-run.pl to see if the udf_example.so is availble. Set... · 78ddddd8
      unknown authored
      Add test to mysql-test-run.pl to see if the udf_example.so is availble. Set envioronment variable UDF_EXAMPLE_LIB if it is.
      Then check in have_udf if that variable is set. Finally use tahe variable when loading the shared library. 
      
      
      mysql-test/include/have_udf.inc:
        Add check if udf_example.so(or similar) is available
      mysql-test/lib/mtr_misc.pl:
        Add funcion "mtr_file_exist" to search for files
      mysql-test/mysql-test-run.pl:
        Add checks to find the udf_example.so library
      mysql-test/r/udf.result:
        Update result
      mysql-test/t/disabled.def:
        Remove udf.test from disabled tests
      mysql-test/t/udf.test:
        Use variable UDF_EXAMPLE_LIB when looking for shared library to load
      mysql-test/r/have_udf_example.require:
        New BitKeeper file ``mysql-test/r/have_udf_example.require''
      78ddddd8
  2. 24 Apr, 2006 8 commits
    • unknown's avatar
      Fix typo in mysql-test-run.pl (not caught by aotupush since it uses mysql-test-run.sh). · ce31bdfb
      unknown authored
      mysql-test/mysql-test-run.pl:
        Fix typo.
      ce31bdfb
    • unknown's avatar
      Update help message for start-and-exit · f917db45
      unknown authored
      f917db45
    • unknown's avatar
      Make have_ndb.in portable · 506f039b
      unknown authored
      mysql-test/include/have_ndb.inc:
        Remove the "exec test" and instead use the portable way to
        check an environment variable using "eval select". The value of 
        $NDB_STATUS_OK will this be replace by mysqltest and the query 
        "select "YES" and ndb_status_ok" will be sent to the server and back.
      mysql-test/mysql-test-run.pl:
        Move initializetion of NDB_STATUS_OK and only do it once in init part of scripot. This will make it possible to  set 
        it to NO if we detect that cluster can't be started.
      506f039b
    • unknown's avatar
      Bug#19084 ./mysql-test-run.pl do not print bootstrap run info · b6d260d7
      unknown authored
       - Log boostratp/install to var/log/boostrap.log
       - Log output from mysqladmin to var/log/mysqladmin.log
       - Remove old manager references
      
      
      mysql-test/lib/mtr_process.pl:
        Log output from mysqladmin to var/log/mysqladmin.log
      mysql-test/mysql-test-run.pl:
        Log output from boostrap/install of db's to var/log/bootstrap.log
        Remove references to old manager
      b6d260d7
    • unknown's avatar
      Cleanup formatting · 99d17992
      unknown authored
      BitKeeper/etc/ignore:
        Added extra/yassl/taocrypt/benchmark/benchmark extra/yassl/taocrypt/test/test extra/yassl/testsuite/testsuite to the ignore list
      99d17992
    • unknown's avatar
      Remove the old unused code for setting a PATH · f29767de
      unknown authored
      f29767de
    • unknown's avatar
      3bd6bd21
    • unknown's avatar
      Bug#17002 mysql-test-run as root user · ef3dc192
      unknown authored
       - Add test to see if tests are running with root permissions
       - Disables tests that uses chmod if that is the case
      
      
      mysql-test/mysql-test-run.pl:
        Add test to check if mysql-test-run is run with root permission. 
        Set environment variable MYSQL_TEST_ROOT to 'YES' or 'NO'.
      mysql-test/t/information_schema.test:
        Disable test if running as root
      mysql-test/t/rpl_rotate_logs.test:
        Disable test if running as root.
      mysql-test/include/not_as_root.inc:
        New BitKeeper file ``mysql-test/include/not_as_root.inc''
      mysql-test/r/not_as_root.require:
        New BitKeeper file ``mysql-test/r/not_as_root.require''
      ef3dc192
  3. 21 Apr, 2006 4 commits
    • unknown's avatar
      Bug #19083 ./mysql-test-run.pl starts NDB when it is not needed · cca27701
      unknown authored
        Now NDB is only initialized and started when the tests that are
        being run will make use of it. The same thing is also done for the
        slave databases and the instance manager.
      
        After review from Magnus: Only take a snapshot of the data directories
        that are in use.
      
      
      mysql-test/mysql-test-run.pl:
        Only initialize (and start) NDB, the instance manager, and the slaves
        when we have tests that require them. Also, only snapshot the data
        directories that we are going to use.
      mysql-test/ndb/ndbcluster.sh:
        Fix text message that has always annoyed me
      cca27701
    • unknown's avatar
      7041c694
    • unknown's avatar
      Don't run mysqld when started in ddd · 34febc7a
      unknown authored
      Maybe we should do the same for gdb?
      
      34febc7a
    • unknown's avatar
      Bug #18617: mysql-test-run.pl, partially wrong handling of option "start-dirty" · e4fa840f
      unknown authored
        This was a case of too much code. The --start-dirty option should act
        just like --start-and-exit, except it skips the database initialization
        step. Now it does, which means it picks up the options from the specified
        test case.
      
      
      mysql-test/mysql-test-run.pl:
        Fix handle of --start-dirty to be like --start-and-exit, without the
        database initialization, as it was (sort of) documented.
      e4fa840f
  4. 12 Apr, 2006 1 commit
  5. 08 Apr, 2006 1 commit
  6. 07 Apr, 2006 1 commit
  7. 04 Apr, 2006 1 commit
  8. 29 Mar, 2006 1 commit
    • unknown's avatar
      mysql-test-run.pl: · 8854093f
      unknown authored
        Check that port range is valid, bug#16807
      
      
      mysql-test/mysql-test-run.pl:
        Check that port range is valid, bug#16807
      8854093f
  9. 23 Mar, 2006 6 commits
  10. 22 Mar, 2006 1 commit
  11. 13 Mar, 2006 2 commits
  12. 10 Mar, 2006 1 commit
    • unknown's avatar
      Bug#17261 Passing a variable from a stored procedure to UDF crashes mysqld · 46b56fd0
      unknown authored
       - Update of test toolsand Makefiles to make it possible to test always test udf's as part 
      of the mysql test suite
      
      
      mysql-test/mysql-test-run.pl:
        Add the path where mysqld will udf_example.so used by the udf test
      mysql-test/r/udf.result:
        Update test results
      mysql-test/t/udf.test:
        Update tests
        The "--error 0" directives should actually be changed to the correct error number returned but that error  number is lost. W e do however get the right error message and that is checked in 
        the .result file.
      sql/Makefile.am:
        Build shared library udf_example.so
      sql/share/errmsg.txt:
        Update the max length of %s string from 64 to 128
      sql/sql_udf.cc:
        Add DBUG_PRINT just before dl_open
      sql/udf_example.cc:
        Use isalpha instade of my_isalpha
      46b56fd0
  13. 08 Mar, 2006 3 commits
    • unknown's avatar
      mysql-test-run.pl, mtr_cases.pl · 11cf49ac
      unknown authored
        - Back porting of some changes in later releases
        - Corrected valgrind support
        - Removed work around for TZ needed in VisualStudio 6
        - Don't restart master to add special settings from "<testcase>-master.opt",
          if same settngs as running master, feature request in bug#12433
        - With --reorder, keep tests with same *-master.opt content together,
          to save even more master restarts
      
      
      mysql-test/lib/mtr_misc.pl:
        Added functions to compare lists of options
      mysql-test/lib/mtr_cases.pl:
        Removed special code for Windows as in VC6 we unset
        TZ to avoid library bug
      mysql-test/mysql-test-run.pl:
        Handle pseudo option --timezone=<spec> that sets TZ
      11cf49ac
    • unknown's avatar
      BUG#17574 Detect cluster start failure and "fail" ndb_* tests · 49f6a18d
      unknown authored
       - Fix problems that occur when ndbcluster is not supported
      
      
      mysql-test/lib/mtr_cases.pl:
        Marked test to be skipped if it is a ndb test but ndb is not supported
      mysql-test/mysql-test-run.pl:
        Check "opt_with_ndbcluster" before deciding to stop masters and when dciding if cluster needs to be started.
      49f6a18d
    • unknown's avatar
      mysql-test-run.pl: · c7eca9b2
      unknown authored
        Allow space in base directory path, bug#15736
      
      
      mysql-test/mysql-test-run.pl:
        Allow space in base directory path, bug#15736
      c7eca9b2
  14. 07 Mar, 2006 1 commit
    • unknown's avatar
      Bug#17574 Detect cluster start failure and "fail" ndb_* tests · 1b5b489d
      unknown authored
      mysql-test/lib/mtr_cases.pl:
        Always set "ndb_test" if tets name contains ndb. 
        Set to skipped if "--skip-ndbcluster"
      mysql-test/lib/mtr_report.pl:
        Print special error message for ndb_test that are failed due to failure to start or install ndbcluster
      mysql-test/mysql-test-run.pl:
        Remove mtr_error call from ndbcluster_install, instead check after ndbcluster_install if test run should continue or if it should be aborted
        Faile ndb test and print special error message if it's a ndb test and flag_ndb_status_ok is not ok
      1b5b489d
  15. 03 Mar, 2006 1 commit
    • unknown's avatar
      Windows fixes · 34de5eaf
      unknown authored
       - Use pipes "|"
       - Improved system command, create a temporary .sh faile that is executed  with cygwins sh(bash)
         This makes the Windows version behave exactly as the Lunix version(well almost...) 
       - Give unix path to DBUG, trace files is no produced if running ./mysql-test-run.pl --debug"
      
      
      client/mysqltest.c:
        Add new function "my_system" that run the <command> a she script using cygwin bash on windows.
      mysql-test/lib/mtr_misc.pl:
        Return all paths to executables in windows format "c:\src\.." when run on windows.
        This makes it possible to use the pipes "|" to pipöe the output form exeample "mysqlbinlog" into "mysql"
      mysql-test/mysql-test-run.pl:
        DBUG want's a unix format strings for where it should put the tracefile(don't ask me why but it works)
        Just chop of the first "c:" from the "c:/src/.." string and DBUG will be happy
      34de5eaf
  16. 01 Mar, 2006 1 commit
  17. 26 Feb, 2006 2 commits
  18. 17 Feb, 2006 2 commits
    • unknown's avatar
      Set opt_vardir_trace for path for tracefiles · e9d38da0
      unknown authored
      e9d38da0
    • unknown's avatar
      Replace win filename s with unix equivalent · 9f02e675
      unknown authored
      Evaluate commands passed to "exec" and "system" to expand any $variables before executing command.
      
      
      client/mysqltest.c:
        do_exec, do_system 
         - call do_eval on the command to be executed in order to expand any $variables
         - Remove old subst_env_var and my_popen, not needed anymore
        Rewrite 'replace_strings' into 'replace_strings_append'
         - copy whole strings instead of byte by byte copy
         - insert result directly inito dynamic_string, no need to check if out 
           string needs to be realloced for every byte.
         - Add comments and DBUG_PRINT's
        New function 'fix_win_paths', detect filenames in win format that should be converted 
        do_eval
        - Only set "escaped" if next char is \ or $
      mysql-test/mysql-test-run.pl:
        Always pass path for DBUG .trace file in unix format
        Add search path client_debug to find debug compiled windows binaries
        Remove unused MYSQL_TEST_WINDIR and MASTER_WINMYSOCK
      mysql-test/r/mysqldump.result:
        Update test result
      mysql-test/t/client_xml.test:
        Use " instead of '
      mysql-test/t/mysql_client_test.test:
        Remove the useless "exec echo" command
      mysql-test/t/mysqltest.test:
        Escape $variables passed to --exec, that should not be evaluated in exec.
      mysql-test/t/rpl000015.test:
        Remove unneccessary replace
      mysql-test/t/system_mysql_db_fix.test:
        Call the "shell script" $MYSQL_FIX_SYSTEM_TABLE using --system
      9f02e675