1. 12 Dec, 2004 2 commits
  2. 10 Dec, 2004 10 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 81cbb255
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      81cbb255
    • unknown's avatar
      fix char(0) to use ndb bit format · d35a5cc4
      unknown authored
      d35a5cc4
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 1b051075
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.n
      
      1b051075
    • unknown's avatar
      fix according to review · 7bebde1f
      unknown authored
      7bebde1f
    • unknown's avatar
      ndb - bitfields - more tests, now passes all api tests!! · 89c0c1be
      unknown authored
      
      ndb/include/kernel/ndb_limits.h:
        #define for max null bits
      ndb/include/kernel/signaldata/TupFrag.hpp:
        Error code for too many nullbits
      ndb/include/util/Bitmask.hpp:
        Cosmetic fix
      ndb/src/common/util/Bitmask.cpp:
        handle (pos % 32) == 0
        more unit tests
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Check bitmask overflow
      ndb/src/ndbapi/ndberror.c:
        New error code
      ndb/test/ndbapi/testBitfield.cpp:
        Update test program
      ndb/test/run-test/daily-basic-tests.txt:
        Add testBitfield to autotest
      89c0c1be
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 73c6e46a
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      73c6e46a
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · d7516bd6
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-5.0
      
      d7516bd6
    • unknown's avatar
      InnoDB: Reduce the stack space consumption of ON UPDATE CASCADE · 19798cf7
      unknown authored
      operations.
      
      
      innobase/include/lock0lock.h:
        Added lock_clust_rec_read_check_and_lock_alt(),
        a variant of lock_clust_rec_read_check_and_lock()
        without the parameter "offsets".
      innobase/lock/lock0lock.c:
        Added lock_clust_rec_read_check_and_lock_alt(),
        a variant of lock_clust_rec_read_check_and_lock()
        without the parameter "offsets".
      innobase/row/row0ins.c:
        row_ins_foreign_check_on_constraint(): Do not allocate offsets
        from stack. This reduces the stack space consumption of
        ON UPDATE CASCADE operations by 400 bytes per cascaded UPDATE
        operation.
      19798cf7
    • unknown's avatar
      ndb - bitfields ndbapi test prg + bug fixes · 7735ce32
      unknown authored
      
      ndb/src/common/util/Bitmask.cpp:
        Bug fixes + better unit test
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        fix
      ndb/test/ndbapi/testBitfield.cpp:
        impl. create_random_table and transactions
      ndb/test/src/HugoCalculator.cpp:
        Only use "var" size when var-size
      7735ce32
    • unknown's avatar
      Don't display 'usage' privilege in TABLE_PRIVILEGES if we have columns privileges · 09a44a23
      unknown authored
      mysqldump skips information_schema db
      'use' now can use information_schema db
      changed value of column 'Null' to 'NO' if column is not nullable
      
      
      client/mysqldump.c:
        mysqldump skips information_schema db
      mysql-test/r/alter_table.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/create.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/ctype_collate.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/ctype_recoding.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/ctype_ujis.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/drop.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/func_sapdb.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/func_time.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/gis.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/information_schema.result:
        Added couple of tests
      mysql-test/r/information_schema_inno.result:
        Removed coulmn 'CONTRAINT_METOD' from TABLE_CONSTRAINTS
        Added column 'POSITION_IN_UNIQUE_CONSTRAINT' to KEY_COLUMN_USAGE
      mysql-test/r/innodb.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/ndb_autodiscover.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/ps_1general.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/rpl000009.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/rpl_create_database.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/schema.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/select.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/show_check.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/sp.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/type_enum.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/r/type_ranges.result:
        changed value of column 'Null' to 'NO' if column is not nullable
      mysql-test/t/information_schema.test:
        Added couple of tests
      sql/sql_acl.cc:
        Don't display 'usage' privilege in TABLE_PRIVILEGES if we have columns privileges
      sql/sql_db.cc:
        'use' now can use information_schema db
      sql/sql_show.cc:
        code cleanup
        informaton_schema(IS) db now contains data about IS itself
      sql/sql_yacc.yy:
        A fix(wrong behavour of 'SHOW COLUMNS, SHOW KEYS' with 'where condition')
      09a44a23
  3. 09 Dec, 2004 21 commits
    • unknown's avatar
      instance.cc: · 026857d7
      unknown authored
        explicit setting of reconnect (no behaviour change)
      
      
      server-tools/instance-manager/instance.cc:
        explicit setting of reconnect (no behaviour change)
      026857d7
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 912e3967
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-clean
      
      912e3967
    • unknown's avatar
      ndb - Fix alloc/dealloc of pseudo ROW_SIZE · f9f0f79b
      unknown authored
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Fix alloc/dealloc of pseudo ROW_SIZE
      f9f0f79b
    • unknown's avatar
      ndb - Fix hugoCalcValue for bits · 0b000e39
      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
      0b000e39
    • 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
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0ed34ab5
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-clean
      
      
      client/mysqltest.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      tests/client_test.c:
        Auto merged
      0ed34ab5
    • unknown's avatar
      add debug print for bit field · 7ad3a290
      unknown authored
      7ad3a290
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · d4aed64f
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-5.0
      
      d4aed64f
    • unknown's avatar
      Changing the default of libmysqlclient : it's now NO reconnection. · 846f5af8
      unknown authored
      All our programs which use mysql_real_connect() and mysql_connect() are updated accordingly, though I have deliberately
      made mysqlimport not reconnect anymore (already true for mysqldump >= 4.1.8).
      All Connector devs have been warned about the change I'm doing here - which was agreed with Monty,
      and fixes BUG#2555.
      
      
      VC++Files/libmysqltest/mytest.c:
        explicit mention of reconnect (no behaviour change)
      VC++Files/mysqlmanager/mysqlmanagerview.cpp:
        explicit mention of reconnect (no behaviour change)
      VC++Files/test1/mysql_thr.c:
        explicit mention of reconnect (no behaviour change)
      VC++Files/winmysqladmin/main.cpp:
        explicit mention of reconnect (no behaviour change)
      client/mysql.cc:
        explicit mention of reconnect if embedded (no behaviour change)
      client/mysqladmin.cc:
        explicit mention of reconnect (no behaviour change)
      client/mysqlbinlog.cc:
        explicit mention of reconnect (no behaviour change)
      client/mysqlcheck.c:
        explicit mention of reconnect (no behaviour change)
      client/mysqlimport.c:
        explicit mention of NO reconnect (behaviour change). As most time is passed in LOAD DATA INFILE,
        and as it does not make sense to reconnect after a partly failed LOAD... And as mysqlimport sometimes
        does LOCK TABLES where we mustn't reconnect...
      client/mysqlshow.c:
        explicit mention of reconnect (no behaviour change)
      client/mysqltest.c:
        explicit mention of reconnect (no behaviour change).
        Normally we should not reconnect (it's not good to have silent reconnection in the middle of a test),
        but 5.0 is too touchy to change it now. I'm marking it TODO.
      libmysql/libmysql.c:
        explicit mention of reconnect (no behaviour change)
      libmysqld/examples/builder-sample/emb_samples.cpp:
        explicit mention of reconnect (no behaviour change)
      ndb/test/ndbapi/flex_bench_mysql.cpp:
        explicit mention of reconnect (no behaviour change)
      ndb/tools/restore/consumer_restorem.cpp:
        explicit mention of reconnect (no behaviour change)
      sql-common/client.c:
        Changing the default of libmysqlclient : it's now NO reconnection.
      sql/repl_failsafe.cc:
        explicit mention of reconnect (no behaviour change)
      sql/slave.cc:
        explicit mention of reconnect (no behaviour change)
      tests/client_test.c:
        explicit mention of reconnect (no behaviour change)
      tests/connect_test.c:
        explicit mention of reconnect (no behaviour change)
      tests/deadlock_test.c:
        explicit mention of reconnect (no behaviour change)
      tests/insert_test.c:
        explicit mention of reconnect (no behaviour change)
      tests/list_test.c:
        explicit mention of reconnect (no behaviour change)
      tests/select_test.c:
        explicit mention of reconnect (no behaviour change)
      tests/showdb_test.c:
        explicit mention of reconnect (no behaviour change)
      tests/ssl_test.c:
        explicit mention of reconnect (no behaviour change)
      tests/thread_test.c:
        explicit mention of reconnect (no behaviour change)
      tools/mysqlmanager.c:
        explicit mention of reconnect (no behaviour change)
      846f5af8
    • unknown's avatar
      InnoDB: Changed interface to rec_get_offsets(), to reduce the use of · 49cc60c6
      unknown authored
      memory heaps.  This changeset plugs also a few memory leaks that
      were introduced with the compact InnoDB table format.
      
      
      innobase/btr/btr0btr.c:
        Changed interface to rec_get_offsets()
      innobase/btr/btr0cur.c:
        Changed interface to rec_get_offsets()
      innobase/btr/btr0pcur.c:
        Changed interface to rec_get_offsets()
      innobase/btr/btr0sea.c:
        Changed interface to rec_get_offsets()
      innobase/include/rem0rec.h:
        Changed interface to rec_get_offsets()
      innobase/include/rem0rec.ic:
        Changed interface to rec_get_offsets()
      innobase/lock/lock0lock.c:
        Changed interface to rec_get_offsets()
      innobase/page/page0cur.c:
        Changed interface to rec_get_offsets()
      innobase/page/page0page.c:
        Changed interface to rec_get_offsets()
      innobase/rem/rem0rec.c:
        Changed interface to rec_get_offsets()
      innobase/row/row0ins.c:
        Changed interface to rec_get_offsets()
      innobase/row/row0mysql.c:
        Changed interface to rec_get_offsets()
      innobase/row/row0purge.c:
        Changed interface to rec_get_offsets()
      innobase/row/row0row.c:
        Changed interface to rec_get_offsets()
      innobase/row/row0sel.c:
        Changed interface to rec_get_offsets()
      innobase/row/row0umod.c:
        Changed interface to rec_print()
      innobase/row/row0undo.c:
        Changed interface to rec_get_offsets()
      innobase/row/row0upd.c:
        Changed interface to rec_get_offsets()
      innobase/row/row0vers.c:
        Changed interface to rec_get_offsets()
      innobase/trx/trx0rec.c:
        Changed interface to rec_get_offsets()
      49cc60c6
    • 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
  4. 08 Dec, 2004 7 commits