1. 13 Dec, 2004 1 commit
    • unknown's avatar
      Most of impl 1, "report port" of WL2278. · 6d005f57
      unknown authored
      Add facility to report back to ndb_mgmd what port was used for a connection.
      
      We do not actually do the reporting back yet.
      
      
      ndb/include/mgmapi/mgmapi_debug.h:
        Add prototype for ndb_mgm_set_connection_int_parameter
      ndb/src/mgmapi/mgmapi.cpp:
        Add ndb_mgm_set_connection_int_parameter.
        
        Do 'set connection parameter' ndb_mgm_call
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Add MgmtSrvr::setConnectionDbParameter.
        
        Find the connection between node1 and node2,
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Add prototype for setConnectionDbParameter
      ndb/src/mgmsrv/Services.cpp:
        Add 'set connection parameter' cmd and MgmApiSession::setConnectionParameter handler.
      ndb/src/mgmsrv/Services.hpp:
        add setConnectionParameter prototype.
      6d005f57
  2. 09 Dec, 2004 10 commits
    • unknown's avatar
      ndb - Fix alloc/dealloc of pseudo ROW_SIZE · febb9bc7
      unknown authored
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Fix alloc/dealloc of pseudo ROW_SIZE
      febb9bc7
    • unknown's avatar
      ndb - Fix hugoCalcValue for bits · d9ab043e
      unknown authored
      
      ndb/test/include/HugoCalculator.hpp:
        Fix calcValue for bits
      ndb/test/src/HugoCalculator.cpp:
        Fix calcValue for bits
      ndb/test/src/HugoOperations.cpp:
        Fix calcValue for bits
      ndb/test/tools/Makefile.am:
        Fix calcValue for bits
      d9ab043e
    • unknown's avatar
      ndb - Fix printout/bugs for bit column · 4cf675a2
      unknown authored
      
      ndb/include/kernel/AttributeHeader.hpp:
        Add pseudo column for row size
      ndb/include/ndbapi/NdbDictionary.hpp:
        Add pseudo column for row size
      ndb/include/util/Bitmask.hpp:
        Remove assert which was not needed
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Missing break
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        1) New pseudo column ROW_SIZE
        2) Fix bug in Bit columns
      ndb/src/ndbapi/NdbDictionary.cpp:
        Fix prinout of bit column
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Bug fix Bit column
      ndb/src/ndbapi/NdbRecAttr.cpp:
        Fix prinout of bit column
      ndb/test/src/HugoCalculator.cpp:
        Bit enable Hugo
      ndb/test/src/HugoOperations.cpp:
        Bit enable Hugo
      ndb/test/src/NDBT_Tables.cpp:
        Bit enable Hugo
      4cf675a2
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · a67ee81e
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      a67ee81e
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 3f8b0666
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Auto merged
      ndb/tools/restore/restore_main.cpp:
        Auto merged
      3f8b0666
    • unknown's avatar
      bug#6995 - fixed so that ndb_restore 4.1.8 can read files · f67fe154
      unknown authored
        created by 4.1.7 as bugfix changed binary format
      
      
      ndb/tools/restore/Restore.cpp:
        Fixed so that version 4.1.8 of restore can read
          files created by 4.1.7
      ndb/tools/restore/Restore.hpp:
        Fixed so that version 4.1.8 of restore can read
          files created by 4.1.7
      ndb/tools/restore/main.cpp:
        Fixed so that version 4.1.8 of restore can read
          files created by 4.1.7
      f67fe154
    • unknown's avatar
      ndb - bit field · d25261e0
      unknown authored
        micro optimization
      
      
      ndb/src/common/util/Bitmask.cpp:
        A litter smarter handling of <<32
      d25261e0
    • unknown's avatar
      bug#6995 - ndb · 37865bc9
      unknown authored
      don't store keys in normalized form
      instead save everythings as normal attributes               
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      ndb/tools/restore/Restore.cpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      ndb/tools/restore/Restore.hpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      37865bc9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 89e77b65
      unknown authored
      into mysql.com:/home/cps/mysql/devel/im/mysql-5.0-im
      
      
      89e77b65
    • unknown's avatar
      merge · f7ef17dd
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      server-tools/instance-manager/mysqlmanager.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      f7ef17dd
  3. 08 Dec, 2004 11 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · b8970d99
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      b8970d99
    • unknown's avatar
      ndb - Fix arbitrary sized bitfields · 377aedfb
      unknown authored
      
      ndb/src/common/util/Bitmask.cpp:
        Fix arbitrary sized bitfields
      377aedfb
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 04ddb612
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-5000
      
      
      04ddb612
    • unknown's avatar
      ndb - Fixed bitfields of upto 31 bits · c43c904f
      unknown authored
      
      ndb/include/util/Bitmask.hpp:
        Fixed bitfields of upto 31 bits
      ndb/src/common/util/Bitmask.cpp:
        Fixed bitfields of upto 31 bits
      c43c904f
    • unknown's avatar
      A fix for a crash in sp.test with -debug-max. · b80db00e
      unknown authored
      When the joins were not cleaned up before the tables
      were closed, a JOIN_TAB still held a pointer to a
      meanwhile closed table and tried to close it again
      during item cleanup...
      
      
      b80db00e
    • unknown's avatar
      InnoDB: Make btr_search_drop_page_hash_index() work with the compact · f9bd116c
      unknown authored
      record format without requiring the doubly linked list added by
      Heikki in ChangeSet@1.1627.16.2
      
      
      innobase/btr/btr0sea.c:
        btr_search_drop_page_hash_index(): support the compact record format
      innobase/ibuf/ibuf0ibuf.c:
        ibuf_insert_to_index_page(): Remove unnecessary computation of
        field offsets.
      innobase/row/row0ins.c:
        row_ins_index_entry_low(): Remove unnecessary computation of
        field offsets.
      f9bd116c
    • unknown's avatar
      Cset exclude: heikki@hundin.mysql.fi|ChangeSet|20041027124510|04970 · 746799fb
      unknown authored
      
      innobase/btr/btr0sea.c:
        Exclude
      innobase/buf/buf0buf.c:
        Exclude
      innobase/buf/buf0lru.c:
        Exclude
      innobase/ha/ha0ha.c:
        Exclude
      innobase/include/buf0buf.h:
        Exclude
      innobase/include/ha0ha.h:
        Exclude
      innobase/include/hash0hash.h:
        Exclude
      746799fb
    • unknown's avatar
      row0mysql.c: · ff2c115b
      unknown authored
        Remove parameter from call to btr_search_validate().
      buf0buf.c:
        Initialize member "index" of buf_block_t.
      buf0buf.h:
        Add member "index" to buf_block_t.
      btr0sea.h:
        Remove parameter of btr_search_validate()
      btr0sea.c:
        Make use of the added member "index" of buf_block_t.
      
      
      innobase/btr/btr0sea.c:
        Make use of the added member "index" of buf_block_t.
      innobase/include/btr0sea.h:
        Remove parameter of btr_search_validate()
      innobase/include/buf0buf.h:
        Add member "index" to buf_block_t.
      innobase/buf/buf0buf.c:
        Initialize member "index" of buf_block_t.
      innobase/row/row0mysql.c:
        Remove parameter from call to btr_search_validate().
      ff2c115b
    • unknown's avatar
      - VARCHAR(n) with binary character set is now displayed as VARBINARY(N). · 22b16624
      unknown authored
      - CREATE TABLE t1 SELECT BINARY 'literal'
        now creates a VARBINARY() column, not a BINARY().
      
      
      22b16624
    • unknown's avatar
      Correct and move comment · 9be0b610
      unknown authored
      
      ndb/src/ndbapi/TransporterFacade.hpp:
        Correct and move comment.
      9be0b610
    • unknown's avatar
      Remove dead code · e6c14092
      unknown authored
      
      ndb/src/ndbapi/TransporterFacade.cpp:
        Remove dead #if 0'd out condition with misleading comment
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e6c14092
  4. 07 Dec, 2004 8 commits
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · c3888119
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      c3888119
    • unknown's avatar
      ndb - Test program for new bitmask functions · 7bf034be
      unknown authored
      
      ndb/include/util/Bitmask.hpp:
        Add general set/getField
      ndb/src/common/util/Bitmask.cpp:
        Test program for bitmask
      ndb/src/common/util/Makefile.am:
        Test program for bitmask
      7bf034be
    • unknown's avatar
      Added some tests for new varchar. · 3a994c8a
      unknown authored
      3a994c8a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · d11d6d69
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      configure.in:
        Auto merged
      sql/handler.h:
        Auto merged
      d11d6d69
    • unknown's avatar
      Update results for new varchar handling · 9ca50fe1
      unknown authored
      Fixed compiler warnings
      String results in CREATE ... SELECT are now created as CHAR(0), VARCHAR(X) or TEXT() depending on item->max_length
      
      
      myisam/myisampack.c:
        Indentation cleanup
      mysql-test/r/analyse.result:
        Update results for new varchar handling
      mysql-test/r/case.result:
        Update results for new varchar handling
      mysql-test/r/cast.result:
        Update results for new varchar handling
      mysql-test/r/create.result:
        Update results for new varchar handling
      mysql-test/r/ctype_mb.result:
        Update results for new varchar handling
      mysql-test/r/ctype_ucs.result:
        Update results for new varchar handling
      mysql-test/r/ctype_utf8.result:
        Update results for new varchar handling
      mysql-test/r/func_group.result:
        Update results for new varchar handling
      mysql-test/r/func_str.result:
        Update results for new varchar handling
      mysql-test/r/func_system.result:
        Update results for new varchar handling
      mysql-test/r/heap.result:
        Update results for new varchar handling
      mysql-test/r/heap_hash.result:
        Update results for new varchar handling
      mysql-test/r/information_schema.result:
        Update results for new varchar handling
      mysql-test/r/metadata.result:
        Update results for new varchar handling
      mysql-test/r/null.result:
        Update results for new varchar handling
      mysql-test/r/ps_2myisam.result:
        Update results for new varchar handling
      mysql-test/r/ps_3innodb.result:
        Update results for new varchar handling
      mysql-test/r/ps_4heap.result:
        Update results for new varchar handling
      mysql-test/r/ps_5merge.result:
        Update results for new varchar handling
      mysql-test/r/ps_6bdb.result:
        Update results for new varchar handling
      mysql-test/r/subselect.result:
        Update results for new varchar handling
      mysql-test/r/type_ranges.result:
        Update results for new varchar handling
      mysql-test/r/union.result:
        Update results for new varchar handling
      mysql-test/t/heap.test:
        Update results for new varchar handling
      mysql-test/t/type_ranges.test:
        Added extra test to test generated type for string functions
      sql/field.cc:
        Update results for new varchar handling
      sql/field.h:
        Update results for new varchar handling
        We have to use orig_table instead of table as 'table' may point to a new field in the created table
      sql/field_conv.cc:
        Update results for new varchar handling
      sql/ha_heap.cc:
        Indentation fixes
      sql/ha_innodb.cc:
        Update results for new varchar handling
      sql/item.cc:
        Update results for new varchar handling
        Remove compiler warnings
        String results in CREATE ... SELECT are now created as CHAR(0), VARCHAR(X) or TEXT() depending on item->max_length
      sql/item.h:
        Update results for new varchar handling
      sql/item_func.cc:
        Update results for new varchar handling
        String results in CREATE ... SELECT are now created as CHAR(0), VARCHAR(X) or TEXT() depending on item->max_length
      sql/item_func.h:
        ANALYZE now return VARCHAR columns
      sql/procedure.h:
        Update results for new varchar handling
      sql/sql_acl.cc:
        After merge fixes
      sql/sql_select.cc:
        Update results for new varchar handling
        String results in temporary tables are now created as CHAR(0), VARCHAR(X) or TEXT() depending on item->max_length
      sql/sql_show.cc:
        After merge fixes
      sql/sql_table.cc:
        After merge fixes
      strings/ctype-tis620.c:
        After merge fixes
      tests/client_test.c:
        Fixed results, as in MySQL 5.0 strings in CREATE ... SELECT are creates VARCHAR columns
      9ca50fe1
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 7249990d
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      7249990d
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 3307aa7f
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      3307aa7f
    • unknown's avatar
      Fixes for changes in handler interface so that tina can compile in 5.0. · c4cc1173
      unknown authored
      
      sql/examples/ha_tina.cc:
        Fixes for changes to handler interface.
      c4cc1173
  5. 06 Dec, 2004 10 commits
    • unknown's avatar
      Removed the need for our own sanity check file (which was just the default anyways). · 3a5f7eab
      unknown authored
      
      BitKeeper/deleted/.del-sanity.m4~bce40721a813daac:
        Delete: config/ac-macros/sanity.m4
      configure.in:
        Removed the need for our own sanity check.
      3a5f7eab
    • unknown's avatar
      Merge with new VARCHAR code · 8379b61e
      unknown authored
      
      configure.in:
        Auto merged
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Auto merged
      BitKeeper/deleted/.del-ha_isam.cc~4dce65904db2675e:
        Auto merged
      BitKeeper/deleted/.del-ha_isammrg.cc~dc682e4755d77a2e:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      heap/hp_create.c:
        Auto merged
      heap/hp_delete.c:
        Auto merged
      heap/hp_hash.c:
        Auto merged
      heap/hp_write.c:
        Auto merged
      include/decimal.h:
        Auto merged
      include/m_ctype.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_create.c:
        Auto merged
      myisam/mi_write.c:
        Auto merged
      mysql-test/r/ctype_tis620.result:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/order_by.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/endspace.test:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      mysql-test/t/ps_1general.test:
        Auto merged
      mysql-test/t/strict.test:
        Auto merged
      mysql-test/t/type_blob.test:
        Auto merged
      ndb/src/common/util/NdbSqlUtil.cpp:
        Auto merged
      scripts/mysql_fix_privilege_tables.sh:
        Auto merged
      sql/field.h:
        Auto merged
      sql/field_conv.cc:
        Auto merged
      sql/ha_heap.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_help.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/structs.h:
        Auto merged
      sql/table.cc:
        Auto merged
      strings/ctype-czech.c:
        Auto merged
      strings/ctype-uca.c:
        Auto merged
      strings/ctype-utf8.c:
        Auto merged
      strings/ctype-win1250ch.c:
        Auto merged
      strings/decimal.c:
        Auto merged
      tests/client_test.c:
        Auto merged
      mysql-test/r/bdb.result:
        Merge with VARCHAR code
      mysql-test/r/heap.result:
        Merge with VARCHAR code
      mysql-test/r/innodb.result:
        Merge with VARCHAR code
      mysql-test/r/select.result.es:
        Merge with VARCHAR code
      mysql-test/t/bdb.test:
        Merge with VARCHAR code
      mysql-test/t/heap.test:
        Merge with VARCHAR code
      mysql-test/t/innodb.test:
        Merge with VARCHAR code
      sql/field.cc:
        Merge with VARCHAR code
      sql/item.cc:
        Merge with VARCHAR code
      sql/sql_acl.cc:
        Merge with VARCHAR code
      sql/sql_parse.cc:
        Merge with VARCHAR code
      sql/sql_table.cc:
        Merge with VARCHAR code
      sql/sql_update.cc:
        Merge with VARCHAR code
      sql/table.h:
        Merge with VARCHAR code
      strings/ctype-mb.c:
        Don't pad my_like_range with max_str for simple LIKE expression
      strings/ctype-tis620.c:
        Merge with VARCHAR code
      strings/ctype-ucs2.c:
        Added new argument to my_strnncollsp_ucs2()
        Simply code
      8379b61e
    • unknown's avatar
      Merge · e0dad055
      unknown authored
      
      sql/handler.h:
        Auto merged
      e0dad055
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 19a95482
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      19a95482
    • unknown's avatar
      After merge fixes · a1fba2da
      unknown authored
      Fixed compiler warnings
      Fix core dump when sending SIGHUP to mysqld
      
      
      mysql-test/r/drop_temp_table.result:
        After merge fixes
      mysql-test/r/grant.result:
        After merge fixes
      mysql-test/r/group_min_max.result:
        After merge fixes
      mysql-test/r/innodb.result:
        After merge fixes
      mysql-test/r/insert_select.result:
        After merge fixes
      mysql-test/r/rpl_charset.result:
        After merge fixes
      mysql-test/r/rpl_create_database.result:
        After merge fixes
      mysql-test/r/rpl_loaddata_rule_m.result:
        After merge fixes
      mysql-test/t/rpl_charset.test:
        After merge fixes
      mysql-test/t/rpl_create_database.test:
        After merge fixes
      sql-common/client.c:
        After merge fixes
      sql/item.cc:
        After merge fixes
      sql/mysqld.cc:
        Fix core dump when sending SIGHUP to mysqld
      sql/sql_acl.cc:
        Better comment
      sql/sql_derived.cc:
        Fixed comment
        Added missing DBUG_RETURN
      sql/sql_insert.cc:
        Fixed compiler warnings
        After merge fixes
      sql/sql_lex.cc:
        After merge fixes
        Removed compiler warnings
      sql/sql_parse.cc:
        After merge fixes
      sql/sql_select.cc:
        More debugging
      sql/sql_table.cc:
        Added missing DBUG_VOID_RETURN
      sql/sql_update.cc:
        Fixed compiler warning
      sql/sql_view.cc:
        Added missing DBUG_RETURN
        Fixed compiler warnings
        Added flag to signal that the view is a derived table
      a1fba2da
    • unknown's avatar
      int decimal_is_zero(decimal *from); · a4a69f73
      unknown authored
      a4a69f73
    • unknown's avatar
      6f796b71
    • unknown's avatar
      skeleton for ndb bitfields testing · d4a6ce9e
      unknown authored
      
      ndb/test/ndbapi/Makefile.am:
        skeleton for bitfields testing
      d4a6ce9e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 399e2ae3
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      399e2ae3
    • unknown's avatar
      strings/decimal.c · 66531aa4
      unknown authored
          handle test_ro(".999", 0, HALF_UP, "1");
      
      
      strings/decimal.c:
        handle test_ro(".999", 0, HALF_UP, "1");
      66531aa4