1. 25 Nov, 2004 1 commit
  2. 24 Nov, 2004 12 commits
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 3c576cc8
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      3c576cc8
    • unknown's avatar
      bug#6775 - ndb · 98de7e01
      unknown authored
      Queue scan on real fragment.
        Index fragment for range scans
        Table fragment for table scans
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Document meaning of fragPtrI and how it differs
          from scanTcRec->fragmentptr
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Queue scan on real fragment.
          Index fragment for range scans
          Table fragment for table scans
      ndb/src/ndbapi/NdbConnection.cpp:
        Check tOp before assigning
      98de7e01
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · e7d68059
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/include/ndbapi/NdbConnection.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      e7d68059
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · e0622c24
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      e0622c24
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 3ac10e6a
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/common/util/version.c:
        Auto merged
      3ac10e6a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 85593e90
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-bg5888
      
      
      85593e90
    • unknown's avatar
      ndb - 4.1.8 is not online software upgradable with 4.1.7 (due to close scan optimizations) · 1b9ea9b3
      unknown authored
      
      ndb/src/common/util/version.c:
        4.1.8 is not online software upgradable with 4.1.7 (due to close scan optimizations)
      1b9ea9b3
    • unknown's avatar
      Merge joreland@build:/home/bk/mysql-5.0-ndb · c30323b8
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      ndb/test/ndbapi/testReadPerf.cpp:
        Auto merged
      ndb/test/ndbapi/testScanPerf.cpp:
        Auto merged
      c30323b8
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 37eb8e55
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      ndb/test/ndbapi/testReadPerf.cpp:
        Auto merged
      ndb/test/ndbapi/testScanPerf.cpp:
        Auto merged
      37eb8e55
    • unknown's avatar
      A small cleanup in sql_select.h · dfd6ebb1
      unknown authored
      
      sql/sql_select.h:
        Remove double assingment of fields_list.
      dfd6ebb1
    • unknown's avatar
      Fix for bug #5888 "Triggers with nonexistent columns cause packets · c3da2d12
      unknown authored
      out of order". (final version)
      
      Now instead of binding Item_trigger_field to TABLE objects during
      trigger definition parsing at table open, we perform pass through
      special list of all such objects in trigger. This allows easily check
      all references to fields in old/new version of row in trigger during
      execution of CREATE TRIGGER statement (this is more courtesy for users
      since we can't check everything anyway).
      We also report that such reference is bad by returning error from
      Item_trigger_field::fix_fields() method (instead of setup_field())
      This means that if trigger is broken we will bark during trigger
      execution instead of trigger definition parsing at table open.
      (i.e. now we allow to open tables with broken triggers).
      
      
      mysql-test/r/trigger.result:
        Added test which attempts to create trigger for table referencing to
        field which does not exist in this table.
      mysql-test/t/trigger.test:
        Added test which attempts to create trigger for table referencing to
        field which does not exist in this table.
      sql/item.cc:
        Item_trigger_field::setup_field() now returns void. If any error
        will occur we will report it at fix_fields() stage.
      sql/item.h:
        Item_trigger_field:
        - Added next_trg_field member for linking all such objects in trigger
          in one list.
        - Also setup_field() now returns void. If any error will occur we will
          report it at fix_fields() stage.
      sql/mysql_priv.h:
        Added SQL_LIST::push_back() method which allows to add another SQL_LIST
        to the end of this SQL_LIST.
      sql/sp_head.cc:
        sp_head::init()/reset_lex()/restore_lex():
         In order to fill global LEX::trg_table_fields (list of all 
         Item_trigger_field objects for trigger) we should init the same list
         in LEX of substatement before its parsing and merge it to global list
         after parsing.
      sql/sp_head.h:
        sp_instr_trigger_field:
          Made trigger_field member public to be able to add it more easily to
          global list of all Item_trigger_field objects in trigger.
      sql/sql_lex.cc:
        LEX::trg_table was removed.
      sql/sql_lex.h:
        Now we are binding Item_trigger_field's to TABLE object by passing
        through specially constructed list of all such objects in this trigger
        instead of doing this during trigger definition parsing at table open.
        So we no longer need LEX::trg_table, we use LEX::trg_table_fields list
        instead.
      sql/sql_parse.cc:
        mysql_execute_command():
          Since now we use trigger body for some checks in
          mysql_create_or_drop_trigger() we should destroy it only
          after calling this function.
      sql/sql_trigger.cc:
        Now instead of binding Item_trigger_field to TABLE objects during
        trigger definition parsing at table open, we perform pass through
        special list of all such objects in trigger. This allows easily check
        all references to fields in old/new version of row in trigger during
        execution of CREATE TRIGGER statement (this is more courtesy for users
        since we can't check everything anyway).
        We also report that such reference is bad by returning error from
        Item_trigger_field::fix_fields() method (instead of setup_field())
        This means that if trigger is broken we will bark during trigger
        execution instead of trigger definition parsing at table open.
        (i.e. now we allow to open tables with broken triggers).
        
        Table_triggers_list::prepare_old_row_accessors() method was added to be
        able to reuse code creating Field objects referencing TABLE::record[1]
        buffer instead of TABLE::record[0].
      sql/sql_trigger.h:
        Added Table_triggers_list::prepare_old_row_accessors() method to be
        able to reuse code creating Field objects referencing to TABLE::record[1]
        instead of record[0].
      sql/sql_yacc.yy:
        Now instead of performing binding of Item_trigger_field objects
        to TABLE object during trigger definition parsing at table open,
        we perform this binding by passing through specially constructed
        list of all such items in trigger.
        We also check value returned from memory allocation functions.
      c3da2d12
    • unknown's avatar
      ndb - Add testcase to autotest · e26a5dbc
      unknown authored
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        print on state on rare crash
      ndb/test/run-test/daily-basic-tests.txt:
        more test cases
      e26a5dbc
  3. 23 Nov, 2004 18 commits
  4. 22 Nov, 2004 9 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 8941ac56
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/sql_table.cc:
        Auto merged
      8941ac56
    • unknown's avatar
      post-merge · e4f75be8
      unknown authored
      e4f75be8
    • unknown's avatar
      merged · 6627dc7d
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/Support/texi2html:
        Auto merged
      client/mysqltest.c:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/heap.result:
        Auto merged
      mysql-test/r/key.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/rpl000015.result:
        Auto merged
      mysql-test/r/rpl_log_pos.result:
        Auto merged
      mysql-test/r/rpl_rotate_logs.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      mysql-test/t/key.test:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      mysql-test/t/rpl000015.test:
        Auto merged
      mysql-test/t/rpl_log_pos.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_do.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      6627dc7d
    • unknown's avatar
      typo fixed · 443143f3
      unknown authored
      443143f3
    • unknown's avatar
      merged · f57d5412
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/Support/texi2html:
        Auto merged
      client/mysqltest.c:
        Auto merged
      myisam/ft_boolean_search.c:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/rpl000015.result:
        Auto merged
      mysql-test/r/rpl_log_pos.result:
        Auto merged
      mysql-test/r/rpl_rotate_logs.result:
        Auto merged
      mysql-test/t/fulltext.test:
        Auto merged
      mysql-test/t/rpl000001.test:
        Auto merged
      mysql-test/t/rpl000015.test:
        Auto merged
      mysql-test/t/rpl_log_pos.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      f57d5412
    • unknown's avatar
    • unknown's avatar
      Bug#6252 - Duplicate columns in keys should fail · 1dc1ad9c
      unknown authored
        Added check for duplicate column in key
        Added tests and fixed tests which exploit bug
      
      
      mysql-test/r/delete.result:
        Fix test as it exploited Bug#6252
      mysql-test/r/innodb.result:
        Test for Bug#6126
      mysql-test/r/key.result:
        Test for Bug#6126/6252
      mysql-test/r/type_blob.result:
        Fix test as it exploited Bug#6252
      mysql-test/t/delete.test:
        Fix test as it exploited Bug#6252
      mysql-test/t/innodb.test:
        Test for Bug#6126
      mysql-test/t/key.test:
        Test for Bug#6126/6252
      mysql-test/t/type_blob.test:
        Fix test as it exploited Bug#6252
      sql/sql_table.cc:
        Bug#6252 - Duplicate columns in keys should fail
          Added check for duplicate column.
      1dc1ad9c
    • unknown's avatar
      merged with ul · 0d37be02
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/Support/texi2html:
        Auto merged
      mysql-test/t/rpl000001.test:
        Auto merged
      mysql-test/t/rpl000015.test:
        Auto merged
      mysql-test/t/rpl_log_pos.test:
        Auto merged
      0d37be02
    • unknown's avatar
      ndb: fix blob performance in long transactions · f74af1b7
      unknown authored
      
      ndb/include/ndbapi/NdbConnection.hpp:
        fix blob performance in long transactions
      ndb/src/ndbapi/NdbConnection.cpp:
        fix blob performance in long transactions
      ndb/test/ndbapi/testBlobs.cpp:
        fix blob performance in long transactions
      f74af1b7