1. 14 Apr, 2008 3 commits
  2. 08 Apr, 2008 4 commits
  3. 07 Apr, 2008 6 commits
    • unknown's avatar
      Fix a compilation warning (unused variable). · 051fc7d7
      unknown authored
      051fc7d7
    • unknown's avatar
      A fix for Bug#32724 "innodb_mysql.test fails randomly". · 8a9ea162
      unknown authored
      Enable back the disabled test case.
      
      
      mysql-test/t/disabled.def:
        Enable the test case innodb_mysql.
      sql/sql_parse.cc:
        Fix the random failure of innodb_mysql test. The failure is not
        random any more after a patch for Bug 12713 added asserts around
        handler commit.
      8a9ea162
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · e232d2c4
      unknown authored
      into  mockturtle.local:/home/dlenev/src/mysql-5.1-symlink
      
      e232d2c4
    • unknown's avatar
      9dbbae3d
    • unknown's avatar
      Bug#34183 Missing DBUG_RETURN in alloc_root · dbc36ae3
      unknown authored
      DBUG_RETURN was missing form an exit path in 5.1 branch of alloc_root
      
      
      mysys/my_alloc.c:
        Fixed missing DBUG_RETURN
      dbc36ae3
    • unknown's avatar
      Fix for bug #35733 "main.symlink.test fails". · 5398c7ac
      unknown authored
      The problem was that symlink.test failed due to debug assertions or
      due to errors emitted for wrong statements (in non-debug builds)
      if 6.0 version of server was run with --thread-handling=pool-of-threads
      option.
      
      The above problems were caused by that on the one hand code mi_create()
      which handles case when error is returned relies on my_errno being set
      to appropriate non-0 value, but on the other it has not done this
      in case when error was emitted due to discovery that share for table
      which we are going to create is already present in the list of open
      shares. Running server with pool-of-threads option just exposed this
      bug since in this scheduler mode my_errno is reset to 0 when connection
      (THD) is reattached to the "real" thread.
      
      This fix ensures that code in mi_create() properly sets my_errno in
      the case described above.
      
      Since original reason that caused this bug to be exposed in 6.0 tree
      might also under very special conditions lead to incorrect behavior
      of earlier versions of server (i.e. to errors emitted for wrong
      statements) this patch is also being pushed into 5.1 tree.
      
      No test case is present as this code is already covered by a test
      case + pushbuild options combination in 6.0.
      
      
      storage/myisam/mi_create.c:
        Code in mi_create() which handles case when error is returned relies
        on my_errno being set to appropriate non-0 value. Adjusted code which
        emits error when we discover that share for table which we are going
        to create is already present in the list of open shares to do this.
      5398c7ac
  4. 01 Apr, 2008 9 commits
  5. 31 Mar, 2008 14 commits
  6. 30 Mar, 2008 3 commits
  7. 29 Mar, 2008 1 commit
    • unknown's avatar
      Bug #35675 reset master finds assert if a binlog file can not be deleted · 8d74abb0
      unknown authored
      If a binlog file is manually replaced with a namesake directory the internal purging did
      not handle the error of deleting the file so that eventually
      a post-execution guards fires an assert.
      
      Fixed with reusing a snippet of code for bug@18199 to tolerate lack of the file but no other error 
      at an attempt to delete it.
      The same applied to the index file deletion.
      
      The cset carries pieces of manual merging.
      
      
      mysql-test/r/binlog_index.result:
        new results
      mysql-test/r/ctype_big5.result:
        results changed
      mysql-test/suite/binlog/r/binlog_auto_increment_bug33029.result:
        new results
      mysql-test/suite/binlog/r/binlog_stm_blackhole.result:
        new results
      mysql-test/suite/binlog/t/binlog_auto_increment_bug33029.test:
        cleanup. still todo: to let the test run multiple times w/o restarting the server (just ./mtr test)
      mysql-test/suite/rpl/r/rpl_stm_auto_increment_bug33029.result:
        results changed
      mysql-test/suite/rpl/t/rpl_stm_auto_increment_bug33029.test:
        guarding the test with statement format condition as the logics of the test requires
      sql/log.cc:
        two changes. One for the bug, other manual merge.
        The bug change needs MYF(0) to pass to my_delete because not all error out of the function
        are critical. The finer check is done on the caller of my_delete similarly how it was implemented
        for bug@18199 fixes. Non-existance of a file is not a critical error.
      sql/sql_class.cc:
        manual merge, removing extra automatically brought hunk.
      8d74abb0