1. 12 Oct, 2006 5 commits
    • unknown's avatar
      unittest/mytap/tap.c : · cf3b2501
      unknown authored
      Do not (try to) set a signal handler action unless a signal is defined on the platform.
      
      
      unittest/mytap/tap.c:
        Do not (try to) set a signal handler action unless a signal is defined on the platform.
        SIGXCPU, SIGXFSZ, SIGSYS, and SIGTRAP were reported as undefined in Netware build of 5.1.12-beta.
      cf3b2501
    • unknown's avatar
      thr_alarm.c, thr_lock.c, my_global.h: · c4478030
      unknown authored
        Avoid multiple define of DBUG_OFF (bug#21749)
      
      
      mysys/thr_alarm.c:
        Avoid multiple define of DBUG_OFF (bug#21749)
      mysys/thr_lock.c:
        Avoid multiple define of DBUG_OFF (bug#21749)
      include/my_global.h:
        Avoid multiple define of DBUG_OFF (bug#21749)
      c4478030
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.1-release · 0e2888eb
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-5.1-release
      
      
      0e2888eb
    • unknown's avatar
      mysql.spec.sh: · 6a99001c
      unknown authored
        Corrected path to mysql-test directory
        Removed man1/mysql_explain_log.1
      
      
      support-files/mysql.spec.sh:
        Corrected path to mysql-test directory
        Removed man1/mysql_explain_log.1
      6a99001c
    • unknown's avatar
      Various tool fixes, necessary to build 5.1.12-beta on Netware. · d41b34bf
      unknown authored
      
      netware/BUILD/compile-AUTOTOOLS:
        Fixes for Netware builds:
        1) The "autotools" used there have problems with changing variables in Makefiles
           after the initial setting.
        2) "storage/innobase" does not need an autotool run any more.
        3) "automake --verbose" may be able to help if new problems arise.
      netware/BUILD/compile-netware-START:
        The CSV engine is now mandatory in 5.1, must not be de-configured.
      netware/BUILD/mwenv:
        When testing for a possibly empty shell variable, it is mandatory to use quotes!
      netware/BUILD/nwbootstrap:
        The "mwenv" file has been changed, reflect these changes here:
        1) It is no longer necessary to set the variables WINE_BUILD_DIR, BUILD_DIR, and VERSION.
        2) The handling of MYDEV there has changed, the "export" line may be indented.
      d41b34bf
  2. 11 Oct, 2006 6 commits
    • unknown's avatar
      Override "read-only" permissions when doing "make distcheck". · 1f0c83c1
      unknown authored
      
      Docs/Makefile.am:
        Override "read-only" permissions on "manual.chm".
      1f0c83c1
    • unknown's avatar
      BUG#21524 ps.test updated to meet recent changes in SQL parser · 6b395328
      unknown authored
      
      mysql-test/r/ps.result:
        brand new ps.result recorded out of updated ps.test output
      mysql-test/t/disabled.def:
        ps.test enabled anew
      mysql-test/t/ps.test:
        ps.test updated to ensure FLUSH/RESET are not allowed in stored functions at both
        parse and execution time
      6b395328
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 · 4d46af65
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      4d46af65
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-rpl · 12e09c02
      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
      12e09c02
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-rpl · 4fc50652
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      4fc50652
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 · 4bd33a0d
      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
      4bd33a0d
  3. 10 Oct, 2006 14 commits
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.1-new-rpl · c34940a0
      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
      c34940a0
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.0-rpl · 687f44fe
      unknown authored
      into  mysql.com:/home/bk/MERGE/mysql-5.0-merge
      
      
      687f44fe
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · ef0ee764
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/tools/restore/restore_main.cpp:
        Auto merged
      ef0ee764
    • unknown's avatar
      ndb - · ff604cb7
      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
      ff604cb7
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl · 3f3ffdcc
      unknown authored
      into  romeo.(none):/home/bk/b21474-mysql-5.1-new-rpl
      
      
      sql/log_event.cc:
        Auto merged
      3f3ffdcc
    • unknown's avatar
      BUG#21474 (There is a rotation before the last table map): · 55ce4471
      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.
      55ce4471
    • unknown's avatar
      Fixes to make replication team tree build on Windows. · 010edb7e
      unknown authored
      
      sql/log_event.cc:
        Adding casts to make it compile on Windows.
      010edb7e
    • unknown's avatar
      Merge trift2.:/MySQL/M50/clone-5.0 · ffa6c020
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      ffa6c020
    • unknown's avatar
      Fix to make it build on all platforms. · 95d29d0d
      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.
      95d29d0d
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1 · e833ecae
      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
      e833ecae
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 6407b771
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      6407b771
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 7037b809
      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
      7037b809
    • unknown's avatar
      ndb - bug#23107 · 6b4507b9
      unknown authored
        fix bug in test prg
      
      
      6b4507b9
    • unknown's avatar
      ndb - bug#23107 · e486c517
      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
      e486c517
  4. 09 Oct, 2006 1 commit
    • unknown's avatar
      Post-merge fixes. · 45c30c7f
      unknown authored
      
      mysql-test/t/view.test:
        Switching to using symbolic error numbers instead of numbers.
        Using numbers caused test to fail.
      45c30c7f
  5. 08 Oct, 2006 5 commits
  6. 06 Oct, 2006 9 commits
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl · 5e81d130
      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
      5e81d130
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.0-engines · 4d7a6cf7
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.1-engines
      
      
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      4d7a6cf7
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-4.1-engines · 12fb87ac
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.0-engines
      
      
      sql/ha_myisammrg.cc:
        Manual merge.
      12fb87ac
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1-engines · a6a93d6f
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-4.1-engines
      
      
      a6a93d6f
    • unknown's avatar
      BUG#22937 - Valgrind failure in 'merge' test (ha_myisammrg.cc:329) · 47a70282
      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.
      47a70282
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-5.0-engines · 98209543
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-5.1-engines
      
      
      mysql-test/r/ndb_update.result:
        SCCS merged
      98209543
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-4.1-engines · 0caaf1d1
      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
      0caaf1d1
    • unknown's avatar
    • unknown's avatar
      BUG#19459 (BINLOG RBR command does not lock tables correctly causing · d8be3113
      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.
      d8be3113