1. 16 May, 2006 16 commits
  2. 15 May, 2006 24 commits
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-5.0-root · dd8c47ef
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-runtime-merge
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      dd8c47ef
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 29bf6575
      unknown authored
      into  mysql.com:/data0/knielsen/tmp-5.0
      
      
      29bf6575
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/andrei-5.0 · bb1c6bf6
      unknown authored
      into  mysql.com:/users/lthalmann/bk/mysql-5.0-rpl
      
      
      bb1c6bf6
    • unknown's avatar
      correction of merge · 326ebe4c
      unknown authored
      326ebe4c
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-vgfix · 167d54cd
      unknown authored
      into  mysql.com:/usr/local/mysql/tmp-5.0
      
      
      include/my_sys.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      167d54cd
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9287933a
      unknown authored
      into  dl145j.mysql.com:/tmp/andrei/5.0
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      9287933a
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-vgfix2 · f3be3b6a
      unknown authored
      into  mysql.com:/usr/local/mysql/tmp-5.0
      
      
      f3be3b6a
    • unknown's avatar
      After-merge fixes; some function signatures changed from Item * to Item **. · 798e910b
      unknown authored
      
      sql/item.cc:
        After-merge fixes.
      sql/item.h:
        After-merge fixes.
      sql/item_func.cc:
        After-merge fixes.
      sql/item_func.h:
        After-merge fixes.
      sql/sp_head.cc:
        After-merge fixes.
      798e910b
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 438131dd
      unknown authored
      into  mysql.com:/usr/local/mysql/tmp-5.0
      
      
      sql/sp_head.cc:
        Manual merge.
      438131dd
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 30c03e20
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-ss547
      
      
      30c03e20
    • unknown's avatar
      ndb - bug#19537: arithmetic conversion Uint64 reg to Uint32 attr · ce7a7b20
      unknown authored
      
      ndb/test/ndbapi/Makefile.am:
        enable testInterpreter
      ndb/test/ndbapi/testInterpreter.cpp:
        add test case Bug19537
        the bug fix also fixed IncValue64 for whatever reason..
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        bug#19537: write_attr: perform arithmetic conversion Uint64 to Uint32
      ce7a7b20
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 774fae9c
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-4.1-ss29
      
      
      774fae9c
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · 84b8f111
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      ndb/src/ndbapi/DictCache.cpp:
        Auto merged
      ndb/src/ndbapi/DictCache.hpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.hpp:
        Auto merged
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        manual merge
      ndb/src/ndbapi/ClusterMgr.cpp:
        manual merge
      ndb/src/ndbapi/ClusterMgr.hpp:
        manual merge
      84b8f111
    • unknown's avatar
      Fix two Valgrind memory leak warnings. · a046322b
      unknown authored
      
      client/mysqlbinlog.cc:
        Now my_end() deallocates DBUG by default, but that fails in mysqlbinlog
        because of global destructors that use DBUG.
      dbug/dbug.c:
        Add a facility to deallocate the debug stack, to avoid memory leak warnings
        in Valgrind.
      include/my_dbug.h:
        Add a facility to deallocate the debug stack, to avoid memory leak warnings
        in Valgrind.
      include/my_sys.h:
        Change my_end() to deallocate DBUG memory by default (can be disabled with
        MY_DONT_FREE_DBUG option).
      libmysql/libmysql.c:
        Do not deallocate DBUG during cleanup.
      mysys/my_init.c:
        Change my_end() to deallocate DBUG memory by default (can be disabled with
        MY_DONT_FREE_DBUG option).
      sql/mysqld.cc:
        Add missing my_thread_end() call, seems to occasionally trigger a memory
        leak (not repeatable).
      a046322b
    • unknown's avatar
      Bug #16875 , correction of previous patch · e3996585
      unknown authored
      e3996585
    • unknown's avatar
      Merge mysql.com:/home/alexi/innodb/mysql-4.1-ss29-work · 889e60da
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-ss547-work
       Null merge
      
      
      innobase/os/os0file.c:
        Null merge
      sql/ha_innodb.cc:
        Null merge
      889e60da
    • unknown's avatar
      BUG#14157: utf8 encoding in binlog without set character_set_client: e.g DROP temporary · b6c7f5f2
      unknown authored
      specific to 5.0 version of the patch is motivated by the fact that a wrapper over 
      MYSQLLOG::write can not help in 5.0 where query's charset is embedded into event instance in the constructor.
      
      
      sql/mysql_priv.h:
        this 4.1 specific code does not help in 5.0
      sql/sql_base.cc:
        No wrapper similar to 4.1's version is done since Query_log_event constructor
        takes care of encodings in 5.0 whereas log::write method does it in 4.1.
        We can introduce an additional constuctor for Query_log_event to pass desired
        (i.e system_character_info) charset different from THD's version.
        But I am delaying this while there are not more bugs similar to this one reported.
      b6c7f5f2
    • unknown's avatar
      Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail · 37f940ce
      unknown authored
      - invalidate ndb dict cache on cluster disconnect (ClusterMgr.cpp)
      - add check for correct frm on external lock when table cache is found invalid
      
      
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ClusterMgr.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ClusterMgr.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/DictCache.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/DictCache.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/TransporterFacade.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      sql/ha_ndbcluster.cc:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      mysql-test/r/ndb_autodiscover3.result:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      mysql-test/t/ndb_autodiscover3.test:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      37f940ce
    • unknown's avatar
      Remove 'const' that prevents Microsoft VC realize that · 90ffe539
      unknown authored
      Item_trigger_field::set_required_privilege(const bool rw) is an
      overloading of Settable_routine_parameter::set_required_privilege(bool rw).
      
      
      90ffe539
    • unknown's avatar
      Applied innodb-5.0-ss547 snapshot. · c55912b0
      unknown authored
       Fix BUG#19542 "InnoDB doesn't increase the Handler_read_prev counter".
      
      
      innobase/os/os0file.c:
        Applied innodb-5.0-ss547 snapshot.
         Check the page trailers also after writing to disk.
         This improves the chances of diagnosing Bug 18886.
         os_file_check_page_trailers(): New function for checking
         that two copies of the LSN stamped on the pages match.
         os_aio_simulated_handle(): Call os_file_check_page_trailers()
         before and after os_file_write().
      sql/ha_innodb.cc:
        Applied innodb-5.0-ss547 snapshot.
         Increment statistic counter in ha_innobase::index_prev().
      c55912b0
    • unknown's avatar
      Applied innodb-4.1-ss29 snapshot. · 8069b05d
      unknown authored
       Fix BUG#19542 "InnoDB doesn't increase the Handler_read_prev counter.
       
      
      
      innobase/os/os0file.c:
        Applied innodb-4.1-ss29 snapshot.
         Check the page trailers also after writing to disk.
         This improves the chances of diagnosing Bug 18886.
         os_file_check_page_trailers(): New function for checking
         that two copies of the LSN stamped on the pages match.
         os_aio_simulated_handle(): Call os_file_check_page_trailers()
         before and after os_file_write().
      sql/ha_innodb.cc:
        Applied innodb-4.1-ss29 snapshot.
         Increment statistic counter in ha_innobase::index_prev().
      8069b05d
    • unknown's avatar
      Removed two duplicate/redundant suppressions. · 58025175
      unknown authored
      Added some suppressions needed for Valgrind on RHAS3 64-bit.
      
      
      58025175
    • unknown's avatar
      Merge mysql.com:/home/tomash/src/mysql_ab/mysql-5.0 · f298905d
      unknown authored
      into  mysql.com:/home/tomash/src/mysql_ab/mysql-5.0-bug14635
      
      
      sql/sql_acl.cc:
        Auto merged
      f298905d
    • unknown's avatar
      BUG#19618: Crash for unsigned_col NOT IN (-1, ... ) · e5838e16
      unknown authored
      - When manually constructing a SEL_TREE for "t.key NOT IN(...)", take into account that 
        get_mm_parts may return a tree with type SEL_TREE::IMPOSSIBLE
      - Added missing OOM checks
      - Added comments
      
      
      mysql-test/r/func_in.result:
        Testcase for BUG#19618
      mysql-test/t/func_in.test:
        Testcase for BUG#19618
      e5838e16