1. 28 Jan, 2007 1 commit
    • unknown's avatar
      After merge fixes · f40e0cc0
      unknown authored
      Removed a lot of compiler warnings
      Removed not used variables, functions and labels
      Initialize some variables that could be used unitialized (fatal bugs)
      %ll -> %l
      
      
      BitKeeper/etc/ignore:
        added storage/archive/archive_reader
      BUILD/SETUP.sh:
        ccache now works again
      BUILD/compile-pentium-gcov:
        Added marker that we are using gcov and need special version of ccache
      client/mysql_upgrade.c:
        after merge fixes
      client/mysqlbinlog.cc:
        after merge fixes
      client/mysqldump.c:
        Removed compiler warnings
      client/mysqlimport.c:
        Removed compiler warnings
      client/mysqltest.c:
        Removed compiler warnings
      mysql-test/t/mysqlcheck.test:
        After merge fixes
      mysys/my_bitmap.c:
        After merge fix
      sql/event_data_objects.cc:
        Removed not used variable
      sql/event_db_repository.cc:
        Removed not used variable
      sql/event_queue.cc:
        Removed not used variable
      sql/field.cc:
        After merge fixes
      sql/filesort.cc:
        Added missing initialization (could cause core dump on EOM)
      sql/ha_ndbcluster.cc:
        After merge fixes
        Removed not used variables
        false-> FALSE
        true -> TRUE
        %llu -> %lu (portability fix)
        Fixed bug where field could be used unitialized in build_scan_filter_predicate()
      sql/ha_ndbcluster_binlog.cc:
        Removed not used label
      sql/ha_partition.cc:
        Removed not used variables
      sql/handler.cc:
        Removed not used variable & function
      sql/item.cc:
        After merge fixes
      sql/item_cmpfunc.cc:
        Removed not used variable
      sql/item_func.cc:
        Removed compiler warning
      sql/item_xmlfunc.cc:
        Removed not used variables & declarations
      sql/log.cc:
        Removed compiler warnings
        Removed not used variables & label
      sql/log.h:
        After merge fixes
      sql/log_event.cc:
        Removed not used variable & function
      sql/mysqld.cc:
        After merge fixes
      sql/opt_range.cc:
        Removed not used declaration
      sql/partition_info.cc:
        Removed not used variable
      sql/protocol.cc:
        Removed compiler warnings
      sql/set_var.cc:
        Removed not used variable
      sql/set_var.h:
        After merge fix
      sql/slave.cc:
        After merge fixes
      sql/slave.h:
        Moved wrong declaration to slave.cc
      sql/sp.cc:
        Fixed format of DBUG_PRINT
      sql/sp_head.cc:
        After merge fixes
      sql/spatial.cc:
        Added DBUG_ASSERT() to verify that LINT_INIT is right
      sql/sql_class.cc:
        Removed not used variables
      sql/sql_insert.cc:
        After merge fixes
      sql/sql_parse.cc:
        Removed not used variable
        After merge fixes
      sql/sql_partition.cc:
        Removed not used variables
      sql/sql_plugin.cc:
        Removed compiler warnings when compiling embedded server
      sql/sql_servers.cc:
        Removed not used variables
        Moved wrong placed calle to use_all_columns()
      sql/sql_servers.h:
        Moved declaration to right sql_servers.cc
      sql/sql_show.cc:
        Removed not used variables and function
        After merge fixes
      sql/sql_table.cc:
        Removed not used variable
      sql/sql_yacc.yy:
        Removed not used variables
        Lex -> lex
      sql/table.cc:
        Indentation fix
      storage/archive/ha_archive.cc:
        After merge fixes
      storage/example/ha_example.cc:
        Indentation fixes
      storage/federated/ha_federated.cc:
        Removed not used variables
      storage/myisam/mi_rkey.c:
        Added 0x before address
      storage/myisammrg/ha_myisammrg.cc:
        Removed old declaration
      storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp:
        After merge fixes
      storage/ndb/include/util/SimpleProperties.hpp:
        After merge fixes
      storage/ndb/src/common/debugger/EventLogger.cpp:
        Removed not used function
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Removed compiler warnings
        Removed not used variables
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        After merge fixes
        Removed not used variables
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Removed not used varibles.
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Removed not used variables
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        Removed not used variables and label
      storage/ndb/src/ndbapi/NdbOperationSearch.cpp:
        Removed not used label
      storage/ndb/src/ndbapi/SignalSender.cpp:
        Removed not used function
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Removed not used variables
      storage/ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Moved static declaration from header file
      storage/ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Moved static declaration from header file
      support-files/compiler_warnings.supp:
        Remove some warnings from ndb
      f40e0cc0
  2. 27 Jan, 2007 1 commit
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-5.0 · 36b05892
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      Merge of 'remove compiler warnings when using -Wshadow'
      
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/deleted/.del-MetaData.hpp~538342afcd8ac53c:
        Auto merged
      configure.in:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      client/mysqlbinlog.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      extra/yassl/include/yassl_int.hpp:
        Auto merged
      extra/yassl/taocrypt/include/algebra.hpp:
        Auto merged
      include/m_ctype.h:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      include/my_time.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/mysqlbinlog.test:
        Auto merged
      mysql-test/t/mysqlcheck.test:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/wait_timeout.test:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/mf_iocache2.c:
        Auto merged
      mysys/mf_keycache.c:
        Auto merged
      server-tools/instance-manager/instance_options.cc:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_geofunc.cc:
        Auto merged
      sql/item_row.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_range.h:
        Auto merged
      sql/password.c:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/spatial.h:
        Auto merged
      sql/sql_cache.h:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      sql/sql_string.h:
        Auto merged
      sql/sql_trigger.h:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/tztime.cc:
        Auto merged
      storage/archive/ha_archive.h:
        Auto merged
      storage/heap/hp_write.c:
        Auto merged
      storage/myisam/ft_boolean_search.c:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      storage/myisam/mi_search.c:
        Auto merged
      storage/myisam/mi_unique.c:
        Auto merged
      storage/myisam/myisampack.c:
        Auto merged
      storage/myisam/rt_index.c:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp:
        Auto merged
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Auto merged
      storage/ndb/include/ndbapi/NdbReceiver.hpp:
        Auto merged
      storage/ndb/include/transporter/TransporterDefinitions.hpp:
        Auto merged
      storage/ndb/include/util/OutputStream.hpp:
        Auto merged
      storage/ndb/include/util/SimpleProperties.hpp:
        Auto merged
      storage/ndb/include/util/SocketAuthenticator.hpp:
        Auto merged
      storage/ndb/include/util/SocketServer.hpp:
        Auto merged
      storage/ndb/src/common/portlib/NdbTick.c:
        Auto merged
      storage/ndb/src/common/transporter/SHM_Transporter.cpp:
        Auto merged
      storage/ndb/src/common/transporter/TCP_Transporter.cpp:
        Auto merged
      storage/ndb/src/common/transporter/TCP_Transporter.hpp:
        Auto merged
      storage/ndb/src/common/transporter/Transporter.cpp:
        Auto merged
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      storage/ndb/src/common/util/File.cpp:
        Auto merged
      storage/ndb/src/common/util/Properties.cpp:
        Auto merged
      storage/ndb/src/common/util/SocketClient.cpp:
        Auto merged
      storage/ndb/src/common/util/random.c:
        Auto merged
      storage/ndb/src/common/util/socket_io.cpp:
        Auto merged
      storage/ndb/src/cw/cpcd/APIService.cpp:
        Auto merged
      storage/ndb/src/cw/cpcd/main.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/src/mgmapi/LocalConfig.cpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/Services.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/main.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ClusterMgr.hpp:
        Auto merged
      storage/ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbIndexOperation.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbOperationExec.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbOperationSearch.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbScanFilter.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      storage/ndb/src/ndbapi/SignalSender.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      storage/ndb/tools/delete_all.cpp:
        Auto merged
      storage/ndb/tools/desc.cpp:
        Auto merged
      storage/ndb/tools/drop_index.cpp:
        Auto merged
      storage/ndb/tools/drop_tab.cpp:
        Auto merged
      storage/ndb/tools/listTables.cpp:
        Auto merged
      storage/ndb/tools/ndb_condig.cpp:
        Auto merged
      storage/ndb/tools/restore/Restore.hpp:
        Auto merged
      storage/ndb/tools/restore/consumer.hpp:
        Auto merged
      storage/ndb/tools/select_all.cpp:
        Auto merged
      storage/ndb/tools/select_count.cpp:
        Auto merged
      strings/ctype-bin.c:
        Auto merged
      strings/ctype-cp932.c:
        Auto merged
      strings/ctype-eucjpms.c:
        Auto merged
      strings/ctype-mb.c:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-ujis.c:
        Auto merged
      strings/ctype-utf8.c:
        Auto merged
      strings/decimal.c:
        Auto merged
      BUILD/SETUP.sh:
        manual merge
      BUILD/compile-pentium-gcov:
        manual merge
      Makefile.am:
        manual merge
      client/mysqltest.c:
        Automatic merge
      include/mysql.h:
        manual merge
      libmysqld/lib_sql.cc:
        Automatic merge
      mysql-test/r/mysqlbinlog.result:
        Automatic merge
      mysql-test/r/mysqlcheck.result:
        Fixed test case (we should never drop 'test' database)
      mysys/my_bitmap.c:
        manual merge
      server-tools/instance-manager/commands.h:
        manual merge
      server-tools/instance-manager/guardian.cc:
        manual merge
      server-tools/instance-manager/mysql_connection.cc:
        manual merge
      server-tools/instance-manager/options.cc:
        manual merge
      server-tools/instance-manager/options.h:
        manual merge
      server-tools/instance-manager/parse.cc:
        Automatic merge
      server-tools/instance-manager/user_map.cc:
        manual merge
      server-tools/instance-manager/user_map.h:
        manual merge
      sql/field.cc:
        manual merge
      sql/field.h:
        manual merge
      sql/ha_ndbcluster.cc:
        manual merge
      sql/handler.cc:
        manual merge
      sql/item.cc:
        manual merge
      sql/item.h:
        Automatic merge
      sql/log.cc:
        manual merge
      sql/log_event.cc:
        manual merge
      sql/mysqld.cc:
        manual merge
      sql/slave.cc:
        manual merge
      sql/spatial.cc:
        Automatic merge
      sql/sql_class.h:
        manual merge
      sql/sql_insert.cc:
        manual merge
      sql/sql_parse.cc:
        manual merge
      sql/sql_select.cc:
        manual merge
      sql/sql_show.cc:
        manual merge
      sql/sql_table.cc:
        manual merge
      sql/sql_trigger.cc:
        manual merge
      sql/sql_view.cc:
        manual merge
      sql/sql_yacc.yy:
        manual merge
        Made setting thd and lex uniform
      sql/table.cc:
        manual merge
      sql/unireg.cc:
        manual merge
      storage/archive/ha_archive.cc:
        manual merge
      storage/federated/ha_federated.cc:
        manual merge
      storage/heap/ha_heap.cc:
        manual merge
      storage/myisam/ha_myisam.cc:
        manual merge
      storage/myisammrg/ha_myisammrg.cc:
        manual merge
      storage/ndb/include/util/InputStream.hpp:
        manual merge
      storage/ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        manual merge
      storage/ndb/src/common/util/Bitmask.cpp:
        manual merge
      storage/ndb/src/common/util/ConfigValues.cpp:
        Automatic merge
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        manual merge
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        manual merge
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        manual merge
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        manual merge
        Changed commented code to be #ifdef-ed instead
      storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        manual merge
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Automatic merge
      storage/ndb/src/kernel/blocks/suma/Suma.hpp:
        manual merge
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Automatic merge
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Automatic merge
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Automatic merge
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        manual merge
      storage/ndb/tools/restore/restore_main.cpp:
        manual merge
      tests/mysql_client_test.c:
        manual merge
      36b05892
  3. 24 Jan, 2007 4 commits
  4. 23 Jan, 2007 21 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1 · ffb51e15
      unknown authored
      into  production.mysql.com:/usersnfs/mjorgensen/bktrees/mysql-5.1-build
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      ffb51e15
    • unknown's avatar
      Merge xiphis.org:/home/antony/work2/p1-bug25396.4 · dd5523d9
      unknown authored
      into  xiphis.org:/home/antony/work2/p1-bug25396.5
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      dd5523d9
    • unknown's avatar
      Avoid compiler warnings on powermacg5 · 1b72f361
      unknown authored
      Fixed compilation error when trying to compile libmysqld on powermac
      
      
      configure.in:
        Added flag if __cxa_pure_virtual() should be defined.
        Without this flag, we get a warning from my_global.h for every compiled file on powermacg5
      extra/yassl/taocrypt/include/type_traits.hpp:
        Avoid compiler warning
      include/my_global.h:
        Avoid compiler warning on powermacg5
      sql/mysqld.cc:
        Fix compiler error when compiling embedded on powermac
      1b72f361
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 964f502c
      unknown authored
      into  clam.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb
      
      
      964f502c
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · f80084bf
      unknown authored
      into  clam.ndb.mysql.com:/export/space/pekka/ndb/version/my51-ndb
      
      
      f80084bf
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/users/tomas/mysql-5.0-build · c64b504a
      unknown authored
      into  mysql.com:/data0/mysqldev/users/tomas/mysql-5.1-build
      
      
      configure.in:
        Auto merged
      cmd-line-utils/readline/undo.c:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/myisam/mi_packrec.c:
        Auto merged
      c64b504a
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · a7174850
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/bug25487
      
      
      a7174850
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.1/ndb · b9077693
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/bug25567
      
      
      mysql-test/r/ndb_basic.result:
        Auto merged
      b9077693
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/bug25487 · a36dffb1
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/bug25567
      
      
      storage/ndb/include/mgmapi/mgmapi.h:
        Auto merged
      storage/ndb/include/util/SocketClient.hpp:
        Auto merged
      storage/ndb/src/common/transporter/Transporter.cpp:
        Auto merged
      storage/ndb/src/common/util/SocketClient.cpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      a36dffb1
    • unknown's avatar
      Bug#25567 records() call performs scan in NDB, performance bug · 8b54310b
      unknown authored
      
      mysql-test/r/ndb_basic.result:
        from spaces, to tabs. what fun!
      sql/ha_ndbcluster.h:
        fix estimate_rows_upper_bound() to be correct for NDB
      sql/sql_select.cc:
        use non-exact records information
      8b54310b
    • unknown's avatar
      Bug#25396 · d48e864f
      unknown authored
        "Valgrind leak in closecon_handlerton"
        plugin_shutdown() calls plugin_deinitialize() which calls ha_finalize_handlerton().
        ndbcluster_end() fails to wait for the ndb utility thread to exit which results in
        the handlerton struct being freed before the ndb utility thread has destroyed it's THD
        but before the plugin has been marked as UNINITIALIZED
      
      Bug is caused by misuse of abort_loops variable and not locking mutex during calls to
      pthread condition variable functions causing a race in valgrind's pthread_cond_wait
      implementation.
      
      
      sql/ha_ndbcluster.cc:
        Bug25396
        Valgrind requires that mutex be held during call to pthread_cond_signal.
        Change pthread_cond_timedwait() to pthread_cond_wait() where the timeout is not needed.
        Ensure that appropiate variables are protected by mutex.
        Remove use of abort_loop global variable.
        Ensure that ndbcluster_end waits for util thread to exit.
        Add an extra cond_var as insurance against non-conforming pthreads implementations.
      sql/mysqld.cc:
        Bug25386
        Valgrind requires that mutex be held during call to pthread_cond_signal.
      BUILD/compile-amd64-valgrind-max:
        New BitKeeper file ``BUILD/compile-amd64-valgrind-max''
      d48e864f
    • unknown's avatar
      Merge clam.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb · 29a9f743
      unknown authored
      into  clam.ndb.mysql.com:/export/space/pekka/ndb/version/my51-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      29a9f743
    • unknown's avatar
      ndb - bug#25562 use byte-size max_data_length() when setting blob part size · 25fb32ef
      unknown authored
      
      sql/ha_ndbcluster.cc:
        bug#25562 use byte-size max_data_length() when setting blob part size
      25fb32ef
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · 7f7d0c34
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      7f7d0c34
    • unknown's avatar
      round up Transporter connect timeout · 68ab0996
      unknown authored
      
      ndb/src/common/transporter/Transporter.cpp:
        change so timeout is rounded up to nearest second
      68ab0996
    • unknown's avatar
      Bug #25487 deleting ndb_cluster_connection object takes long time · 8deeb2f9
      unknown authored
        
        aim is to:
        a) if set_connect_timeout called, timeout connect attempt (for retry on
        next call) after timeout period
        b) preserve existing blocking behaviour otherwise (for, e.g. mgmapi)
        
        Related to customer issue with long time deleting ndb_cluster_connection
        object. believe we're hanging on the connect(2) call until timeout (when
        we then realise we should exit the thread).
      
      
      ndb/include/mgmapi/mgmapi.h:
        add ndb_mgm_set_connect_timeout
      ndb/include/util/SocketClient.hpp:
        add timeout (seconds) for max time to wait for connection
      ndb/src/common/transporter/Transporter.cpp:
        set limit on amount of time we'll wait for tcp connect
      ndb/src/common/util/SocketClient.cpp:
        only try to connect for a maximum of timeout time
      ndb/src/mgmapi/mgmapi.cpp:
        add ndb_mgm_set_connect_timeout
      8deeb2f9
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-ndb · ea9eb022
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ClusterMgr.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ClusterMgr.hpp:
        Auto merged
      storage/ndb/src/ndbapi/SignalSender.cpp:
        Auto merged
      ea9eb022
    • unknown's avatar
      ndb - bug#22013 · ab8355fa
      unknown authored
          Fix bug in event handling wrt early node shutdown
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Fix bug in event handling wrt early node shutdown
      ndb/src/ndbapi/ClusterMgr.cpp:
        Fix reportNodeFailed if only connected wo/ having received any API_REGCONF
      ndb/src/ndbapi/ClusterMgr.hpp:
        Fix reportNodeFailed if only connected wo/ having received any API_REGCONF
      ndb/src/ndbapi/SignalSender.cpp:
        Fix memleak
      ab8355fa
    • unknown's avatar
      correct manual merge · e7b4e509
      unknown authored
      e7b4e509
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-ndb · 8f9198ca
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Auto merged
      storage/ndb/include/portlib/NdbMem.h:
        Auto merged
      storage/ndb/src/common/debugger/EventLogger.cpp:
        Auto merged
      storage/ndb/src/common/portlib/NdbMem.c:
        Auto merged
      storage/ndb/src/common/util/ConfigValues.cpp:
        Auto merged
      storage/ndb/src/common/util/File.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/Configuration.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      mysql-test/r/ndb_basic.result:
        manual merge
      mysql-test/t/ndb_basic.test:
        manual merge
      storage/ndb/src/ndbapi/ndberror.c:
        manual merge
      8f9198ca
    • unknown's avatar
      bug#25746 ndb: 4209 error with 2 VARCHAR primary keys · 188899cd
      unknown authored
      - post review changes
      
      
      188899cd
  5. 22 Jan, 2007 13 commits
    • unknown's avatar
      Change to new (after merge) error numbers · f7e838c5
      unknown authored
      
      mysql-test/extra/rpl_tests/rpl_trig004.test:
        Fixed bug in last push
      mysql-test/r/create.result:
        Fixed error number
      mysql-test/r/rpl_sp.result:
        Fixed error number
      mysql-test/r/sp.result:
        Fixed error number
      mysql-test/r/view.result:
        Better fix for now() handling
      mysql-test/t/ndb_basic.test:
        Use error names instead of numbers
      mysql-test/t/ndb_index_unique.test:
        Use error names instead of numbers
      mysql-test/t/rpl_skip_error-slave.opt:
        Change to new error number
      mysql-test/t/sp.test:
        Change to new error number
      mysql-test/t/view.test:
        Better fix for now() handling
      f7e838c5
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1 · 0add38d8
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      0add38d8
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work · 442c1f87
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build
      
      
      442c1f87
    • unknown's avatar
      bug#25746 ndb: 4209 error with 2 VARCHAR primary keys · 5f9e20de
      unknown authored
      - make sure keys are copied correctly when varchar has 2 length bytes
      - test case
      
      
      mysql-test/r/ndb_basic.result:
        bug#25746 ndb: 4209 error with 2 VARCHAR primary keys
        - test case
      mysql-test/t/ndb_basic.test:
        bug#25746 ndb: 4209 error with 2 VARCHAR primary keys
        - test case
      sql/ha_ndbcluster.cc:
        bug#25746 ndb: 4209 error with 2 VARCHAR primary keys
        - make sure keys are copied correctly when varchar has 2 length bytes
      5f9e20de
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · a043cd15
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      BUILD/SETUP.sh:
        Auto merged
      mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test:
        Auto merged
      mysql-test/extra/rpl_tests/rpl_row_basic.test:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/delayed.test:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/insert_select.test:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      mysql-test/t/ndb_index_unique.test:
        Auto merged
      mysql-test/t/rpl_row_create_table.test:
        Auto merged
      mysql-test/t/rpl_sp.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/type_binary.test:
        Auto merged
      mysql-test/t/type_varchar.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/rpl_sp.result:
        Manual merge
      mysql-test/t/ndb_update.test:
        Manual merge
      sql/share/errmsg.txt:
        Manual merge
      a043cd15
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · ea42c5a7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/suma/Suma.hpp:
        Auto merged
      ea42c5a7
    • unknown's avatar
      Give warnings for unused objects · b4f80eed
      unknown authored
      Changed error message to be compatible with old error file
      Added new error message for new DUP_ENTRY syntax
      
      
      BUILD/SETUP.sh:
        Give warnings for unused objects
      mysql-test/extra/binlog_tests/insert_select-binlog.test:
        Changed to use new error message
      mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test:
        Changed to use new error message
      mysql-test/extra/rpl_tests/rpl_auto_increment.test:
        Changed to use new error message
      mysql-test/extra/rpl_tests/rpl_foreign_key.test:
        Changed to use new error message
      mysql-test/extra/rpl_tests/rpl_insert_id.test:
        Changed to use new error message
      mysql-test/extra/rpl_tests/rpl_insert_id_pk.test:
        Changed to use new error message
      mysql-test/extra/rpl_tests/rpl_loaddata.test:
        Changed to use new error message
      mysql-test/extra/rpl_tests/rpl_row_basic.test:
        Changed to use new error message
      mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test:
        Changed to use new error message
      mysql-test/extra/rpl_tests/rpl_trig004.test:
        Changed to use new error message
      mysql-test/include/mix1.inc:
        Changed to use new error message
      mysql-test/include/mix2.inc:
        Changed to use new error message
      mysql-test/include/ps_modify.inc:
        Changed to use new error message
      mysql-test/include/query_cache.inc:
        Changed to use new error message
      mysql-test/include/varchar.inc:
        Changed to use new error message
      mysql-test/r/create.result:
        Changed to use new error message
      mysql-test/r/rpl_sp.result:
        Changed to use new error message
      mysql-test/r/sp.result:
        Changed to use new error message
      mysql-test/r/view.result:
        Changed to use new error message
      mysql-test/t/auto_increment.test:
        Changed to use new error message
      mysql-test/t/create.test:
        Changed to use new error message
      mysql-test/t/create_select_tmp.test:
        Changed to use new error message
      mysql-test/t/ctype_utf8.test:
        Changed to use new error message
      mysql-test/t/delayed.test:
        Changed to use new error message
      mysql-test/t/heap.test:
        Changed to use new error message
      mysql-test/t/heap_btree.test:
        Changed to use new error message
      mysql-test/t/heap_hash.test:
        Changed to use new error message
      mysql-test/t/innodb.test:
        Changed to use new error message
      mysql-test/t/insert_select.test:
        Changed to use new error message
      mysql-test/t/insert_update.test:
        Changed to use new error message
      mysql-test/t/join_outer.test:
        Changed to use new error message
      mysql-test/t/key.test:
        Changed to use new error message
      mysql-test/t/merge.test:
        Changed to use new error message
      mysql-test/t/myisam.test:
        Changed to use new error message
      mysql-test/t/ndb_charset.test:
        Changed to use new error message
      mysql-test/t/ndb_index_unique.test:
        Changed to use new error message
      mysql-test/t/ndb_insert.test:
        Changed to use new error message
      mysql-test/t/ndb_replace.test:
        Changed to use new error message
      mysql-test/t/ndb_update.test:
        Changed to use new error message
      mysql-test/t/replace.test:
        Changed to use new error message
      mysql-test/t/rpl_err_ignoredtable.test:
        Changed to use new error message
      mysql-test/t/rpl_row_create_table.test:
        Changed to use new error message
      mysql-test/t/rpl_skip_error-slave.opt:
        Changed to use new error message
      mysql-test/t/rpl_sp.test:
        Changed to use new error message
      mysql-test/t/show_check.test:
        Changed to use new error message
      mysql-test/t/sp-error.test:
        Changed to use new error message
      mysql-test/t/sp.test:
        Changed to use new error message
      mysql-test/t/sp_trans.test:
        Changed to use new error message
      mysql-test/t/temp_table.test:
        Changed to use new error message
      mysql-test/t/type_binary.test:
        Changed to use new error message
      mysql-test/t/type_bit.test:
        Changed to use new error message
      mysql-test/t/type_bit_innodb.test:
        Changed to use new error message
      mysql-test/t/type_blob.test:
        Changed to use new error message
      mysql-test/t/type_varchar.test:
        Changed to use new error message
      mysql-test/t/view.test:
        Changed to use new error message
      sql/handler.cc:
        ER_DUP_ENTRY -> ER_DUP_ENTRY_WITH_KEY_NAME
      sql/share/errmsg.txt:
        Changed error message to be compatible with old error file
        Added new error message for new DUP_ENTRY syntax
      sql/sql_table.cc:
        ER_DUP_ENTRY -> ER_DUP_ENTRY_WITH_KEY_NAME
      sql-bench/example:
        Example file for how to run tests
      b4f80eed
    • unknown's avatar
      ndb - bug#25755 · 734a3036
      unknown authored
        remove accidently left debug prinouts
      
      
      734a3036
    • unknown's avatar
      ndb - bug#25755 · d6ef8dd0
      unknown authored
        Make sure subscriber is removed from list when n_subscribers is decreased
      
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Make sure subscriber is removed from list when n_subscribers is decreased
      storage/ndb/src/kernel/blocks/suma/Suma.hpp:
        Make sure subscriber is removed from list when n_subscribers is decreased
      d6ef8dd0
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 93c0d6d2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      93c0d6d2
    • unknown's avatar
      ndb - fix bug is NODE_VERSION_REP · 448edca9
      unknown authored
        Fix assertion in corner-case where signal isnt sent to any node
      
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Fix corner-case where signal isnt sent to any node
      448edca9
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work · dc283a71
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.1-build-work
      
      
      BUILD/check-cpu:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      scripts/mysqld_multi.sh:
        Auto merged
      dc283a71
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work · bbad4c1e
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work
      
      
      BUILD/check-cpu:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      scripts/mysqld_multi.sh:
        Auto merged
      bbad4c1e