1. 21 Dec, 2004 8 commits
  2. 20 Dec, 2004 4 commits
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5c11199c
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-bug6825
      
      5c11199c
    • unknown's avatar
    • unknown's avatar
      added config parameter Group on connection · 16a1551f
      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
      16a1551f
    • unknown's avatar
      A fix (bug #7281: RAND(RAND) crashes server). · ef90dbc4
      unknown authored
      ef90dbc4
  3. 19 Dec, 2004 1 commit
  4. 18 Dec, 2004 12 commits
    • unknown's avatar
      mysql.cc: · 5f42a349
      unknown authored
        Fix up mysql help messages.
      
      
      client/mysql.cc:
        Fix up mysql help messages.
      5f42a349
    • unknown's avatar
      fill_help_tables.sh: · 0022ec31
      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
      0022ec31
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 41eb82fd
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      41eb82fd
    • unknown's avatar
      Fix test results · cd53739f
      unknown authored
      cd53739f
    • unknown's avatar
      Merge Bug#7391 from 4.0 · 62b3881e
      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
      62b3881e
    • unknown's avatar
      Merge · 5bbcc964
      unknown authored
      5bbcc964
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.0 · 15c1786a
      unknown authored
      into ltantony.rdg.cyberkinetica.homeunix.net:/usr/home/antony/work/bug7391.4
      
      15c1786a
    • unknown's avatar
      Fix test · 73f1e79a
      unknown authored
      73f1e79a
    • unknown's avatar
      Simplify code during review · b91abb9b
      unknown authored
      b91abb9b
    • unknown's avatar
      my-innodb-heavy-4G.cnf.sh: · aafff165
      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
      aafff165
    • unknown's avatar
      Remove bogus lines · 538661d6
      unknown authored
      538661d6
    • unknown's avatar
      Bug#7391 - Multi-table UPDATE security regression · d66cf954
      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.
      d66cf954
  5. 17 Dec, 2004 15 commits
    • unknown's avatar
      Fix for BUG#7358: removing warning reporting of mysqldump 4.1.8 when calling... · 2a046c6c
      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
      2a046c6c
    • unknown's avatar
      Delete files which were accidently created within the last push · aa2b8ffa
      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
      aa2b8ffa
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · ccafb593
      unknown authored
      into mysql.com:/home/matthias/Arbeit/mysql-4.1/src
      
      ccafb593
    • unknown's avatar
      added TRACE to managemnt server · 8fd61611
      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
      8fd61611
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · 40bba8fb
      unknown authored
      into mysql.com:/home/matthias/Arbeit/mysql-4.1/src
      
      40bba8fb
    • unknown's avatar
      77c905f7
    • unknown's avatar
      merge · ed24ebe6
      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
      ed24ebe6
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · 97c038e6
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-4.1/src
      
      97c038e6
    • unknown's avatar
      enabled setting version for ndb · d2718110
      unknown authored
      d2718110
    • unknown's avatar
      CommandInterpreter.hpp, CommandInterpreter.cpp: · 399295b9
      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
      399295b9
    • unknown's avatar
      merge · 3117b001
      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
      3117b001
    • unknown's avatar
      bug#7379 & bug#7346 - ndb_restore · 96a95530
      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
      96a95530
    • unknown's avatar
      version.c: · 070b06d3
      unknown authored
        4.1.9 compatible with 4.1.8
      
      
      ndb/src/common/util/version.c:
        4.1.9 compatible with 4.1.8
      070b06d3
    • unknown's avatar
      Fix for BUG#6825: When calculating Item_func_neg::max_length, add 1 for '-'. · 0aebc17c
      unknown authored
      For numeric constants we only need to add, since the parser doesn't produce 
      negative numbers. 
      For strings we only add (we actually could substract 1 if given string is a constant 
      and it has '-number' form but we're not doing that because 
       * we set max_length bigger then necessary in other cases as well.  
       * the current solution is simpler and safer (bigger max_length is better then cutting out)
      
      
      mysql-test/r/func_concat.result:
        Test for BUG#6825
      mysql-test/r/metadata.result:
        Ajusted results according to fix of bug BUG#6825:length(-1) = 2 , not 1
      mysql-test/t/func_concat.test:
        Test for BUG#6825
      0aebc17c
    • unknown's avatar
      moved some Ndb member variables to NdbImpl class · 47bcd790
      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
      
      47bcd790