1. 01 Nov, 2006 1 commit
    • unknown's avatar
      Adding in an ha_end() call. This is the first part of the patch I and Monty... · e3dec1b4
      unknown authored
      Adding in an ha_end() call. This is the first part of the patch I and Monty have agreed on. In the future engines will have the option of shutting down more quickly via the panic call, or just shutting down during the unloading of a plugin. 
      
      
      sql/handler.cc:
        Adding ha_end
      sql/handler.h:
        Function declaration for ha_end()
      sql/mysqld.cc:
        Adding ha_end call.
      e3dec1b4
  2. 12 Oct, 2006 2 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1 · e46f981b
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      e46f981b
    • unknown's avatar
      Panic was being called twice! · 9bc9aeca
      unknown authored
      Both on its own and in the plugin shutdown.... not so good. The code is a bit simpler, and we could now technically remove the panic all entirely if we wanted to. 
      
      
      sql/handler.cc:
        Handler was returning from a panic failure. Bad idea! This means that the rest of the shutdown is not carried outin the engine.
        Removed panic specific calls. 
        
        Panic should also be called regardless of "startup".
      sql/mysqld.cc:
        Removed ha_panic call (since its called in plugin shutdown)
      9bc9aeca
  3. 11 Oct, 2006 5 commits
    • unknown's avatar
      Raise version number · c38fe206
      unknown authored
      c38fe206
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 · c05c72d8
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      c05c72d8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-rpl · f21b26be
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      sql/log.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      f21b26be
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-rpl · 72988a1c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      72988a1c
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 · dcffc2bd
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      BitKeeper/etc/collapsed:
        auto-union
      BitKeeper/etc/ignore:
        auto-union
      Makefile.am:
        Auto merged
      client/mysql.cc:
        Auto merged
      include/m_ctype.h:
        Auto merged
      include/my_global.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/mysql.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/r/warnings.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_range.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      dcffc2bd
  4. 10 Oct, 2006 14 commits
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new-rpl · b679056f
      unknown authored
      into  mysql.com:/home/bk/MERGE/mysql-5.1-merge
      
      
      include/my_sys.h:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      b679056f
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.0-rpl · d3743b43
      unknown authored
      into  mysql.com:/home/bk/MERGE/mysql-5.0-merge
      
      d3743b43
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · f0162ddf
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/tools/restore/restore_main.cpp:
        Auto merged
      f0162ddf
    • unknown's avatar
      ndb - · c4534097
      unknown authored
        ndb_restore Return OK even if temporary errors
          (otherwise mysql-test-run/ndb_restore can fail on really slow machines)
      
      
      storage/ndb/tools/restore/restore_main.cpp:
        Return OK even if temporary errors
      c4534097
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl · ed8d946f
      unknown authored
      into  romeo.(none):/home/bk/b21474-mysql-5.1-new-rpl
      
      
      sql/log_event.cc:
        Auto merged
      ed8d946f
    • unknown's avatar
      BUG#21474 (There is a rotation before the last table map): · 571f0c18
      unknown authored
      Removing code to step the group log position and just stepping
      the event log position.  If the group log position were stepped
      one time too many, it might be that the group starts at a position
      that is not possible, e.g., at a Rows_log_event, or between an
      Intvar_log_event and the following associated Query_log_event.
      
      
      sql/log_event.cc:
        Removing code to step the group log position and just stepping
        the event log position.  If the group log position were stepped
        one time too many, it might be that the group starts at a position
        that is not possible, e.g., at a Rows_log_event, or between an
        Intvar_log_event and the following associated Query_log_event.
      sql/slave.cc:
        Removing code to step the group log position and just stepping
        the event log position when executing a Format_description_log_event.
        If the group log position were stepped one time too many, it might be that the group starts at a position
        that is not possible, e.g., at a Rows_log_event, or between an
        Intvar_log_event and the following associated Query_log_event.
      571f0c18
    • unknown's avatar
      Fixes to make replication team tree build on Windows. · 10518dfa
      unknown authored
      
      sql/log_event.cc:
        Adding casts to make it compile on Windows.
      10518dfa
    • unknown's avatar
      Merge trift2.:/MySQL/M50/clone-5.0 · 4c8f960c
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      4c8f960c
    • unknown's avatar
      Fix to make it build on all platforms. · 11877ba9
      unknown authored
      Replacing C++ code with C code in a C file.
      
      
      mysys/mf_iocache2.c:
        There shall not be C++ code in C files.
      11877ba9
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1 · 948a9ddd
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      mysql-test/r/csv.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/csv.test:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      storage/innobase/btr/btr0btr.c:
        Auto merged
      storage/innobase/buf/buf0buf.c:
        Auto merged
      storage/innobase/dict/dict0dict.c:
        Auto merged
      storage/innobase/fil/fil0fil.c:
        Auto merged
      storage/innobase/fsp/fsp0fsp.c:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      storage/innobase/include/btr0cur.ic:
        Auto merged
      storage/innobase/log/log0log.c:
        Auto merged
      storage/innobase/log/log0recv.c:
        Auto merged
      storage/innobase/os/os0file.c:
        Auto merged
      storage/innobase/row/row0mysql.c:
        Auto merged
      storage/innobase/row/row0sel.c:
        Auto merged
      storage/innobase/srv/srv0start.c:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      948a9ddd
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · cf57931d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      cf57931d
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 0b0169d9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testTimeout.cpp:
        Auto merged
      0b0169d9
    • unknown's avatar
      ndb - bug#23107 · 6ef83b2e
      unknown authored
        fix bug in test prg
      
      6ef83b2e
    • unknown's avatar
      ndb - bug#23107 · 7f470530
      unknown authored
        fix bug in handling of inactive timeout for scan, when all is delivered
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) set timeout if all scans are at api
        2) Use c_appl_timeout_value when getting scan timeout
      ndb/test/ndbapi/testTimeout.cpp:
        test program
      7f470530
  5. 09 Oct, 2006 1 commit
    • unknown's avatar
      Post-merge fixes. · e755c950
      unknown authored
      
      mysql-test/t/view.test:
        Switching to using symbolic error numbers instead of numbers.
        Using numbers caused test to fail.
      e755c950
  6. 08 Oct, 2006 5 commits
  7. 06 Oct, 2006 12 commits
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl · 8260068a
      unknown authored
      into  romeo.(none):/home/bk/b19459-mysql-5.1-new
      
      
      client/mysqlbinlog.cc:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysys/base64.c:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      sql/share/errmsg.txt:
        SCCS merged
      8260068a
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.0-engines · fb8bfdc5
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.1-engines
      
      
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      fb8bfdc5
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-4.1-engines · 1d6f4eeb
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.0-engines
      
      
      sql/ha_myisammrg.cc:
        Manual merge.
      1d6f4eeb
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1-engines · 44253ab7
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-4.1-engines
      
      44253ab7
    • unknown's avatar
      BUG#22937 - Valgrind failure in 'merge' test (ha_myisammrg.cc:329) · fbe8aeb0
      unknown authored
      This is addition to fix for bug21617. Valgrind reports an error when
      opening merge table that has underlying tables with less indexes than
      in a merge table itself.
      
      Copy at most min(file->keys, table->key_parts) elements from rec_per_key array.
      This fixes problems when merge table and subtables have different number of keys.
      
      
      sql/ha_myisammrg.cc:
        Copy at most min(file->keys, table->key_parts) elements from rec_per_key array.
        This fixes problems when merge table and subtables have different number of keys.
      fbe8aeb0
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-5.0-engines · 86f18fa0
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-5.1-engines
      
      
      mysql-test/r/ndb_update.result:
        SCCS merged
      86f18fa0
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-4.1-engines · 8f6c30cd
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-5.0-engines
      
      
      mysql-test/r/ndb_update.result:
        Auto merged
      mysql-test/t/ndb_update.test:
        Auto merged
      8f6c30cd
    • unknown's avatar
    • unknown's avatar
      BUG#19459 (BINLOG RBR command does not lock tables correctly causing · 7ca9ea8a
      unknown authored
      crash for, e.g., NDB):
      
      Before, mysqlbinlog printed table map events as a separate statement, so
      when executing the event, the opened table was subsequently closed
      when the statement ended. Instead, the row-based events that make up
      a statement are now printed as *one* BINLOG statement, which means
      that the table maps and the following *_rows_log_event events are
      executed fully before the statement ends.
      
      Changing implementation of BINLOG statement to be able to read the 
      emitted format, which now consists of several chunks of BASE64-encoded
      data.
      
      
      client/mysqlbinlog.cc:
        Using IO_CACHE to print events instead of directly to file.
        Factoring out code to write event header and base64 representation into
        separate function.
      mysys/mf_iocache2.c:
        Correcting name in documentation.
      sql/log_event.cc:
        Adding class Write_on_release_cache that holds an IO_CACHE and that
        will write contents of IO_CACHE to a designated file on destruction.
        
        Changing signature of event printing functions print_header() and print_base64()
        to write to IO_CACHE and changing *all* calls in those functions in accordance.
        This means that all printing functions now print to an IO_CACHE instead of to a file,
        and that the IO_CACHE is then copied to the file.
        
        The print() function have the same signature as before, but since it is
        using print_header() and print_base64(), the data will now be printed
        to an IO_CACHE and then copied to the file.
        
        Changing row-based replication events to incrementally build one
        BINLOG statement for all events making up a statement.
      sql/log_event.h:
        Changing signature of event printing functions print_header() and
        print_base64() to write to an IO_CACHE instead of a file.
        
        Changing row-based replication events to incrementally build one
        BINLOG statement for all events making up a statement.
        
        Adding a head_cache and a body_cache to cache statement comment 
        and statement body respectively. In addition, the head_cache is used
        when printing other events than the RBR events.
      sql/sql_binlog.cc:
        Changing code to be able to decode several pieces of base64-encoded data
        for a BINLOG statement. The BINLOG statement now consists of several pieces
        of BASE64-encoded data, so once a block has been decoded and executed, the
        next block has to be read from the statement until there is no more
        data to read.
      7ca9ea8a
    • unknown's avatar
      Fix to build on 64-bit systems where sizeof(unsigned long long) · 9f0ad61b
      unknown authored
      > sizeof(unsigned long).
      
      
      sql/log.cc:
        Replacing enum constant that contained an unsigned long long constant
        on some platforms with a macro (an enumeration constant is limited
        to the range of values covered by signed or unsigned long).
      9f0ad61b
    • unknown's avatar
      Addition to fix for bug#10974. Fixed spelling. · 92ab6be5
      unknown authored
      92ab6be5
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG10974/mysql-5.0-engines · 5f592e26
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG10974/mysql-5.1-engines
      
      
      mysql-test/r/merge.result:
        Manual merge.
      sql/share/errmsg.txt:
        Manual merge.
      5f592e26