1. 11 Dec, 2009 4 commits
  2. 10 Dec, 2009 1 commit
  3. 04 Dec, 2009 4 commits
    • He Zhenxing's avatar
      Postfix after merge patch for Bug#49020 · dae2b444
      He Zhenxing authored
      plugin/semisync/CMakeLists.txt:
        Add mysqlservices to link libraries
      plugin/semisync/Makefile.am:
        Add mysqlservices to link libraries
      dae2b444
    • He Zhenxing's avatar
      Auto merge fixes for Bug#49020 · e35e7816
      He Zhenxing authored
      e35e7816
    • He Zhenxing's avatar
      Post fix for previous patch of Bug#49020 · 30d2870a
      He Zhenxing authored
      Added back n_frees, use 'clear' instead of 'free' since memory is
      not freed here.
      
      
      plugin/semisync/semisync_master.cc:
        Added back n_frees, use 'clear' instead of 'free' in the message since memory is not freed here.
      30d2870a
    • He Zhenxing's avatar
      Bug#49020 Semi-sync master crashed with free_pool == NULL, assertion `free_pool_' · c926610d
      He Zhenxing authored
      Before this patch, semisync assumed transactions running in parallel
      can not be larger than max_connections, but this is not true when
      the event scheduler is executing events, and cause semisync run out
      of preallocated transaction nodes.
      
      Fix the problem by allocating transaction nodes dynamically.
      
      This patch also fixed a possible deadlock when running UNINSTALL
      PLUGIN rpl_semi_sync_master and updating in parallel. Fixed by
      releasing the internal Delegate lock before unlock the plugins.
      
      mysql-test/suite/rpl/t/rpl_semi_sync_event.test:
        Add test case for bug#49020
      plugin/semisync/semisync_master.cc:
        Allocating TranxNode dynamically
      plugin/semisync/semisync_master.h:
        Allocating TranxNode dynamically
      sql/rpl_handler.cc:
        Unlock plugins after we have released the Delegate lock to avoid possible deadlock when uninstalling semisync master plugin and doing update in parallel.
      c926610d
  4. 02 Dec, 2009 1 commit
  5. 25 Nov, 2009 1 commit
  6. 12 Nov, 2009 4 commits
  7. 11 Nov, 2009 2 commits
  8. 10 Nov, 2009 5 commits
    • Alexey Botchkov's avatar
      Bug #47139 Test "merge" crashes in "embedded" run · c868e89f
      Alexey Botchkov authored
        In fact this crashes in normal (not embedded) run also.
        The problem is in the memory mapping. Handling the ha_myisammrg::extra(MMAP)
        the MERGE engine tries to mmap all the tables it unites.
        Though some can be empty and then in the mi_dynmap_file()
        we call the my_mmap(0). Normally this call returns MAP_FAILED,
        but not on FreeBSD. There it returns like a 'normal' value,
        and after the consequitive munmap systems gets unstable and
        crashes on some system call later.
      
      per-file comments:
        storage/myisam/mi_dynrec.c
      Bug #47139      Test "merge" crashes in "embedded" run
          don't try to mmap zero-length area, just return at once.
      c868e89f
    • Alexey Botchkov's avatar
      Bug#42520 killing load .. infile Assertion failed: ! is_set(), file .\sql_error.cc, line 8 · 6388a132
      Alexey Botchkov authored
         The additional patch. That 'loadxml.test' failure was actually about our testing system,
         not the code.
         Firstly we need a new mysqltest command, wich i called 'send_eval'. So the expression
         can be evaluated, then started in a parallel thread. We only have separane 'send' and
         'eval' commands at the moment.
         Then we need to add the waiting code after the 'KILL' to our test, so the thread will be killed
         before the test goes further. The present 'reap' command doesn't handle the killed threads
         well.
            
      per-file comments:
        client/mysqltest.cc
      Bug#42520      killing load .. infile Assertion failed: ! is_set(), file .\sql_error.cc, line 8
          The 'send_eval' command implemented.
      
        mysql-test/r/loadxml.result
      Bug#42520      killing load .. infile Assertion failed: ! is_set(), file .\sql_error.cc, line 8
         test result updated.
      
        mysql-test/t/loadxml.test
      Bug#42520      killing load .. infile Assertion failed: ! is_set(), file .\sql_error.cc, line 8
         test case added.
      6388a132
    • Alexander Nozdrin's avatar
      Fix build failure. · ad6883c4
      Alexander Nozdrin authored
      ad6883c4
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr-alik. · ecd60471
      Alexander Nozdrin authored
      ecd60471
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · b712dce3
      Alexander Nozdrin authored
      b712dce3
  9. 09 Nov, 2009 4 commits
  10. 06 Nov, 2009 14 commits