1. 16 Feb, 2006 1 commit
    • unknown's avatar
      WL#3023 (Use locks in a statement-like manner): · 41f7d138
      unknown authored
        Table maps are now written on aquiring locks to tables and released
        at the end of each logical statement.
      
      
      mysql-test/extra/binlog_tests/ctype_cp932.test:
        Disabling cleanup code
      mysql-test/r/binlog_row_blackhole.result:
        Result change
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        Result change
      mysql-test/r/binlog_stm_ctype_cp932.result:
        Result change
      mysql-test/r/rpl_row_charset.result:
        Result change
      mysql-test/r/rpl_row_create_table.result:
        Result change
      mysql-test/t/rpl_row_create_table.test:
        Binlog position change
      sql/handler.cc:
        Writing table map after external_lock()
      sql/handler.h:
        Adding class for table operation hooks.
      sql/log.cc:
        Adding binlog_write_table_map() to THD.
        Removing write_table_map() from MYSQL_LOG.
      sql/log.h:
        Minor interface changes to move table map writing.
      sql/log_event.cc:
        Removing pre-allocation of memory for buffers.
        Allowing ULONG_MAX as table id denoting an event to ignore (only used to transfer flags).
        Adding code to collect tables while seeing table maps and lock collected tables
        when seeing a binrow event.
        Debriding code as a result of the above changes.
      sql/log_event.h:
        Minor interface changes.
      sql/mysql_priv.h:
        Adding hooks argument to create_table_from_items().
      sql/parse_file.cc:
        Minor fix to avoid crash in debug printout.
      sql/rpl_rli.h:
        Adding list of tables to lock to RLI structure.
      sql/slave.cc:
        Using list of tables to lock from RLI structure.
      sql/sql_acl.cc:
        Removing redundant pending events flush.
      sql/sql_base.cc:
        Moving pending event flush.
        Using flag to guard to clear statement transaction only if this is the original
        open tables state.
      sql/sql_class.cc:
        Adding flag for open tables state.
        Removing redundant pending events flushes.
        Write a dummy event to indicate that the tables to lock should be emptied
        on the slave.
      sql/sql_class.h:
        Adding open tables state flags.
        Adding binlog_write_table_map() function to THD.
        Changes to select_create() to support new locking scheme.
      sql/sql_insert.cc:
        Adding rollback of statement transaction on error. It can now contain
        events after locking tables.
      sql/sql_load.cc:
        Removing redundant pending event flush.
      sql/sql_table.cc:
        Adding hooks argument to create_table_from_items().
        Calling prelock hook before starting to lock tables.
      sql/sql_update.cc:
        Removing a compiler warning.
      sql/table.h:
        Minor changes.
      41f7d138
  2. 26 Jan, 2006 1 commit
    • unknown's avatar
      WL#3023 (RBR: Use locks in a statment-like manner): · a89c10fd
      unknown authored
        Interface changes pushed early.
        Separation of public and implementation interface for external_lock()
        in preparation for implementation.
      
      
      sql/handler.cc:
        Separating public virtual external_lock() into public non-virtual
        ha_external_lock() and private virtual external_lock().  Some minor
        changes to ha_*_row() function.
      sql/handler.h:
        Separating public virtual external_lock() into public non-virtual
        ha_external_lock() and private virtual external_lock().
      sql/lock.cc:
        Using new public ha_external_lock instead of internal external_lock.
      sql/opt_range.cc:
        Using new public ha_external_lock instead of internal external_lock.
      sql/sql_table.cc:
        Using new public ha_external_lock instead of internal external_lock.
      a89c10fd
  3. 18 Jan, 2006 1 commit
  4. 13 Jan, 2006 11 commits
  5. 12 Jan, 2006 26 commits
    • unknown's avatar
      ndb - mysql-5.1-wl2325-v7 quick fix · 9764d012
      unknown authored
      
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        separate events as default + typos
      9764d012
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new · a3102373
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
      
      
      a3102373
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 14ff02d3
      unknown authored
      into  zim.tangent.org:/home/brian/mysql/slap-5.1
      
      
      14ff02d3
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 17bd1288
      unknown authored
      into  zim.tangent.org:/home/brian/mysql/slap-5.1
      
      
      17bd1288
    • unknown's avatar
      Fixed bug #16167 · 88ece282
      unknown authored
      Added --use-threads option for porting to Windows. 
      
      
      client/mysqlslap.c:
        Addinng thread option for porting to windows (second piece of code)
        Also added flush call to fix one bug
      mysql-test/r/mysqlslap.result:
        New results
      mysql-test/t/disabled.def:
        Bug 16167 should not be fixed
      mysql-test/t/mysqlslap.test:
        Added test for new use-threads option
      88ece282
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · 684689d1
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-wl1563
      
      
      684689d1
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 5b69775a
      unknown authored
      into lmy004.:/work/mysql-5.1-tt-copy-works
      
      
      5b69775a
    • unknown's avatar
      WL #1034 (Internal CRON) post-push fix · 6ad7b373
      unknown authored
      fix problem that gcc4 does not like at all
      
      
      sql/event.h:
        fix problem that gcc4 does not like at all
      6ad7b373
    • unknown's avatar
      wl2325 wl2324 · 4c798b42
      unknown authored
      
      mysql-test/include/have_ndb_extra.inc:
        New BitKeeper file ``mysql-test/include/have_ndb_extra.inc''
      mysql-test/include/not_ndb.inc:
        New BitKeeper file ``mysql-test/include/not_ndb.inc''
      mysql-test/r/have_ndb_extra.require:
        New BitKeeper file ``mysql-test/r/have_ndb_extra.require''
      mysql-test/r/ndb_alter_table_row.result:
        New BitKeeper file ``mysql-test/r/ndb_alter_table_row.result''
      mysql-test/r/ndb_alter_table_stm.result:
        New BitKeeper file ``mysql-test/r/ndb_alter_table_stm.result''
      mysql-test/r/ndb_binlog_basic.result:
        New BitKeeper file ``mysql-test/r/ndb_binlog_basic.result''
      mysql-test/r/ndb_binlog_multi.result:
        New BitKeeper file ``mysql-test/r/ndb_binlog_multi.result''
      mysql-test/r/ndb_multi_row.result:
        New BitKeeper file ``mysql-test/r/ndb_multi_row.result''
      mysql-test/r/not_ndb.require:
        New BitKeeper file ``mysql-test/r/not_ndb.require''
      mysql-test/r/rpl_ndb_bank.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_bank.result''
      mysql-test/r/rpl_ndb_basic.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_basic.result''
      mysql-test/r/rpl_ndb_disk.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_disk.result''
      mysql-test/r/rpl_ndb_idempotent.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_idempotent.result''
      mysql-test/r/rpl_ndb_load.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_load.result''
      mysql-test/r/rpl_ndb_multi.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_multi.result''
      mysql-test/r/rpl_ndb_sync.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_sync.result''
      mysql-test/r/rpl_row_basic_7ndb.result:
        New BitKeeper file ``mysql-test/r/rpl_row_basic_7ndb.result''
      mysql-test/t/ndb_alter_table_row.test:
        New BitKeeper file ``mysql-test/t/ndb_alter_table_row.test''
      mysql-test/t/ndb_alter_table_stm.test:
        New BitKeeper file ``mysql-test/t/ndb_alter_table_stm.test''
      mysql-test/t/ndb_binlog_basic.test:
        New BitKeeper file ``mysql-test/t/ndb_binlog_basic.test''
      mysql-test/t/ndb_binlog_multi.test:
        New BitKeeper file ``mysql-test/t/ndb_binlog_multi.test''
      mysql-test/t/ndb_multi_row.test:
        New BitKeeper file ``mysql-test/t/ndb_multi_row.test''
      mysql-test/t/rpl_ndb_bank.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_bank.test''
      mysql-test/t/rpl_ndb_basic.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_basic.test''
      mysql-test/t/rpl_ndb_disk.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_disk.test''
      mysql-test/t/rpl_ndb_idempotent.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_idempotent.test''
      mysql-test/t/rpl_ndb_load.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_load.test''
      mysql-test/t/rpl_ndb_multi.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_multi.test''
      mysql-test/t/rpl_ndb_sync.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_sync.test''
      mysql-test/t/rpl_row_basic_7ndb.test:
        New BitKeeper file ``mysql-test/t/rpl_row_basic_7ndb.test''
      sql/ha_ndbcluster_binlog.cc:
        New BitKeeper file ``sql/ha_ndbcluster_binlog.cc''
      sql/ha_ndbcluster_binlog.h:
        New BitKeeper file ``sql/ha_ndbcluster_binlog.h''
      sql/ha_ndbcluster_tables.h:
        New BitKeeper file ``sql/ha_ndbcluster_tables.h''
      sql/rpl_injector.cc:
        New BitKeeper file ``sql/rpl_injector.cc''
      sql/rpl_injector.h:
        New BitKeeper file ``sql/rpl_injector.h''
      storage/ndb/include/kernel/signaldata/DihFragCount.hpp:
        New BitKeeper file ``storage/ndb/include/kernel/signaldata/DihFragCount.hpp''
      4c798b42
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new · d6b565ef
      unknown authored
      into  zim.tangent.org:/home/brian/mysql/slap-5.1
      
      
      d6b565ef
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new · a16e5b70
      unknown authored
      into  zim.tangent.org:/home/brian/mysql/slap-5.1
      
      
      a16e5b70
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 0f02e187
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      0f02e187
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my51-wl2930_fixup · 69126afb
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      69126afb
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my50-wl2930_fixup · adf6fc63
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my51-wl2930_fixup
      
      
      mysql-test/t/mysqltest.test:
        Auto merged
      adf6fc63
    • unknown's avatar
      7b77b4c7
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · 50ab39f4
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-wl1563
      
      
      50ab39f4
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 04ab43c2
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      
      04ab43c2
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1 · d679b903
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-wl1563
      
      
      d679b903
    • unknown's avatar
      rpl_sp.test, disabled.def, rpl_stm_mystery22.test: · 678116f8
      unknown authored
        Test cleanip per lars
      .del-rpl_row_sp000.result~2b24650b123e20a9:
        Delete: mysql-test/r/rpl_row_sp000.result
      .del-rpl_row_sp000.test~645e2807516682b6:
        Delete: mysql-test/t/rpl_row_sp000.test
      .del-rpl_row_sp000-slave.opt~d84baa1f59616d77:
        Delete: mysql-test/t/rpl_row_sp000-slave.opt
      .del-rpl_row_sp000-master.opt~da625c0a51a2f08a:
        Delete: mysql-test/t/rpl_row_sp000-master.opt
      rpl_sp.result:
        Rename: mysql-test/r/rpl_stm_sp.result -> mysql-test/r/rpl_sp.result
      rpl_sp-master.opt:
        Rename: mysql-test/t/rpl_stm_sp-master.opt -> mysql-test/t/rpl_sp-master.opt
      rpl_sp-slave.opt:
        Rename: mysql-test/t/rpl_stm_sp-slave.opt -> mysql-test/t/rpl_sp-slave.opt
      rpl_sp.test:
        Rename: mysql-test/t/rpl_stm_sp.test -> mysql-test/t/rpl_sp.test
      
      
      mysql-test/t/rpl_sp-slave.opt:
        Rename: mysql-test/t/rpl_stm_sp-slave.opt -> mysql-test/t/rpl_sp-slave.opt
      mysql-test/t/rpl_sp-master.opt:
        Rename: mysql-test/t/rpl_stm_sp-master.opt -> mysql-test/t/rpl_sp-master.opt
      mysql-test/r/rpl_sp.result:
        Rename: mysql-test/r/rpl_stm_sp.result -> mysql-test/r/rpl_sp.result
      BitKeeper/deleted/.del-rpl_row_sp000-master.opt~da625c0a51a2f08a:
        Delete: mysql-test/t/rpl_row_sp000-master.opt
      BitKeeper/deleted/.del-rpl_row_sp000-slave.opt~d84baa1f59616d77:
        Delete: mysql-test/t/rpl_row_sp000-slave.opt
      BitKeeper/deleted/.del-rpl_row_sp000.test~645e2807516682b6:
        Delete: mysql-test/t/rpl_row_sp000.test
      BitKeeper/deleted/.del-rpl_row_sp000.result~2b24650b123e20a9:
        Delete: mysql-test/r/rpl_row_sp000.result
      mysql-test/t/rpl_stm_mystery22.test:
        Test cleanip per lars
      mysql-test/t/disabled.def:
        Test cleanip per lars
      mysql-test/t/rpl_sp.test:
        Test cleanip per lars
      678116f8
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 5872e5ae
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my51
      
      
      5872e5ae
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 53462e3b
      unknown authored
      into lmy004.:/work/mysql-5.1-tt-copy-works
      
      
      53462e3b
    • unknown's avatar
      WL #1034 (Internal CRON) post-push update · eb201203
      unknown authored
      - fix compile failure on QNX and FreeBSD
      
      
      sql/event_executor.cc:
        time_t and my_time_t seem have the same length so cast
        in tztime.cc it's already done this way.
        Precautionary check at runtime about the sizes of my_time_t and time_t
      sql/event_timed.cc:
        do time_t* cast to satisfy compilers on various platforms
        (QNX, FreeBSD)
      eb201203
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 7e1ea97a
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my51
      
      
      7e1ea97a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 56842e5e
      unknown authored
      into  mysql.com:/usr/local/mysql/tmpbuild-5.1
      
      
      56842e5e
    • unknown's avatar
      ndb - wl#2972 tiny bugfix · c126958f
      unknown authored
      
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        bugfix
      storage/ndb/test/ndbapi/test_event_merge.cpp:
        continue
      c126958f
    • unknown's avatar
      Merge mysql.com:/space/pekka/ndb/version/my51 · 78711a86
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my51-rbr
      
      
      78711a86