An error occurred fetching the project authors.
  1. 14 Jul, 2011 1 commit
  2. 03 Jun, 2011 3 commits
  3. 25 May, 2011 2 commits
  4. 24 May, 2011 3 commits
  5. 23 May, 2011 1 commit
  6. 10 Jun, 2011 1 commit
    • Jon Olav Hauglid's avatar
      Bug#12584161 - 43861: MAIN.QUERY_CACHE_28249 FAILS SPORADICALLY · d5d844c7
      Jon Olav Hauglid authored
      This test case was failing on 5.5 and trunk for two reasons.
      1) It waited for the "Waiting for table level lock" process
         state while this state was renamed "Waiting for table
         metadata lock" with the introduction of MDL in 5.5.
      2) SET GLOBAL query_cache_size= 100000; gave a warning since
         query_cache_size is supposed to be multiples of 1024.
      
      This patch fixes these two issues and re-enables the test case.
      d5d844c7
  7. 16 Jun, 2011 1 commit
    • Mayank Prasad's avatar
      BUG#12561297:LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING. · b1e60b98
      Mayank Prasad authored
      Issue:
      ------
      New test case mysql_embedded.test was failing on pb2.
      
      Description:
      ------------
      To run this test case executable libmysqld/examples/mysql_embedded is required.
      But as per /libmysqld/examples/cmake_install.cmake this executable doesn't get
      copied to <install_dir> when mysql is installed at <install_dir>.That is the
      reason it was passing in my local branch and failed on pb2 when pushed.
      
      Solution;
      ---------
      Added code in mysql-test-run.pl, which will try to see if this file exists.If
      It doesn't exist, test case will be skipped with a skip message. New code in
      mysql-test-run.pl looks only for directory libmysqld/examples/mysql_embedded
      because this is the only place where this file could/does exist.
      
      mysql-test/mysql-test-run.pl:
        Added new variable for mysql_embedded executable.
      mysql-test/t/disabled.def:
        enabled mysql_embedded.test which was disabled earlier.
      mysql-test/t/mysql_embedded.test:
        Modified test case to first verify if mysql_embedded executable exists. If
        it does not, skip the test.
      b1e60b98
  8. 15 Jun, 2011 1 commit
  9. 10 Mar, 2011 1 commit
  10. 09 Feb, 2011 1 commit
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · dc976fa7
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3452.13.4 [merge]
      > revision-id: mmakela@bk-internal.mysql.com-20101011192851-u3bdt7erjkrgn90t
      > parent: marko.makela@oracle.com-20101011081800-sby6kmb8n1mnryfq
      > parent: jimmy.yang@oracle.com-20101011123613-guz1qgdktywmel1g
      > committer: Marko Makela <mmakela@bk-internal.mysql.com>
      > branch nick: mysql-5.1-security
      > timestamp: Mon 2010-10-11 21:28:51 +0200
      > message:
      >   Merge Bug #57345, Bug #56982, Bug#53307 test from mysql-5.1-innodb
      > ------------------------------------------------------------
      > Use --include-merges or -n0 to see merged revisions.
      dc976fa7
  11. 29 Jan, 2011 1 commit
    • John H. Embretsen's avatar
      Fix for Bug#56817 - mysqlhotcopy tests fail when DBI and DBD-mysql perl modules are not found · 446dd52c
      John H. Embretsen authored
      Third updated patch - this version also includes copyright notice in added Perl script.
      This patch implements a check for such modules at runtime. If modules are not found or unable to load, the test is skipped with 
      the following message:
                  
                  [ skipped ]  Test needs Perl modules DBI and DBD::mysql
                  
      Checks are done via a helper Perl script which looks for the module in a runtime environment that is as similar to that of the 
      mysqlhotcopy script as possible (thus not intended for Windows environments at this time).
      The helper script tells mysql-test about the result by writing information to a temporary file that is later read by mysql-test.
      See comments in added files (have_dbi_dbd-mysql.inc and checkDBI_DBD-mysql.pl) for details.
      The patch also removes the mysqlhotcopy tests from the list of disabled tests.
      446dd52c
  12. 20 Dec, 2010 1 commit
  13. 16 Nov, 2010 1 commit
  14. 15 Nov, 2010 1 commit
    • Mattias Jonsson's avatar
      Bug#58197: main.variables-big fails on windows · 931373bb
      Mattias Jonsson authored
      The test result differs on windows, since
      it writes out 'localhost:<port>' instead of
      only 'localhost', since it uses tcp/ip instead
      of unix sockets on windows.
      
      Fixed by replacing that column.
      
      Also requires --big-test from some long running tests
      and added a weekly run of all test requiring --big-test.
      
      mysql-test/collections/default.weekly:
        Added a run of big-test (already exists in 5.5).
      mysql-test/r/variables-big.result:
        Updated results
      mysql-test/suite/parts/t/part_supported_sql_func_innodb.test:
        requiring --big-test since the test takes long time
      mysql-test/suite/parts/t/partition_alter1_1_2_innodb.test:
        requiring --big-test since the test takes long time
      mysql-test/suite/parts/t/partition_alter1_2_innodb.test:
        requiring --big-test since the test takes long time
      mysql-test/suite/parts/t/partition_alter4_innodb.test:
        requiring --big-test since the test takes long time
      mysql-test/t/disabled.def:
        Disabled two tests since they fail and was already
        reported as bugs (but was never run since they requires
        --big-test flag).
      mysql-test/t/variables-big.test:
        Replacing column 3 in process list since it
        is not the same on windows as in unix.
      931373bb
  15. 27 Oct, 2010 1 commit
  16. 22 Oct, 2010 1 commit
    • Davi Arnaut's avatar
      Bug#37780: Make KILL reliable (main.kill fails randomly) · fa5b4652
      Davi Arnaut authored
      - A prerequisite cleanup patch for making KILL reliable.
      
      The test case main.kill did not work reliably.
      
      The following problems have been identified:
      
      1. A kill signal could go lost if it came in, short before a
      thread went reading on the client connection.
      
      2. A kill signal could go lost if it came in, short before a
      thread went waiting on a condition variable.
      
      These problems have been solved as follows. Please see also
      added code comments for more details.
      
      1. There is no safe way to detect, when a thread enters the
      blocking state of a read(2) or recv(2) system call, where it
      can be interrupted by a signal. Hence it is not possible to
      wait for the right moment to send a kill signal. It has been
      decided, not to fix it in the code.  Instead, the test case
      repeats the KILL statement until the connection terminates.
      
      2. Before waiting on a condition variable, we register it
      together with a synchronizating mutex in THD::mysys_var. After
      this, we need to test THD::killed again. At some places we did
      only test it in a loop condition before the registration. When
      THD::killed had been set between this test and the registration,
      we entered waiting without noticing the killed flag. Additional
      checks ahve been introduced where required.
      
      In addition to the above, a re-write of the main.kill test
      case has been done. All sleeps have been replaced by Debug
      Sync Facility synchronization. A couple of sync points have
      been added to the server code.
      
      To avoid further problems, if the test case fails in spite of
      the fixes, the test case has been added to the "experimental"
      list for now.
      
      - Most of the work on this patch is authored by Ingo Struewing
      
      
      mysql-test/t/kill.test:
        Re-wrote test case to use Debug Sync points instead of sleeps
      sql/event_queue.cc:
        Fixed kill detection in Event_queue::cond_wait() by adding a check
        after enter_cond().
      sql/lock.cc:
        Moved Debug Sync points behind enter_cond().
        Fixed comments.
      sql/slave.cc:
        Fixed kill detection in start_slave_thread() by adding a check
        after enter_cond().
      sql/sql_class.cc:
        Swapped order of kill and close in THD::awake().
        Added comments.
      sql/sql_class.h:
        Added a comment to THD::killed.
      sql/sql_parse.cc:
        Added a sync point in do_command().
      sql/sql_select.cc:
        Added a sync point in JOIN::optimize().
      fa5b4652
  17. 05 Oct, 2010 2 commits
    • Vasil Dimov's avatar
    • Mattias Jonsson's avatar
      Bug#55091: Server crashes on ADD PARTITION after a failed attempt · 2d07cb7d
      Mattias Jonsson authored
      In case of failure in ALTER ... PARTITION under LOCK TABLE
      the server could crash, due to it had modified the locked
      table object, which was not reverted in case of failure,
      resulting in a bad table definition used after the failed
      command.
      
      Solved by always closing the LOCKED TABLE, even in case
      of error.
      
      Note: this is a 5.1-only fix, bug#56172 fixed it in 5.5+
      
      mysql-test/r/partition_innodb_plugin.result:
        updated result
      mysql-test/t/disabled.def:
        Only disabled valgrind instead.
      mysql-test/t/partition_innodb_plugin.test:
        Added test
      sql/sql_partition.cc:
        close_thread_tables do not close LOCKED TABLEs
        and destroys the table object (including part_info),
        so to avoid it to be reused, always close the table
        regardless of any previous failure.
      2d07cb7d
  18. 06 Sep, 2010 1 commit
    • Mats Kindahl's avatar
      Bug #55966: "plugin" tests fail in 5.5 · 32206489
      Mats Kindahl authored
      On Solaris with version 3.4.6, the ha_example.so shared library is built
      with DTrace and the server is built without DTrace support. This occurs
      because dtrace.cmake disables DTrace support for 3.4.6, but still set
      HAVE_DTRACE, which causes probes_mysql.h to include probes_mysql_dtrace.h
      instead of probes_mysql_nodtrace.h.
      
      This patch fixes this by not setting HAVE_DTRACE on Solaris for GCC 3.4.6.
      32206489
  19. 31 Aug, 2010 1 commit
  20. 30 Aug, 2010 1 commit
  21. 26 Aug, 2010 1 commit
  22. 19 Aug, 2010 1 commit
    • Alexey Botchkov's avatar
      Bug#54129 Missing the execute bit for scripts · 15fcea9b
      Alexey Botchkov authored
          files for cmake had some minor bugs causing this.
            
      per-file comments:
        mysql-test/CMakeLists.txt
      Bug#54129      Missing the execute bit for scripts
          use same permissions as in the source folder
      
        mysql-test/t/disabled.def
      Bug#54129      Missing the execute bit for scripts
            mysqlhotcopy tests enabled
      
        scripts/CMakeLists.txt
      Bug#54129      Missing the execute bit for scripts
          chmod +x for the script files
      15fcea9b
  23. 13 Aug, 2010 1 commit
  24. 09 Aug, 2010 1 commit
    • Konstantin Osipov's avatar
      A fix for Bug#41158 "DROP TABLE holds LOCK_open during unlink()". · a488883d
      Konstantin Osipov authored
      Remove acquisition of LOCK_open around file system operations,
      since such operations are now protected by metadata locks.
      Rework table discovery algorithm to not require LOCK_open.
      
      No new tests added since all MDL locking operations are covered
      in lock.test and mdl_sync.test, and as long as these tests
      pass despite the increased concurrency, consistency must be
      unaffected.
      
      mysql-test/t/disabled.def:
        Disable NDB tests due to Bug#55799.
      sql/datadict.cc:
        No longer necessary to protect ha_create_table() with
        LOCK_open. Serial execution is now ensured by metadata
        locks.
      sql/ha_ndbcluster.cc:
        Do not manipulate with LOCK_open in cluster code.
      sql/ha_ndbcluster_binlog.cc:
        Do not manipulate with LOCK_open in cluster code.
      sql/ha_ndbcluster_binlog.h:
        Update function signature.
      sql/handler.cc:
        Implement ha_check_if_table_exists().
        @todo: some engines provide ha_table_exists_in_engine()
        handlerton call, for those we perhaps shouldn't
        call ha_discover(), to be more efficient.
        Since currently it's only NDB, postpone till
        integration with NDB.
      sql/handler.h:
        Declare ha_check_if_table_exists() function.
      sql/mdl.cc:
        Remove an obsolete comment.
      sql/sql_base.cc:
        Update to a new signature of close_cached_tables():
        from now on we always call it without LOCK_open.
        Update comments.
        Remove get_table_share_with_create(), we should
        not attempt to create a table under LOCK_open.
        Introduce get_table_share_with_discover() instead,
        which would request a back off action if the table
        exists in engine.
        Remove acquisition of LOCK_open for 
        data dictionary operations, such as check_if_table_exists().
        Do not use get_table_share_with_create/discover for views,
        where it's not needed.
        Make tdc_remove_table() optionally acquire LOCK_open
        to simplify usage of this function.
        Use the right mutex in the partitioning code when
        manipulating with thd->open_tables.
      sql/sql_base.h:
        Update signatures of changes functions.
      sql/sql_insert.cc:
        Do not wrap quick_rm_table() with LOCK_open acquisition, 
        this is unnecessary.
      sql/sql_parse.cc:
        Update to the new calling convention of tdc_remove_table().
        Update to the new signature of close_cached_tables().
        Update comments.
      sql/sql_rename.cc:
        Update to the new calling convention of tdc_remove_table().
        Remove acquisition of LOCK_open around filesystem
        operations.
      sql/sql_show.cc:
        Remove get_trigger_table_impl().
        Do not acquire LOCK_open for a dirty read of the trigger
        file.
      sql/sql_table.cc:
        Do not acquire LOCK_open for filesystem operations.
      sql/sql_trigger.cc:
        Do not require LOCK_open for trigger file I/O.
      sql/sql_truncate.cc:
        Update to the new signature of tdc_remove_table().
      sql/sql_view.cc:
        Do not require LOCK_open for view I/O.
        Use tdc_remove_table() to expel view share.
        Update comments.
      sql/sys_vars.cc:
        Update to the new signature of close_cached_tables().
      a488883d
  25. 30 Jun, 2010 1 commit
  26. 04 Jun, 2010 2 commits
  27. 05 May, 2010 1 commit
  28. 30 Apr, 2010 1 commit
  29. 19 Apr, 2010 2 commits
  30. 12 Apr, 2010 1 commit
  31. 01 Mar, 2010 2 commits