1. 14 Dec, 2004 1 commit
  2. 13 Dec, 2004 8 commits
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 629153d4
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my50-cc
      
      
      629153d4
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 8ff19719
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/kernel/main.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      8ff19719
    • unknown's avatar
      ndb - Handle shm-transporter wo/ busy-wait + also · f507b377
      unknown authored
            handled mixed tcp/shm transporters
      + bug#7124
      
      
      ndb/src/common/transporter/SHM_Transporter.cpp:
        Add remote/own pid for signaling availability of data on shm-segment
      ndb/src/common/transporter/SHM_Transporter.hpp:
        Add remote/own pid for signaling availability of data on shm-segment
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Add remote/own pid for signaling availability of data on shm-segment
      ndb/src/kernel/main.cpp:
        Set pid to use for shm-signaling
      ndb/src/mgmsrv/ConfigInfo.cpp:
        bug#7124
      ndb/src/ndbapi/TransporterFacade.cpp:
        Set pid to use for shm-signaling
      f507b377
    • unknown's avatar
      ndb: nothing · a2649d0d
      unknown authored
      
      ndb/test/ndbapi/Makefile.am:
        foo
      a2649d0d
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 756572e1
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my50-cc
      
      
      756572e1
    • unknown's avatar
      ndb - Fix memory leak in HugoLoad · a59a6361
      unknown authored
      
      ndb/test/src/HugoTransactions.cpp:
        Fix memory leak in HugoLoad
      a59a6361
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb · 995eb1f1
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
      
      
      995eb1f1
    • 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
  3. 12 Dec, 2004 9 commits
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 286387d3
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      286387d3
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · c0564421
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      c0564421
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b9520662
      unknown authored
      into mysql.com:/home/cps/mysql/trees/autofail/mysql-5.0
      
      
      b9520662
    • unknown's avatar
      fix autobuild failures · 596876f9
      unknown authored
      
      server-tools/instance-manager/buffer.cc:
        fix typo
      server-tools/instance-manager/commands.cc:
        get rid of compiler warnings
      server-tools/instance-manager/guardian.cc:
        fix compiler warning
      server-tools/instance-manager/instance.cc:
        fix warnings
      server-tools/instance-manager/instance_map.cc:
        fix return value
      server-tools/instance-manager/instance_map.h:
        fix problem, caused autobuild failure. Looks like a gcc problem - 
        "friend class <name>" doesn't work if specified before enclosed class
        <name> (this is not present in newer gcc versions)
      596876f9
    • unknown's avatar
      Fix test results that may change from run to run · 5ae35e32
      unknown authored
      Added comments (from code review on pull)
      
      
      mysql-test/r/heap.result:
        Fix results that may change from run to run
      mysql-test/r/ps_5merge.result:
        Fix wrong result
      mysql-test/t/heap.test:
        Make results predictable
      sql/sql_show.cc:
        Add comments
        Fixed typo
      5ae35e32
    • unknown's avatar
      ndb: wl-1732 support all charsets · a7fe1c39
      unknown authored
      
      ndb/include/kernel/AttributeDescriptor.hpp:
        wl-1732 support all charsets
      ndb/include/kernel/ndb_limits.h:
        wl-1732 support all charsets
      ndb/include/kernel/signaldata/TuxBound.hpp:
        wl-1732 support all charsets
      ndb/include/util/NdbSqlUtil.hpp:
        wl-1732 support all charsets
      ndb/src/common/util/NdbSqlUtil.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/NdbScanOperation.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/ndberror.c:
        wl-1732 support all charsets
      ndb/test/ndbapi/Makefile.am:
        wl-1732 support all charsets
      ndb/test/ndbapi/testOIBasic.cpp:
        wl-1732 support all charsets
      ndb/tools/desc.cpp:
        wl-1732 support all charsets
      a7fe1c39
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 47c39015
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      47c39015
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · bd1fc18b
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      bd1fc18b
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 93978350
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      93978350
  4. 10 Dec, 2004 11 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 3879b149
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      3879b149
    • unknown's avatar
      fix char(0) to use ndb bit format · 4d83b7a5
      unknown authored
      4d83b7a5
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 57867f07
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.n
      
      
      57867f07
    • unknown's avatar
      fix according to review · 6bcee4f1
      unknown authored
      6bcee4f1
    • unknown's avatar
      ndb - bitfields - more tests, now passes all api tests!! · 07735208
      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
      07735208
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · ed683a7a
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      ed683a7a
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9d946e8a
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-5.0
      
      
      9d946e8a
    • unknown's avatar
      InnoDB: Reduce the stack space consumption of ON UPDATE CASCADE · 0404a607
      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.
      0404a607
    • unknown's avatar
      ndb - bitfields ndbapi test prg + bug fixes · d4076cec
      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
      d4076cec
    • unknown's avatar
      Don't display 'usage' privilege in TABLE_PRIVILEGES if we have columns privileges · c7d7c9ca
      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')
      c7d7c9ca
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 3a2d0371
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      client/mysqltest.c:
        Auto merged
      3a2d0371
  5. 09 Dec, 2004 11 commits
    • unknown's avatar
      instance.cc: · 6f8ca251
      unknown authored
        explicit setting of reconnect (no behaviour change)
      
      
      server-tools/instance-manager/instance.cc:
        explicit setting of reconnect (no behaviour change)
      6f8ca251
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2fb4a502
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-clean
      
      
      2fb4a502
    • 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
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 02f33cd9
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      02f33cd9
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 1aba19d1
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      1aba19d1
    • 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 gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · a5286aa9
      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
      a5286aa9
    • unknown's avatar
      add debug print for bit field · 3ef3fa73
      unknown authored
      3ef3fa73
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · eed23437
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-5.0
      
      
      eed23437
    • unknown's avatar
      Changing the default of libmysqlclient : it's now NO reconnection. · 40c2a887
      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)
      40c2a887