1. 20 Dec, 2004 1 commit
    • unknown's avatar
      added config parameter Group on connection · 8c01aba7
      unknown authored
          moved NdbWaiter, m_ndb_cluster_connection, to impl class
          moved node selection things to cluster connection
          moved all private things to impl class
          added opts for shared memory and node selection
          changed opts handling somewhat; introduced enum for options and common handling of option variables
          added checks for transporter support
          automatic addition of shared mem transporters
          moved wait_until_ready code to cluster connection
          added control of usage of new node selection method
      
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        added config parameter Group on connection
      ndb/include/ndbapi/Ndb.hpp:
        moved NdbWaiter, m_ndb_cluster_connection, to impl class
        moved node selection things to cluster connection
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        moved all private things to impl class
      ndb/include/util/ndb_opts.h:
        added opts for shared memory and node selection
      ndb/src/kernel/vm/Configuration.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/src/mgmclient/main.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/src/mgmsrv/ConfigInfo.cpp:
        added checks for transporter support
        automatic addition of shared mem transporters
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        in alloc node id first choose connection with specified hostname
      ndb/src/mgmsrv/main.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/src/ndbapi/DictCache.hpp:
        added include file
      ndb/src/ndbapi/Ndb.cpp:
        enabled using new node selection method
        moved wait_until_ready code to cluster connection
        moved node selection (hint) to cluster connection
        removed start transaction dgroup
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        removed and added inclusde files
      ndb/src/ndbapi/NdbImpl.hpp:
        moved things from Ndb into Impl class
        moved waiter things to new file NdbWaiter.hpp
      ndb/src/ndbapi/NdbScanOperation.cpp:
        ndbwaiter is no in impl class
      ndb/src/ndbapi/Ndbif.cpp:
        ndbwaiter is no in impl class
      ndb/src/ndbapi/Ndbinit.cpp:
        moved some Ndb things into impl class
      ndb/src/ndbapi/TransporterFacade.hpp:
        changed friend declaration
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        moved node selection things to cluster connection
        moved things from cluster connection to cluster connection impl class
      ndb/test/ndbapi/testNdbApi.cpp:
        removed start transaction dgroup
      ndb/tools/delete_all.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/desc.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/drop_index.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/drop_tab.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/listTables.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/restore/restore_main.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/select_all.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/select_count.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      ndb/tools/waiter.cpp:
        changed opts handling somewhat; introduced enum for options and common handling of option variables
      sql/ha_ndbcluster.cc:
        added control of usage of new node selection method
      sql/mysqld.cc:
        added control of usage of new node selection method
      8c01aba7
  2. 19 Dec, 2004 1 commit
  3. 18 Dec, 2004 12 commits
    • unknown's avatar
      mysql.cc: · b824756c
      unknown authored
        Fix up mysql help messages.
      
      
      client/mysql.cc:
        Fix up mysql help messages.
      b824756c
    • unknown's avatar
      fill_help_tables.sh: · d8432ada
      unknown authored
        Convert @samp{c} to 'c', not c.
      
      
      scripts/fill_help_tables.sh:
        Convert @samp{c} to 'c', not c.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      d8432ada
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8e1d38a6
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      8e1d38a6
    • unknown's avatar
      Fix test results · b1eb4521
      unknown authored
      b1eb4521
    • unknown's avatar
      Merge Bug#7391 from 4.0 · 02453262
      unknown authored
      
      mysql-test/r/update.result:
        Auto merged
      mysql-test/t/update.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Merge from 4.0
      02453262
    • unknown's avatar
      Merge · 4e8e1ef3
      unknown authored
      4e8e1ef3
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.0 · 047f7904
      unknown authored
      into ltantony.rdg.cyberkinetica.homeunix.net:/usr/home/antony/work/bug7391.4
      
      
      047f7904
    • unknown's avatar
      Fix test · 63e47255
      unknown authored
      63e47255
    • unknown's avatar
      Simplify code during review · 2ca011d4
      unknown authored
      2ca011d4
    • unknown's avatar
      my-innodb-heavy-4G.cnf.sh: · c892bc8b
      unknown authored
        I fixed the typos in the transaction-isolation comments.
        I fixed the spelling mistakes in the comment.  It had tripped up a support 
        customer as they couldn't start the server with transaction-isolation=
        read-commited
      
      
      support-files/my-innodb-heavy-4G.cnf.sh:
        I fixed the typos in the transaction-isolation comments.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c892bc8b
    • unknown's avatar
      Remove bogus lines · c6be6653
      unknown authored
      c6be6653
    • unknown's avatar
      Bug#7391 - Multi-table UPDATE security regression · 4f9a0a06
      unknown authored
        Add in missing privilege checks. 
        Tests for the privileges.
      
      
      mysql-test/r/grant.result:
        Bug#7391 - Multi-table UPDATE security regression
          Tests column, table and db level access
      mysql-test/t/grant.test:
        Bug#7391 - Multi-table UPDATE security regression
          Tests column, table and db level access
      sql/sql_update.cc:
        Bug#7391 - Multi-table UPDATE security regression
          Add in missing privilege checks.
      4f9a0a06
  4. 17 Dec, 2004 16 commits
    • unknown's avatar
      Fix for BUG#7358: removing warning reporting of mysqldump 4.1.8 when calling... · 9a202517
      unknown authored
      Fix for BUG#7358: removing warning reporting of mysqldump 4.1.8 when calling SHOW CREATE DATABASE, as we deal almost gracefully with it
      (back to behaviour of 4.1.7). Warning was not fatal: mysqldump continued. And the good thing is that it helped spot that starting from 4.1.7,
      SHOW CREATE DATABASE failed (if --single-transaction and first db has non-empty InnoDB table and there is a second db) and thus mysqldump
      produced CREATE DATABASE statements missing the CHARACTER SET clause. Removing the bug which was in the server, and the warning reporting in
      mysqldump (compatibility with old servers).
      
      
      client/mysqldump.c:
        don't report errors as we deal almost gracefully with them (back to code of 4.1.7)
      mysql-test/r/flush_block_commit.result:
        result update
      mysql-test/t/flush_block_commit.test:
        let's verify that SHOW CREATE DATABASE succeeds even if connection has open transaction.
      sql/sql_parse.cc:
        There is no reason to forbid SHOW CREATE DATABASE if connection has an open transaction
      9a202517
    • unknown's avatar
      Delete files which were accidently created within the last push · 71981ad7
      unknown authored
      
      BitKeeper/deleted/.del-tool_test.test~7a0c705c995ee523:
        Delete: mysql-test/t/tool_test.test
      BitKeeper/deleted/.del-tool_test.result~ec1f972349e9e18:
        Delete: mysql-test/r/tool_test.result
      BitKeeper/deleted/.del-ps_12func.test~78bc82c8a4a1ccae:
        Delete: mysql-test/t/ps_12func.test
      BitKeeper/deleted/.del-ps_12func.result~d8cce403c6cb460e:
        Delete: mysql-test/r/ps_12func.result
      BitKeeper/deleted/.del-patchwork-check.inc~45d0d076850f5c5b:
        Delete: mysql-test/include/patchwork-check.inc
      71981ad7
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · c57b7736
      unknown authored
      into mysql.com:/home/matthias/Arbeit/mysql-4.1/src
      
      
      c57b7736
    • unknown's avatar
      added TRACE to managemnt server · 7b592c9e
      unknown authored
          removed TRACE from management client
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        removed TRACE from management client
      ndb/src/mgmsrv/CommandInterpreter.cpp:
        added TRACE to managemnt server
      ndb/src/mgmsrv/CommandInterpreter.hpp:
        added TRACE to managemnt server
      7b592c9e
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · fed6df70
      unknown authored
      into mysql.com:/home/matthias/Arbeit/mysql-4.1/src
      
      
      fed6df70
    • unknown's avatar
      1780c9b3
    • unknown's avatar
      merge · 71424cb1
      unknown authored
      
      ndb/src/mgmsrv/CommandInterpreter.cpp:
        Auto merged
      ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      ndb/src/ndbapi/NdbImpl.hpp:
        Auto merged
      71424cb1
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9aa76331
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-4.1/src
      
      
      9aa76331
    • unknown's avatar
      enabled setting version for ndb · b3dd0029
      unknown authored
      b3dd0029
    • unknown's avatar
      CommandInterpreter.hpp, CommandInterpreter.cpp: · 21162110
      unknown authored
        removed methods that are duplicated in management client
      
      
      ndb/src/mgmsrv/CommandInterpreter.cpp:
        removed methods that are duplicated in management client
      ndb/src/mgmsrv/CommandInterpreter.hpp:
        removed methods that are duplicated in management client
      21162110
    • unknown's avatar
      merge · 72c28731
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      ndb/include/Makefile.am:
        Auto merged
      ndb/include/kernel/LogLevel.hpp:
        Auto merged
      ndb/include/mgmapi/mgmapi.h:
        Auto merged
      ndb/include/ndbapi/NdbConnection.hpp:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      ndb/src/common/debugger/EventLogger.cpp:
        Auto merged
      ndb/src/common/logger/FileLogHandler.cpp:
        Auto merged
      ndb/src/common/logger/Logger.cpp:
        Auto merged
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      ndb/src/mgmsrv/Services.cpp:
        Auto merged
      ndb/src/mgmsrv/Services.hpp:
        Auto merged
      ndb/src/mgmsrv/main.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      ndb/tools/Makefile.am:
        Auto merged
      72c28731
    • unknown's avatar
      bug#7379 & bug#7346 - ndb_restore · b181f610
      unknown authored
      
      ndb/tools/restore/consumer_restore.cpp:
        1) Fix bug when blobs and multiple databases bug#7379
        2) Fix bug #7346
      ndb/tools/restore/consumer_restore.hpp:
        Moved tuple handle into callback object 
          instead of having separate array
        Declared m_transactions volatile
      b181f610
    • unknown's avatar
      version.c: · 113fe506
      unknown authored
        4.1.9 compatible with 4.1.8
      
      
      ndb/src/common/util/version.c:
        4.1.9 compatible with 4.1.8
      113fe506
    • unknown's avatar
      moved some Ndb member variables to NdbImpl class · cd2e3aca
      unknown authored
      removed theCurrentConnectCounter
      optimized the_release_ind by using pos[0] to indicate that there is something there
      smaller storage of theDBNodes array by using Uint8
      set the_relase_ind array to Uint32 to avoid possible parallell thread usage errors
      
      
      cd2e3aca
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4630d406
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      4630d406
    • unknown's avatar
      Bumb up ndb version · 2e4fda1c
      unknown authored
      2e4fda1c
  5. 16 Dec, 2004 10 commits
    • unknown's avatar
      A .test for BUG#6287 "Slave skips auto_increment values in Replication with InnoDB" · 8d9badb3
      unknown authored
      which Heikki fixed in 4.1.8 and 4.0.23. I verified that without Heikki's patch the test fails (7 gets inserted).
      Test added to 4.1 because in testsuite of 4.0 it's impossible to start slave with InnoDB.
      
      
      8d9badb3
    • unknown's avatar
      Very minor fixes for Seconds_Behind_Master column of SHOW SLAVE STATUS. · 082bf702
      unknown authored
      
      sql/log_event.cc:
        comment
      sql/slave.cc:
        putting setting of rli->last_master_timestamp a few lines above, so that it
        is done under rli->data_lock.
      082bf702
    • unknown's avatar
      merge · 4935b27c
      unknown authored
      4935b27c
    • unknown's avatar
      merge · 80c1bddd
      unknown authored
      
      ndb/include/transporter/TransporterRegistry.hpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      80c1bddd
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · dfd38e1d
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-4.1/src
      
      
      dfd38e1d
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.0 · 6d7937c0
      unknown authored
      into mysql.com:/M40/mysql-4.0
      
      
      6d7937c0
    • unknown's avatar
      Have 'mysql-test-run' write a list of all failed tests at the end, if run with '--force'. · 1b17ba52
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Backport an improvement from 4.1: If the tool is run with '--force', give a list of all test cases that failed at the end.
        This is essential for automated analysis of the build logs file.
      1b17ba52
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 93f82e8e
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      93f82e8e
    • unknown's avatar
      A change of behaviour of Seconds_Behind_Master from SHOW SLAVE STATUS. It's going into 4.1 · 4869f022
      unknown authored
      because old behaviour was somewhat nonsensical (kind of bug). Changes are that if repl threads are
      down or disconnected the column will be NULL, and if master is idle the column will not grow indefinitely anymore.
      
      
      sql/slave.cc:
        mi->slave_running and rli->slave_running now uints (was needed only for mi but because of start_slave_thread() usage,
        had to change both).
        So mi->slave_running can now take 3 values: not running, running & not connected, running and connected.
        The last value serves for calculation of Seconds_Behind_Master in SHOW SLAVE STATUS.
        Changing this column's behaviour: if SQL or I/O thread is not running, or if I/O thread is not connected
        (for example if it is reconnecting), it's NULL (to mean "unknown"). And if master is idle, the column will
        not grow indefinitely like it used to (that was meaningless); this is fixed by forcing a value of 0
        when the slave SQL thread has hit EOF of relay log (which has only a limited number of caveats explained
        in comments in code).
      sql/slave.h:
        slave_running used to be bool but we need to distinguish, for the I/O slave thread, between 
        "running & connected" and "running & not connected" ("running" means the thread exists).
      sql/sql_repl.cc:
        we don't need anymore to set rli->last_master_timestamp to 0 (we used that to make Seconds_Behind_Master
        be NULL) in RESET SLAVE and CHANGE MASTER, as these commands imply that slave threads are not running
        and so Seconds_Behind_Master is already NULL because of that.
      4869f022
    • unknown's avatar
      Test for BUG#6054. The bug itsel is fixed by the fix for #5837. · ae6f147a
      unknown authored
      
      mysql-test/r/update.result:
        test result
      mysql-test/t/update.test:
        test queries
      ae6f147a