1. 07 Jul, 2006 8 commits
  2. 06 Jul, 2006 26 commits
    • unknown's avatar
      After merge fixes. · f78f7f84
      unknown authored
      
      sql/event_timed.cc:
        After merge fixes: dbname can never be NULL.
      sql/events.cc:
        After merge fixes: use a new signature of sp_use_new_db
      sql/sp_head.cc:
        After merge fixes: replace assert with an if for events code to work.
      sql/sql_parse.cc:
        After merge fixes: put back free_items, it's used in partitioning.
        Whether it is not a bug is to be investigated.
        Remove check_db_used, as planned.
      f78f7f84
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 32369e27
      unknown authored
      into  bodhi.netgear:/opt/local/work/mysql-5.1-runtime-merge
      
      32369e27
    • unknown's avatar
      removed alter table partition error test since it cannot be made... · 7bcb8e26
      unknown authored
      removed alter table partition error test since it cannot be made predictable... name will change of created file
      
      
      7bcb8e26
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 1f6c7e98
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-ndb
      
      1f6c7e98
    • unknown's avatar
      Merge bodhi.netgear:/opt/local/work/tmp_merge · 6d3f8659
      unknown authored
      into  bodhi.netgear:/opt/local/work/mysql-5.1-runtime-merge-with-5.0
      
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.h:
        Auto merged
      sql/tztime.cc:
        Auto merged
      include/my_sys.h:
        Manual merge (second attempt).
      mysql-test/r/bdb.result:
        Manual merge (second attempt).
      mysql-test/t/bdb.test:
        Manual merge (second attempt).
      mysys/my_malloc.c:
        Manual merge (second attempt).
      mysys/safemalloc.c:
        Manual merge (second attempt).
      sql/ha_federated.cc:
        Manual merge (second attempt).
      sql/log_event.cc:
        Manual merge (second attempt).
      sql/set_var.cc:
        Manual merge (second attempt).
      sql/set_var.h:
        Manual merge (second attempt).
      sql/slave.cc:
        Manual merge (second attempt).
      sql/slave.h:
        Manual merge (second attempt).
      sql/sql_class.h:
        Manual merge (second attempt).
      sql/sql_table.cc:
        Manual merge (second attempt).
      sql/sql_udf.cc:
        Manual merge (second attempt).
      sql/sql_yacc.yy:
        Manual merge (second attempt).
      6d3f8659
    • unknown's avatar
      Merge bodhi.netgear:/opt/local/work/mysql-5.1-root · 8829fa9a
      unknown authored
      into  bodhi.netgear:/opt/local/work/mysql-5.1-runtime-merge
      
      
      BitKeeper/etc/ignore:
        auto-union
      8829fa9a
    • unknown's avatar
      Bug #20820 auto inc table not handled correctly when restored from cluster backup · e4dc903f
      unknown authored
      
      mysql-test/t/ndb_dd_backuprestore.test:
        make sure only run in default cluster
      mysql-test/t/rpl_ndb_dd_advance.test:
        make sure only run in default cluster
      mysql-test/t/rpl_ndb_sync.test:
        make sure only run in default cluster
      e4dc903f
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · b30da07e
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-ndb
      
      
      mysql-test/r/ndb_restore.result:
        manual merge
      mysql-test/t/ndb_restore.test:
        manual merge
      storage/ndb/tools/restore/consumer_restore.cpp:
        manual merge
      b30da07e
    • unknown's avatar
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1 · 6da6790d
      unknown authored
      into trift2.:/M51/bug20216-5.1
      
      
      scripts/Makefile.am:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      6da6790d
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1 · 79ac3fc8
      unknown authored
      into trift2.:/M51/merge-5.1
      
      79ac3fc8
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 7a005b34
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-ndb
      
      7a005b34
    • unknown's avatar
      corrected result file · a180c4f9
      unknown authored
      - missing order by
      
      a180c4f9
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 0c1f52d8
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-ndb
      
      
      storage/ndb/src/ndbapi/DictCache.cpp:
        Auto merged
      0c1f52d8
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · 0603b439
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      ndb/src/ndbapi/DictCache.cpp:
        Auto merged
      0603b439
    • unknown's avatar
      backport of ndb DictCache fix · 2533ff11
      unknown authored
      - don't invalidate tables that are in state RETRIEVING
      
      2533ff11
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 71dc75c9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      71dc75c9
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 3ee0f15f
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-ndb
      
      3ee0f15f
    • unknown's avatar
      After merge fixes for patch solving bug#18437 "Wrong values inserted with a · 938f5f69
      unknown authored
      before update trigger on NDB table".
      
      Two main changes:
      - We use TABLE::read_set/write_set bitmaps for marking fields used by
        statement instead of Field::query_id in 5.1.
      - Now when we mark columns used by statement we take into account columns 
        used by table's triggers instead of marking all columns as used if table
        has triggers.
      
      
      mysql-test/r/federated.result:
        Changed test in order to make it work with RBR.
        RBR changes the way in which we execute "DELETE FROM t1" statement - we don't
        use handler::delete_all_rows() method if RBR is enabled (see bug#19066).
        As result federated engine produces different sequences of statements for
        remote server in non-RBR and in RBR cases. And this changes order of the
        rows inserted by following INSERT statements.
      mysql-test/t/federated.test:
        Changed test in order to make it work with RBR.
        RBR changes the way in which we execute "DELETE FROM t1" statement - we don't
        use handler::delete_all_rows() method if RBR is enabled (see bug#19066).
        As result federated engine produces different sequences of statements for
        remote server in non-RBR and in RBR cases. And this changes order of the
        rows inserted by following INSERT statements.
      sql/ha_partition.cc:
        Added handling of HA_EXTRA_WRITE_CAN_REPLACE/HA_EXTRA_WRITE_CANNOT_REPLACE
        to ha_partition::extra().
      sql/item.cc:
        Adjusted comment after merge. In 5.1 we use TABLE::read_set/write_set
        bitmaps instead of Field::query_id for marking columns used.
      sql/log_event.cc:
        Write_rows_log_event::do_before_row_operations():
          Now we explicitly inform handler that we want to replace rows so it can
          promote operation done by write_row() to replace.
      sql/mysql_priv.h:
        Removed declaration of mark_fields_used_by_triggers_for_insert_stmt() which
        is no longer used (we have TABLE::mark_columns_needed_for_insert() instead).
      sql/sql_insert.cc:
        Adjusted code after merge. Get rid of mark_fields_used_by_triggers_for_insert_stmt()
        as now we use TABLE::mark_columns_needed_for_insert() for the same purprose.
        Aligned places where we call this method with places where we call
        mark_fields_used_by_triggers_for_insert() in 5.0.
        Finally we no longer need to call handler::extra(HA_EXTRA_WRITE_CAN_REPLACE)
        in case of REPLACE statement since in 5.1 write_record() marks all columns
        as used before doing actual row replacement.
      sql/sql_load.cc:
        Adjusted code after merge. In 5.1 we use TABLE::mark_columns_needed_for_insert() instead of
        mark_fields_used_by_triggers_for_insert_stmt() routine. We also no longer
        need to call handler::extra(HA_EXTRA_RETRIEVE_ALL_COLS) if we execute LOAD
        DATA REPLACE since in 5.1 write_record() will mark all columns as used before
        doing actual row replacement.
      sql/sql_trigger.cc:
        Table_triggers_list::mark_fields_used():
          We use TABLE::read_set/write_set bitmaps for marking fields used instead
          of Field::query_id in 5.1.
      sql/sql_trigger.h:
        TABLE::mark_columns_needed_for_* methods no longer need to be friends of
        Table_triggers_list class as intead of dirrectly accessing its private
        members they can use public Table_triggers_list::mark_fields_used() method.
        Also Table_triggers)list::mark_fields_used() no longer needs THD argument.
      sql/table.cc:
        TABLE::mark_columns_needed_for_*():
          Now we mark columns which are really used by table's triggers instead of
          marking all columns as used if table has triggers.
      938f5f69
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 6d665372
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-ndb
      
      6d665372
    • unknown's avatar
      corrected results · 234e39fa
      unknown authored
      234e39fa
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · a01b55ef
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        SCCS merged
      a01b55ef
    • unknown's avatar
      ndb - revert bug fix for bug#20442 · aca5d20c
      unknown authored
      aca5d20c
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1 · 92badbcb
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1
      
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      92badbcb
    • unknown's avatar
      Merge ngrishakin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · d18ae082
      unknown authored
      into  mysql.com:/home/ndbdev/ngrishakin/mysql-5.1-new-ndb
      
      d18ae082
    • unknown's avatar
      ndb_dd_advance test cases · 66bb877d
      unknown authored
      
      mysql-test/t/ndb_dd_advance.test:
        ndb_dd_advance.test
      mysql-test/t/ndb_dd_advance2.test:
        ndb_dd_advance2.test
      mysql-test/r/ndb_dd_advance.result:
        ndb_dd_advance.result
      mysql-test/r/ndb_dd_advance2.result:
        ndb_dd_advance2.result
      66bb877d
  3. 05 Jul, 2006 6 commits