1. 19 Feb, 2008 3 commits
    • unknown's avatar
      backport valgrind cleanups from 6.0-engines · 40089da1
      unknown authored
      
      mysql-test/valgrind.supp:
        silence valgrind warning of memory leak in dlopen
      strings/strmake.c:
        silence valgrind warning cause by strlen examining unset bytes.
      40089da1
    • unknown's avatar
      Merge xiphis.org:/anubis/antony/work/p1-bug34598.2 · 53fe1435
      unknown authored
      into  xiphis.org:/anubis/antony/work/p1-bug34598.2.merge.1
      
      
      sql/sql_plugin.cc:
        Auto merged
      53fe1435
    • unknown's avatar
      Bug#34598 · a1915039
      unknown authored
        "crash on hpita: Invalid address alignment"
        Replace dangerous pointer arithmetic - it may occurr where sizeof(int) is
        less than size of machine alignment requirement.
      
      
      include/mysql/plugin.h:
        bug34598
          change of update func prototype
      sql/sql_plugin.cc:
        bug34598
          Avoid dangerous pointer arithmetic which can cause unaligned word access.
          Change of update function prototype
      a1915039
  2. 15 Feb, 2008 4 commits
  3. 14 Feb, 2008 13 commits
  4. 13 Feb, 2008 5 commits
    • unknown's avatar
      Removing non-deterministic tests from events_scheduling test. · 0f19e844
      unknown authored
      
      mysql-test/r/events_scheduling.result:
        Result change.
      mysql-test/t/events_scheduling.test:
        Removing a test that only confirms that event scheduling is
        inexact, hence causing sporadic failures on loaded machines.
      0f19e844
    • unknown's avatar
      The test rpl_row_charset and it dependent rpl_ndb_charset is · 4a7d3293
      unknown authored
      irrelevant to execute since the charset information does not
      affect replication for row-based replication. The row-based
      versions of the tests were removed, and the statement-based
      version of the test was made executable by all three modes.
      
      This involves removing any lines that causes the test to be
      dependent on the contents of the binary log, and instead we
      just check that the replication works as it should.
      
      
      BitKeeper/deleted/.del-rpl_ndb_charset.test:
        Delete: mysql-test/suite/rpl_ndb/t/rpl_ndb_charset.test
      BitKeeper/deleted/.del-rpl_ndb_charset.result:
        Delete: mysql-test/suite/rpl_ndb/r/rpl_ndb_charset.result
      BitKeeper/deleted/.del-rpl_row_charset.test:
        Delete: mysql-test/extra/rpl_tests/rpl_row_charset.test
      BitKeeper/deleted/.del-rpl_row_charset.test~739be9df1baaee3e:
        Delete: mysql-test/suite/rpl/t/rpl_row_charset.test
      BitKeeper/deleted/.del-rpl_row_charset_innodb.test:
        Delete: mysql-test/suite/rpl/t/rpl_row_charset_innodb.test
      BitKeeper/deleted/.del-rpl_row_charset_innodb-master.opt:
        Delete: mysql-test/suite/rpl/t/rpl_row_charset_innodb-master.opt
      BitKeeper/deleted/.del-rpl_row_charset_innodb-slave.opt:
        Delete: mysql-test/suite/rpl/t/rpl_row_charset_innodb-slave.opt
      BitKeeper/deleted/.del-rpl_row_charset_innodb.result:
        Delete: mysql-test/suite/rpl/r/rpl_row_charset_innodb.result
      BitKeeper/deleted/.del-rpl_row_charset.result:
        Delete: mysql-test/suite/rpl/r/rpl_row_charset.result
      mysql-test/extra/rpl_tests/rpl_charset.test:
        Test is not dependent on binlog format any more.
        Using --echo instead of "select" to print text.
        Removing lines causing the test to be dependent on binlog contents.
      mysql-test/suite/rpl/r/rpl_charset.result:
        Result change.
      mysql-test/suite/rpl/t/rpl_charset.test:
        Using renamed version of test file.
      4a7d3293
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-engines · b8f4976d
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
      
      
      b8f4976d
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/bug32943 · a7f2f951
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
      
      
      sql/sql_partition.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/partition_range.result:
        manual merge
      mysql-test/t/partition_range.test:
        manual merge
      a7f2f951
    • unknown's avatar
      Added comments on why we do reopen · 911a85d5
      unknown authored
      Handle error case of not being able to reopen which
      requires us to remove table from thread's open list
      and table_cache.
      
      
      911a85d5
  5. 12 Feb, 2008 4 commits
    • unknown's avatar
      Various fixes to fix memory leaks after merging replication · abe4c14a
      unknown authored
      tree with main.
      
      
      sql/sql_binlog.cc:
        Adding code to free memory after execution of BINLOG statement.
        It caused a memory leak in the case that the execution failed
        for any reason.
      sql/sql_class.cc:
        Since rli_fake is checked for NULL at various occations to mean
        that no rli_fake is assigned, NULL is assigned to rli_fake after
        deleting the instance.
      abe4c14a
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-engines · e2279a96
      unknown authored
      into  mysql.com:/home/ram/work/b33758/b33758.5.1
      
      
      e2279a96
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b33758/b33758.5.0 · ef017705
      unknown authored
      into  mysql.com:/home/ram/work/b33758/b33758.5.1
      
      
      storage/myisam/mi_open.c:
        Auto merged
      ef017705
    • unknown's avatar
      Fix for bug #33758: Got query result when using ORDER BY ASC, but · 863b86db
      unknown authored
      empty result when using DESC
      
      Problem: fetching MyISAM keys we copy a key block pointer to the end of the key buffer.
      However, we don't take into account the pointer length calculatig the buffer size,
      that may leads to memory overwriting and in turn to unpredictable results.
      
      Fix: increase key buffer size by length of the key block pointer.
      
      Note: no simple test case.
      
      
      myisam/mi_open.c:
        Fix for bug #33758: Got query result when using ORDER BY ASC, but 
        empty result when using DESC
          - increase possible maximum key length by size of the key block pointer,
            as it's copied into the key buffer in the get_key() MyISAM functions.
      863b86db
  6. 11 Feb, 2008 11 commits