An error occurred fetching the project authors.
  1. 26 Jun, 2007 1 commit
    • unknown's avatar
      Bug#25657 mysql-test-run.pl kill itself under ActiveState perl · 6f90aa2c
      unknown authored
       - Various fixes for running mysql-test-run.pl on ActiveState perl
         for windows. Reading it's source in win32/win32.c helps...
      
      
      mysql-test/lib/mtr_process.pl:
        Use "real_pid" when killing the process on ActiveState perl for windows
        Wait blocking for the pseudo pid to exit.
        Change "sleep_until_file_created" to return 1 when pidfile has been
        created - this should avoid early wakeup if $pid was 0
      mysql-test/lib/mtr_timer.pl:
        Wake timer process with signal 15 to avoid to avoid resource leak
        on ActiveState perl for windows.
        Install signal handler in timer process to  exit gracefully
      mysql-test/mysql-test-run.pl:
        Read "real_pid" of process from pid_file - to be used when killing the
        process on ActiveState perl
        Drop the --console option to mysqld
        Pass "real_pid" to mtr_check_stop_server so it can select to use it
        Correct two argument declarations
      6f90aa2c
  2. 20 Jun, 2007 1 commit
    • unknown's avatar
      Bug#28742 mysql-test-run is very slow on "Stopping All Servers" step · 8c1c0ed1
      unknown authored
       - Improve shutdown algorithm 
       - Wait up to 5 seconds for processes to exit after their port is free
      
      
      mysql-test/lib/mtr_process.pl:
        Improve shutdown algorithm, shutdown the server hard
        if it hasn't responded to "mysqladmin shutdown" and it's port is free.
        Print error to servers error log indicating "hard shutdown"
        Give processes up to 5 seconds to exit after their port is free
      mysql-test/lib/mtr_report.pl:
        Indicate in what file the warning was found
      mysql-test/mysql-test-run.pl:
        Pass path of process error log to 'mtr_check_stop_servers'
      8c1c0ed1
  3. 13 Jun, 2007 1 commit
  4. 08 Jun, 2007 1 commit
  5. 31 May, 2007 1 commit
    • unknown's avatar
      bug#27741: udf test fails on AIX < 5.3 · 2550ede7
      unknown authored
      problem #1: udf_example.so does not get built on AIX
      
      solution#1: build it yourself using
      cd sql; gcc  -g -I ../include/ -I /usr/include/ -lpthread  \
      -shared -o udf_example.so udf_example.c; mv udf_example.so \
      .libs/ 
      
      problem#2 (the bug): udf_example fails because it does not
      recognize the variable LD_LIBRARY_PATH when doing dl_open(),
      it looks at LIBPATH
      
      solution#2: add the library path to LIBPATH
      
      problem#3: udf_example returns the wrong result length since 
      it relies on strmov to return a pointer to the end of the 
      string that it copies. On AIX builds, where m_string.h is not
      included (m_string defines a macro expanding strmov to stpcpy),
      there is a macro expanding strmov to strcpy, which returns a 
      pointer to the first character.
      
      solution#3: define strmov as stpcpy.
      
      problem#4: #2 applies on hp-ux as well, but this platform
      looks at SHLIB_PATH
      
      solution#4: added the library path to SHLIB_PATH
      
      
      mysql-test/mysql-test-run.pl:
        bug#27741: Added library paths to LIBPATH ( shared library 
        path environment variable used on AIX) and
        SHLIB_PATH (ditto on hp-ux)
      sql/udf_example.c:
        bug#27741: define strmov as stpcpy rather than strcpy and 
        include string.h. The definition for strmov in the standalone 
        case was not maintained properly
      2550ede7
  6. 28 May, 2007 1 commit
  7. 23 May, 2007 2 commits
    • unknown's avatar
      Bug#27636 mysqlbinlog-cp932 and ctype_cp932 tests fails if LC_* variables set to *_*.UTF-8 · 5d26976c
      unknown authored
      As MySQL character set tests can print results in many character sets
      (latin1, utf8-8, sjis, cp932 and others) - its output can be incompatible
      with the current locale settings, which makes PERL confuse.
      
      Fix: reset LC_ALL and LC_CTYPE to "C", which is compatible with
      any character set.
      
      
      mysql-test/mysql-test-run.pl:
        Ignore current locale settings, because "mysqltest" output
        can be not compatible with the locale.
      5d26976c
    • unknown's avatar
      Bug#27396 Wrong check for root priveledge · 192afc6f
      unknown authored
       - Check that filemode was set to 0000
      
      
      mysql-test/mysql-test-run.pl:
        Checking for "running as root" should also read the filemode to see it 
        was properly set to 0000
      192afc6f
  8. 16 May, 2007 1 commit
  9. 15 May, 2007 2 commits
    • unknown's avatar
      Bug#27344 Total failure to start the server · 6078b026
      unknown authored
       - Give some more protection against "too long socket name by setting the max
         length when to use a tmpdir for sockets to 70
      
      
      mysql-test/mysql-test-run.pl:
        Give some more protection against "too long socket name by setting the max
        ength when to use a tmpdir for sockets to 70
      6078b026
    • unknown's avatar
      BUG#28370 federated test cases fail with binlog disabled · 69b81971
      unknown authored
      mysql-test/include/federated.inc:
        BUG#28370 all federated tests require --log-bin for now
      mysql-test/mysql-test-run.pl:
        BUG#28370 detect --skip-log-bin option in mtr's --mysqld option
      mysql-test/r/have_log_bin.require:
        the variable is really called log_bin
      69b81971
  10. 10 May, 2007 1 commit
    • unknown's avatar
      Bug#27344 Total failure to start the server · 920d6dd2
      unknown authored
      - Give some more protection against "too long socket name by setting the max
      length when to use a tmpdir for sockets to 70 
      
      
      mysql-test/mysql-test-run.pl:
        Give some more protection against "too long socket name by setting the max
        length when to use a tmpdir for sockets to 70
      920d6dd2
  11. 13 Apr, 2007 2 commits
    • unknown's avatar
      Add option manual-ddd · ba09b5f8
      unknown authored
      Change syntax for starting manual ddd or gdb to avoid having to
      change working dir 
      
      ba09b5f8
    • unknown's avatar
      Add missing option --manual-ddd · 02441231
      unknown authored
      Change syntax to start manual gdb/ddd to avoid having to
      cd to the mysql-test directory before calling the command
      
      02441231
  12. 04 Apr, 2007 3 commits
    • unknown's avatar
      Bug#27344 Total failure to start the server · 2d01de1f
      unknown authored
         - length($sockdir) >= 80 !!
      
      
      mysql-test/mysql-test-run.pl:
        Change check to create a tmp file for socket if length($sockdir) >= 80 !!
      2d01de1f
    • unknown's avatar
      Bug#27344 Total failure to start the server · 9756d9f6
      unknown authored
       - length($sockdir) >= 80 !!
      
      
      mysql-test/mysql-test-run.pl:
        Create a shorter sockdir path as soon as length of sockdir path is equal to 80
      9756d9f6
    • unknown's avatar
      Skip test cases if the script or binary they need can't be found · 2bc3f1fd
      unknown authored
      mysql-test/mysql-test-run.pl:
        Move some opt_extern hacks to same place.
        Remove duplicate opt_skip_im=1 if opt_extern
      mysql-test/t/fix_priv_tables.test:
        Skip test if $MYSQL_FIX_PRIVILEGE_TABLES is not set
      mysql-test/t/system_mysql_db_fix30020.test:
        Skip test if $MYSQL_FIX_SYSTEM_TABLES is not set
      mysql-test/t/system_mysql_db_fix40123.test:
        Skip test if $MYSQL_FIX_PRIVILEGE_TABLES is not set
      2bc3f1fd
  13. 02 Apr, 2007 2 commits
    • unknown's avatar
      Fix spelling error · 79ccea76
      unknown authored
      79ccea76
    • unknown's avatar
      Bug#27049 Race condition in test mysqlbinlog.test · f4b40dae
      unknown authored
      Remove the setting of --local-load parameter for mysqlbinlog and leave that to the testcases
      to decide what params to use.
      
      
      mysql-test/mysql-test-run.pl:
        Remove the setting of --local-load parameter for mysqlbinlog and leave that to the testcases
        to decide what params to use.
      f4b40dae
  14. 30 Mar, 2007 2 commits
  15. 29 Mar, 2007 1 commit
  16. 28 Mar, 2007 2 commits
  17. 23 Mar, 2007 1 commit
  18. 21 Mar, 2007 1 commit
  19. 16 Mar, 2007 2 commits
    • unknown's avatar
      Bug#20166 mysql-test-run.pl does not test system privilege tables creation · 9d58a3c0
      unknown authored
       - Build sql files for netware from the mysql_system_tables*.sq files
       - Fix comments about mysql_create_system_tables.sh
       - Use mysql_install_db.sh to create system tables for mysql_test-run-shell
       - Fix mysql-test-run.pl to also look in share/mysql for the msyql_system*.sql files
      
      Changeset coded today by Magnus Svensson, just the application to 5.0.38 is by Joerg Bruehe.
      
      
      BitKeeper/deleted/.del-init_db.sql~e2b8d0c8390e8023:
        Delete: netware/init_db.sql
      BitKeeper/deleted/.del-test_db.sql:
        Delete: netware/test_db.sql
      BitKeeper/etc/ignore:
        Added netware/init_db.sql netware/test_db.sql to the ignore list
      mysql-test/install_test_db.sh:
        Use mysql_install_db from install_test_db(which is used by mysql-test-run-shell)
        to install the system tables
      mysql-test/mysql-test-run.pl:
        Look for the mysql_system_tables*.sql also in share/mysql
      netware/Makefile.am:
        Build netware/init_db.sql and netware/test_db.sql from
        the sources in scripts/msyql_system_tables*.sql
      scripts/make_binary_distribution.sh:
        netware/init_db.sql and netware/test_db.sql are now built by the Makefiles
        from the scripts/mysql_system_tables*.sql files
      sql/mysql_priv.h:
        Update comment remindging to update the MySQL system table definitions
        when adding a new SQL_MODE
      sql/sql_acl.h:
        Update comment reminding to update the MySQL System tables
        when changing the ACL defines
      9d58a3c0
    • unknown's avatar
      Bug#20166 mysql-test-run.pl does not test system privilege tables creation · 1a405e8a
      unknown authored
       - Build sql files for netware from the mysql_system_tables*.sq files
       - Fix comments about mysql_create_system_tables.sh
       - Use mysql_install_db.sh to create system tables for mysql_test-run-shell
       - Fix mysql-test-run.pl to also look in share/mysql for the msyql_system*.sql files
      
      
      BitKeeper/deleted/.del-init_db.sql~e2b8d0c8390e8023:
        Rename: netware/init_db.sql -> BitKeeper/deleted/.del-init_db.sql~e2b8d0c8390e8023
      BitKeeper/deleted/.del-test_db.sql:
        Rename: netware/test_db.sql -> BitKeeper/deleted/.del-test_db.sql
      BitKeeper/etc/ignore:
        Added netware/init_db.sql netware/test_db.sql to the ignore list
      mysql-test/install_test_db.sh:
        Use mysql_install_db from install_test_db(which is used bu mysql-test-run-shell)
        to install the system tables
      mysql-test/mysql-test-run.pl:
        Look for the mysql_system_tables*.sql also in share/mysql
      netware/Makefile.am:
        Build netware/init_db.sql and netware/test_db.sql from
        the sources in scripts/msyql_system_tables*.sql
      scripts/make_binary_distribution.sh:
        netware/init_db.sql and netware/test_db.sql are now built by the Makefiles
        from the scripts/mysql_system_tables*.sql files
      sql/mysql_priv.h:
        Update comment remindging to update the MySQL system table definitions
        when adding a new SQL_MODE
      sql/sql_acl.h:
        Update comment reminding to update the MySQL System tables
        when changing the ACL defines
      1a405e8a
  20. 15 Mar, 2007 1 commit
  21. 05 Mar, 2007 1 commit
    • unknown's avatar
      Bug #26792 Add DBX debugger support to mysql-test-run.pl · 96509328
      unknown authored
       - Add --debugger=dbx
       - Fix --debugger=devenv, --debugger=DevEnv and --debugger=/path/devenv
      
      
      mysql-test/mysql-test-run.pl:
        Add support for --debugger=dbx to mysql-test-run.pl
        Fix case senitive match for vc, vcexpress or deven
        Make it possible to use full path to debugger for
        --debugger=/path/vcexpress
      96509328
  22. 01 Mar, 2007 1 commit
  23. 28 Feb, 2007 2 commits
    • unknown's avatar
      Bug#20166 mysql-test-run.pl does not test system privilege tables creation · a1d33c00
      unknown authored
       - Split out initial data in mysql_system_tables.sql to  it's own file
       - Use file from mysql_install_db and mysql-test-run
      
      
      scripts/mysql_system_tables_fix.sql:
        Rename: scripts/mysql_fix_privilege_tables.sql.in -> scripts/mysql_system_tables_fix.sql
      mysql-test/mysql-test-run.pl:
        - Add mysql_system_tables_data.sql as part of the bootstrap
        - Remove the addition of pid to end of bootstrap.sql, now
          to file used for bootstrap will be $opt_vardir/tmp/bootstrap.sql
        - Improve error message descibing how to find cause of a
          failed bootstrap
      scripts/Makefile.am:
        - Rename mysql_fix_privileg_tables.sql.in to mysql_system_tables_fix.sql
        - Build mysql_fix_privilege_tables from mysql_system_tables.sql and
          mysql_system_tables_fix.sql
        - Add mysql_system_tables_fix.sql to EXTRA_DIST
      scripts/mysql_install_db.sh:
        - Use mysql_system_tables_data.sql file when bootstrapping
          mysql, it will contain initial data for MysQL system tables
      scripts/mysql_system_tables.sql:
        Move initial data for system tables to it's own file
      scripts/mysql_system_tables_data.sql:
        Move initial data for system tables to it's own file
      a1d33c00
    • unknown's avatar
      When using a --mem=<dir> the memdir must be removed to assure · df098e75
      unknown authored
      afresh start
      
      df098e75
  24. 26 Feb, 2007 2 commits
    • unknown's avatar
    • unknown's avatar
      Bug#20166 mysql-test-run.pl does not test system privilege tables creation · 73559bca
      unknown authored
       - Use mysql_system_tables.sql to create MySQL system tables in
         all places where we create them(mysql_install_db, mysql-test-run-pl
         and mysql_fix_privilege_tables.sql)
      
      
      BitKeeper/deleted/.del-init_db.sql:
        Rename: mysql-test/init_db.sql -> BitKeeper/deleted/.del-init_db.sql
      BitKeeper/deleted/.del-init_db.sql~a77d572c39d5a1f8:
        Rename: mysql-test/lib/init_db.sql -> BitKeeper/deleted/.del-init_db.sql~a77d572c39d5a1f8
      BitKeeper/deleted/.del-mysql_create_system_tables.sh:
        Rename: scripts/mysql_create_system_tables.sh -> BitKeeper/deleted/.del-mysql_create_system_tables.sh
      BitKeeper/etc/ignore:
        Added scripts/mysql_fix_privilege_tables.sql to the ignore list
      mysql-test/Makefile.am:
        lib/init_db.sql has been removed
      mysql-test/mysql-test-run.pl:
        - Build var/tmp/bootstrap.sql from mysql_system_tables.sql,
        mysql_test_data_timezone.sql and fill_help_tables.sql and use
        it when bootsraping the system tables to use during test.
      mysql-test/r/create.result:
        Update result file
      mysql-test/r/derived.result:
        Update result file
      mysql-test/r/join.result:
        Update result file
      mysql-test/r/mysql_upgrade.result:
        Update result file
      mysql-test/r/sp-security.result:
        Update result file
      mysql-test/t/create.test:
        Add user mysqltest_1 before trying to connect as that user - no
        anon users by default anymore
      mysql-test/t/derived.test:
        Add user mysqltest_1 before trying to connect as that user - no
        anon users by default anymore
      mysql-test/t/grant2.test:
        Add anonymous users for part of thes that need it.
      mysql-test/t/grant_cache.test:
        Add anonymous users for part of thes that need it.
      mysql-test/t/init_connect.test:
        Add anonymous users for part of thes that need it.
      mysql-test/t/lock_multi.test:
        Add anonymous users for part of thes that need it.
      mysql-test/t/ndb_basic.test:
        Connect as "root", blank user will take currently logged in
        username
      mysql-test/t/ndb_index_ordered.test:
        Connect as "root", blank user will take currently logged in
        username
      mysql-test/t/ndb_multi.test:
        Connect as "root", blank user will take currently logged in
        username
      mysql-test/t/overflow.test:
        Connect as root - no anonymous users by default anymore
      mysql-test/t/rpl_temporary.test:
        Add anonymous users for the test
      mysql-test/t/xa.test:
        Connect as "root", blank user wil pick currently logged in user
      scripts/Makefile.am:
        Remove mysql_create_system_tables.sh
        Add mysql_system_tables.sql and mysql_test_data_timezone.sql
        Build mysql_fix_privilege_tables.sql from mysql_system_tables.sql
        and mysql_fix_privilege_tables.sql.in
      scripts/mysql_fix_privilege_tables.sh:
        Update message describing what the script does
      scripts/mysql_fix_privilege_tables.sql.in:
        Remove the part that creates system tables as that will be added to
        mysql_fix_privileg_tables.sql from mysql_system_tables.sql
        Change all comments to use #
      scripts/mysql_install_db.sh:
        Use mysql_system_tables.sql to create the MySQL system tables
        Update comments and indentation
        Add more descriptive comments about --windows switch
        Reduce number of hardcoded names for the SQL files the script
        looks for
      mysql-test/include/add_anonymous_users.inc:
        New BitKeeper file ``mysql-test/include/add_anonymous_users.inc''
      mysql-test/include/delete_anonymous_users.inc:
        New BitKeeper file ``mysql-test/include/delete_anonymous_users.inc''
      scripts/mysql_system_tables.sql:
        New BitKeeper file ``scripts/mysql_system_tables.sql''
      scripts/mysql_test_data_timezone.sql:
        New BitKeeper file ``scripts/mysql_test_data_timezone.sql''
      73559bca
  25. 24 Feb, 2007 1 commit
  26. 23 Feb, 2007 2 commits
    • unknown's avatar
      Fix mysql-test-run.pl: IM in 5.0 uses old incorrect · 900be187
      unknown authored
      'shutdown_delay' option name.
      
      
      mysql-test/mysql-test-run.pl:
        IM in 5.0 uses old incorrect 'shutdown_delay' option name.
      900be187
    • unknown's avatar
      BUG#24415: im_daemon_life_cycle.imtest fails · 42369f36
      unknown authored
      Fix timeouts. Only test suite is changed.
      
      
      mysql-test/mysql-test-run.pl:
        Decrease MySQL server shutdown delay.
        Trasactional storage engines are not used here,
        so it should be enough.
      mysql-test/t/im_daemon_life_cycle.imtest:
        Increase wait-timeout.
      42369f36
  27. 21 Feb, 2007 1 commit
    • unknown's avatar
      Fixed unsafe define of uint4korr() · b9a609ac
      unknown authored
      Fixed that --extern works with mysql-test-run.pl
      Small trivial cleanups
      
      
      include/my_global.h:
        Fixed unsafe define of uint4korr()
      mysql-test/lib/mtr_report.pl:
        Removed wrong messages when using --extern
      mysql-test/mysql-test-run.pl:
        Fixed that --extern works
        Print help on stdout instead of stderr (make it easier to pipe it to less)
      mysql-test/t/ndb_lock.test:
        Added other possible error code
      sql/sql_prepare.cc:
        Removed not needed casts
      b9a609ac
  28. 20 Feb, 2007 1 commit
    • unknown's avatar
      Bug#20166 mysql-test-run.pl does not test system privilege tables creation · 88729ddb
      unknown authored
       - Add test of bootstrap mode
       - Make mysqld return error if bootstrap failed  
      
      
      mysql-test/mysql-test-run.pl:
        Remove options --skip-grant-tables as that is always
        turned on by --bootstrap
        Remove options --console as that does not affect --bootstrap mode
        at all
        Add environment variable MYSQLD_BOOTSTRAP_CMD containing path 
        to mysqld and the arguments used for bootstrap
      sql/sql_parse.cc:
        Abort bootstrap if execution fails
        Report error to stderr/log
      mysql-test/r/bootstrap.result:
        New BitKeeper file ``mysql-test/r/bootstrap.result''
      mysql-test/t/bootstrap.test:
        New BitKeeper file ``mysql-test/t/bootstrap.test''
      88729ddb