1. 09 Dec, 2004 13 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 8e4ccf36
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      8e4ccf36
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · f310651e
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      f310651e
    • unknown's avatar
      ndb - Fix printout/bugs for bit column · a3a9d253
      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
      a3a9d253
    • unknown's avatar
      add debug print for bit field · 7ad3a290
      unknown authored
      7ad3a290
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 15ffb6ea
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      15ffb6ea
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · a0810bcd
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      a0810bcd
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · a65f44bc
      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
      a65f44bc
    • unknown's avatar
      use new ndb bitformat to shrink storage · 4c9df4a6
      unknown authored
      4c9df4a6
    • unknown's avatar
      bug#6995 - fixed so that ndb_restore 4.1.8 can read files · f64d3d93
      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
      f64d3d93
    • unknown's avatar
      ndb - bit field · c9d570c5
      unknown authored
        micro optimization
      
      
      ndb/src/common/util/Bitmask.cpp:
        A litter smarter handling of <<32
      c9d570c5
    • unknown's avatar
      bug#6995 - ndb · 674faf53
      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
      674faf53
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b72dee6b
      unknown authored
      into mysql.com:/home/cps/mysql/devel/im/mysql-5.0-im
      
      b72dee6b
    • unknown's avatar
      merge · e90509b8
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      server-tools/instance-manager/mysqlmanager.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      e90509b8
  2. 08 Dec, 2004 11 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 2d8efeb1
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      2d8efeb1
    • unknown's avatar
      ndb - Fix arbitrary sized bitfields · b65e5fbe
      unknown authored
      
      ndb/src/common/util/Bitmask.cpp:
        Fix arbitrary sized bitfields
      b65e5fbe
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 51ea3b04
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-5000
      
      51ea3b04
    • unknown's avatar
      ndb - Fixed bitfields of upto 31 bits · 5c022a99
      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
      5c022a99
    • unknown's avatar
      A fix for a crash in sp.test with -debug-max. · 5baec239
      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...
      
      5baec239
    • unknown's avatar
      InnoDB: Make btr_search_drop_page_hash_index() work with the compact · 62d24b51
      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.
      62d24b51
    • unknown's avatar
      Cset exclude: heikki@hundin.mysql.fi|ChangeSet|20041027124510|04970 · ba51504e
      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
      ba51504e
    • unknown's avatar
      row0mysql.c: · 53269264
      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().
      53269264
    • unknown's avatar
      - VARCHAR(n) with binary character set is now displayed as VARBINARY(N). · 67fa9750
      unknown authored
      - CREATE TABLE t1 SELECT BINARY 'literal'
        now creates a VARBINARY() column, not a BINARY().
      
      67fa9750
    • unknown's avatar
      Correct and move comment · 2af60717
      unknown authored
      
      ndb/src/ndbapi/TransporterFacade.hpp:
        Correct and move comment.
      2af60717
    • unknown's avatar
      Remove dead code · f0243779
      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
      f0243779
  3. 07 Dec, 2004 8 commits
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 1a21ea87
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      1a21ea87
    • unknown's avatar
      ndb - Test program for new bitmask functions · c8be23df
      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
      c8be23df
    • unknown's avatar
      Added some tests for new varchar. · e30179d9
      unknown authored
      e30179d9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 0c473d07
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      configure.in:
        Auto merged
      sql/handler.h:
        Auto merged
      0c473d07
    • unknown's avatar
      Update results for new varchar handling · 5b3b9e78
      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
      5b3b9e78
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · b58cc39e
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      b58cc39e
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 503c5810
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      503c5810
    • unknown's avatar
      Fixes for changes in handler interface so that tina can compile in 5.0. · 1b965522
      unknown authored
      
      sql/examples/ha_tina.cc:
        Fixes for changes to handler interface.
      1b965522
  4. 06 Dec, 2004 8 commits
    • unknown's avatar
      Removed the need for our own sanity check file (which was just the default anyways). · 63e998b8
      unknown authored
      
      BitKeeper/deleted/.del-sanity.m4~bce40721a813daac:
        Delete: config/ac-macros/sanity.m4
      configure.in:
        Removed the need for our own sanity check.
      63e998b8
    • unknown's avatar
      Merge with new VARCHAR code · 916dab97
      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
      916dab97
    • unknown's avatar
      Merge · 7d8f8f46
      unknown authored
      
      sql/handler.h:
        Auto merged
      7d8f8f46
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 8a2514ba
      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
      8a2514ba
    • unknown's avatar
      After merge fixes · 7bd0e1a4
      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
      7bd0e1a4
    • unknown's avatar
      int decimal_is_zero(decimal *from); · c5a287fb
      unknown authored
      c5a287fb
    • unknown's avatar
      692c0a1f
    • unknown's avatar
      skeleton for ndb bitfields testing · b32b3026
      unknown authored
      
      ndb/test/ndbapi/Makefile.am:
        skeleton for bitfields testing
      b32b3026