An error occurred fetching the project authors.
  1. 13 Apr, 2005 1 commit
  2. 07 Apr, 2005 2 commits
  3. 04 Apr, 2005 1 commit
    • unknown's avatar
      BUG#6762 ALTER TABLE gives weird results and error message · 23b2a53d
      unknown authored
        - Better error message when table definition has changed
      
      
      mysql-test/r/ndb_alter_table.result:
        New error message and code when table definition has changed.
      mysql-test/r/ndb_multi.result:
        Safety, drop tables in second server as well
      mysql-test/t/ndb_alter_table.test:
        New error message and code when table definition has changed.
      mysql-test/t/ndb_multi.test:
        Safety, drop tables in second server as well
      sql/ha_ndbcluster.cc:
        When error 284 is returned from NDB a check must be made to see what the error really means.
         - if table does not exists any more, return 709 -> No such table exists
         - if table still exists, table has most likely been altered and table id and version has 
           changed, print  hardcoded  errormessage indicating that transaction should retried
          (this error message should be translated to a langauge dependent error message in 5.0)
          
        Remove mapping from 284 to HA_ERR_NO_SUCH_TABLE
      23b2a53d
  4. 01 Apr, 2005 1 commit
  5. 22 Mar, 2005 2 commits
  6. 14 Mar, 2005 1 commit
    • unknown's avatar
      BUG#6554 Problem Building MySql on Fedora Core 3 · eb6c1f12
      unknown authored
       - Moved static variables defined inside of function to file scope to avoid this linking problem on FC3
      
      
      sql/ha_berkeley.cc:
        Moved list of bdb extension to file scope
      sql/ha_ndbcluster.cc:
        Moved list of ndb extesions to file scope
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      eb6c1f12
  7. 07 Mar, 2005 2 commits
  8. 24 Feb, 2005 1 commit
    • unknown's avatar
      bug#8786 - ndb autodiscover, sometimes fails · 18df4f33
      unknown authored
        remove dict forwarding
        add api retries on NotMaster
        
      
      
      ndb/include/kernel/signaldata/AlterIndx.hpp:
        Add NotMaster error code
      ndb/include/kernel/signaldata/BuildIndx.hpp:
        Add NotMaster error code
      ndb/include/kernel/signaldata/CreateIndx.hpp:
        Add NotMaster error code
      ndb/include/kernel/signaldata/CreateTrig.hpp:
        Add NotMaster error code
      ndb/include/kernel/signaldata/DropIndx.hpp:
        Add NotMaster error code
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Never forward requests,
          instead REF to API who will retry towards correct node
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        1) Set error code for timeout
        2) Handle NotMaster with retry in all DICT requests
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Fix so that input values is in seconds and not 100ms's
      sql/ha_ndbcluster.cc:
        Wait 3 sec for all nodes to connect...
      18df4f33
  9. 16 Feb, 2005 1 commit
    • unknown's avatar
      ndb - fix old decimal type mysql vs ndb · 7a630ec0
      unknown authored
      mysql-test/r/ndb_index_ordered.result:
        fix old decimal type mysql vs ndb (re-commit 3)
      mysql-test/t/ndb_index_ordered.test:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/include/ndbapi/NdbDictionary.hpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/include/util/NdbSqlUtil.hpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/src/common/util/NdbSqlUtil.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/src/ndbapi/NdbDictionary.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/src/ndbapi/NdbRecAttr.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/test/include/NdbSchemaOp.hpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      ndb/tools/restore/consumer.cpp:
        fix old decimal type mysql vs ndb (re-commit 3)
      sql/ha_ndbcluster.cc:
        fix old decimal type mysql vs ndb (re-commit 3)
      7a630ec0
  10. 07 Feb, 2005 2 commits
  11. 04 Feb, 2005 1 commit
    • unknown's avatar
      added test to trigger drifferent fragmentations in ndb · 6dabd8e5
      unknown authored
          corrected documentation on fragmentation
          set "fragmentation medium" to mean 2 fragments per node instead of 1
          set default fragmentation to small instead of medium
          bug#8284 adjust fragmentation to max_rows
      
      
      mysql-test/r/ndb_basic.result:
        added test to trigger drifferent fragmentations in ndb
      mysql-test/t/ndb_basic.test:
        added test to trigger drifferent fragmentations in ndb
      ndb/include/ndbapi/NdbDictionary.hpp:
        corrected documentation on fragmentation
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        set "fragmentation medium" to mean 2 fragments per node instead of 1
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        set default fragmentation to small instead of medium
      sql/ha_ndbcluster.cc:
        bug#8284 adjust fragmentation to max_rows
      6dabd8e5
  12. 27 Jan, 2005 1 commit
    • unknown's avatar
      ndb - make YEAR and TIMESTAMP into ndb types · e1b0ecb0
      unknown authored
      mysql-test/r/ndb_index_ordered.result:
        make YEAR and TIMESTAMP into ndb types
      mysql-test/t/ndb_index_ordered.test:
        make YEAR and TIMESTAMP into ndb types
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/include/ndbapi/NdbDictionary.hpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/include/util/NdbSqlUtil.hpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/src/common/util/NdbSqlUtil.cpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/src/ndbapi/NdbDictionary.cpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/src/ndbapi/NdbRecAttr.cpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/test/include/NdbSchemaOp.hpp:
        make YEAR and TIMESTAMP into ndb types
      sql/ha_ndbcluster.cc:
        make YEAR and TIMESTAMP into ndb types
      e1b0ecb0
  13. 26 Jan, 2005 1 commit
  14. 25 Jan, 2005 1 commit
  15. 19 Jan, 2005 1 commit
    • unknown's avatar
      bug#7693 - ndb · 523bed35
      unknown authored
        when using shm transporter, set sigmask on each thread using pthread_sigmask
      
      
      configure.in:
        Add more functions needed for SHM
      ndb/src/common/portlib/NdbThread.c:
        1) Create thread wrapper function
        2) block SIGUSR1 #ifdef NDB_SHM_TRANSPORTER
      ndb/src/common/transporter/TransporterRegistry.cpp:
        (un)block SIGUSR1 #ifdef NDB_SHM_TRANSPORTER
      sql/ha_ndbcluster.cc:
        cast pointer to UintPtr before printout
      523bed35
  16. 08 Jan, 2005 2 commits
    • unknown's avatar
      ndb - wl-1442 fix Time ordering · 5a92f4fd
      unknown authored
      mysql-test/r/ndb_index_ordered.result:
        wl-1442 fix Time.  adds new type id 25
      mysql-test/t/ndb_index_ordered.test:
        wl-1442 fix Time.  adds new type id 25
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        wl-1442 fix Time.  adds new type id 25
      ndb/include/ndbapi/NdbDictionary.hpp:
        wl-1442 fix Time.  adds new type id 25
      ndb/include/util/NdbSqlUtil.hpp:
        wl-1442 fix Time.  adds new type id 25
      ndb/src/common/util/NdbSqlUtil.cpp:
        wl-1442 fix Time.  adds new type id 25
      ndb/src/ndbapi/NdbDictionary.cpp:
        wl-1442 fix Time.  adds new type id 25
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        wl-1442 fix Time.  adds new type id 25
      ndb/test/include/NdbSchemaOp.hpp:
        wl-1442 fix Time.  adds new type id 25
      ndb/tools/restore/consumer.cpp:
        wl-1442 fix Time.  adds new type id 25
      sql/ha_ndbcluster.cc:
        wl-1442 fix Time.  adds new type id 25
      5a92f4fd
    • unknown's avatar
      ndb - wl-1442 fix Date ordering · da28014e
      unknown authored
      mysql-test/r/ndb_index_ordered.result:
        wl-1442 fix Date.  reuses old unused Timespec type id
      mysql-test/t/ndb_index_ordered.test:
        wl-1442 fix Date.  reuses old unused Timespec type id
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        wl-1442 fix Date.  reuses old unused Timespec type id
      ndb/include/ndbapi/NdbDictionary.hpp:
        wl-1442 fix Date.  reuses old unused Timespec type id
      ndb/include/util/NdbSqlUtil.hpp:
        wl-1442 fix Date.  reuses old unused Timespec type id
      ndb/src/common/util/NdbSqlUtil.cpp:
        wl-1442 fix Date.  reuses old unused Timespec type id
      ndb/src/ndbapi/NdbDictionary.cpp:
        wl-1442 fix Date.  reuses old unused Timespec type id
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        wl-1442 fix Date.  reuses old unused Timespec type id
      ndb/test/include/NdbSchemaOp.hpp:
        wl-1442 fix Date.  reuses old unused Timespec type id
      ndb/tools/restore/consumer.cpp:
        wl-1442 fix Date.  reuses old unused Timespec type id
      sql/ha_ndbcluster.cc:
        wl-1442 fix Date.  reuses old unused Timespec type id
      da28014e
  17. 01 Jan, 2005 2 commits
  18. 30 Dec, 2004 1 commit
  19. 20 Dec, 2004 1 commit
    • 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
  20. 07 Dec, 2004 1 commit
  21. 06 Dec, 2004 1 commit
  22. 30 Nov, 2004 2 commits
    • unknown's avatar
      fixed error in test result · a668ea8f
      unknown authored
          added extra calls to retrieve connectstring used
          reengineered connect somewhat to make retries etc explicit
      
      
      mysql-test/r/ndb_index_unique.result:
        fixed error in test result
      ndb/include/mgmapi/mgmapi.h:
        added extra calls to retrieve connectstring used
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        added extra calls to retrieve connectstring used
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmapi/mgmapi.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved parse of quit to avoid connect before
      ndb/src/ndbapi/Ndbinit.cpp:
        reengineered connect somewhat to make retries etc explicit
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/tools/listTables.cpp:
        reengineered connect somewhat to make retries etc explicit
      sql/ha_ndbcluster.cc:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      a668ea8f
    • unknown's avatar
      ndb - fixed long overdue problems with unique indexes and null values · aa1fb2c4
      unknown authored
      mysql-test/r/ndb_index_unique.result:
        Test of unique index and null
      mysql-test/t/ndb_index_unique.test:
        Test of unique index and null
      sql/ha_ndbcluster.cc:
        Fixed long overdue problems with unique indexes and null values
      aa1fb2c4
  23. 22 Nov, 2004 2 commits
    • unknown's avatar
      added force send interface to scan · 9f90db61
      unknown authored
      prepared for using query cache in ndb
      
      
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        added force send interface to scan
      ndb/include/ndbapi/NdbResultSet.hpp:
        added force send interface to scan
      ndb/include/ndbapi/NdbScanOperation.hpp:
        added force send interface to scan
      ndb/src/ndbapi/NdbResultSet.cpp:
        added force send interface to scan
      ndb/src/ndbapi/NdbScanOperation.cpp:
        added force send interface to scan
      9f90db61
    • unknown's avatar
  24. 19 Nov, 2004 1 commit
  25. 18 Nov, 2004 1 commit
  26. 17 Nov, 2004 1 commit
    • unknown's avatar
      Enabled usage of new system variables for ndb · 40eaf1a5
      unknown authored
        - ndb_use_exact_count
        - ndb_autoincrement_prefetch_sz
        - ndb_use_transactions
        - ndb_force_send
      moved "inlined" functions to .cc file since they are virtual anyways
      enabled printout od ndb errors in warnings even if mapping existst to mysql error code
      
      
      sql/ha_ndbcluster.h:
        Enabled usage of new system variables for ndb
          - ndb_use_exact_count
          - ndb_autoincrement_prefetch_sz
          - ndb_use_transactions
          - ndb_force_send
        moved "inlined" functions to .cc file since they are virtual anyways
      sql/mysqld.cc:
        Enabled usage of new system variables for ndb
          - ndb_use_exact_count
          - ndb_autoincrement_prefetch_sz
          - ndb_use_transactions
          - ndb_force_send
      sql/set_var.cc:
        Enabled usage of new system variables for ndb
          - ndb_use_exact_count
          - ndb_autoincrement_prefetch_sz
          - ndb_use_transactions
          - ndb_force_send
      sql/sql_class.h:
        Enabled usage of new system variables for ndb
          - ndb_use_exact_count
          - ndb_autoincrement_prefetch_sz
          - ndb_use_transactions
          - ndb_force_send
      40eaf1a5
  27. 16 Nov, 2004 2 commits
  28. 13 Nov, 2004 1 commit
    • unknown's avatar
      ndb: fix bug-4644 Err Out of fragment operations · a68c8cdd
      unknown authored
      sql/ha_ndbcluster.cc:
        compile fix in DBUG code
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        fix count of metadata pages
      ndb/include/kernel/signaldata/TupFrag.hpp:
        bug-4644 fix
      ndb/src/kernel/blocks/ERROR_codes.txt:
        bug-4644 fix
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
        bug-4644 fix
      ndb/test/ndbapi/testDict.cpp:
        bug-4644 fix
      a68c8cdd
  29. 10 Nov, 2004 2 commits
    • unknown's avatar
      Bug#6031 - To drop database you have to execute DROP DATABASE command twice. · c52a4685
      unknown authored
        DROP DATABASE failed because of file ext not in TYPELIB of known extensions.
        General solution - construct a TYPELIB at runtime instead of a static list.
      
      
      mysql-test/r/ndb_basic.result:
        Bug#6031
          New test for bug
      mysql-test/t/ndb_basic.test:
        Bug#6031
          New test for bug
      sql/ha_ndbcluster.cc:
        Cosmetic fix
      sql/handler.cc:
        Bug#6031
          New function - ha_known_exts()
          We can construct TYPELIB of known db file extensions.
      sql/handler.h:
        Bug#6031
          New function - ha_known_exts()
      sql/sql_db.cc:
        Bug#6031
          We use a constructed list of known extensions instead of a static list
      c52a4685
    • unknown's avatar
      bug#6538 · e4b27d97
      unknown authored
      ndb: Fix return value in index_last wo/ rows
      
      
      sql/ha_ndbcluster.cc:
        Return correct when not finding any row from index_last
      e4b27d97
  30. 09 Nov, 2004 1 commit
    • unknown's avatar
      wl1744 - win compile fixes · 6b93977f
      unknown authored
      ndb/include/kernel/signaldata/RepImpl.hpp:
        more win-compile-fixes
      ndb/include/mgmapi/mgmapi.h:
        more win-compile-fixes
      ndb/include/ndbapi/NdbConnection.hpp:
        more win-compile-fixes
      ndb/src/common/util/Properties.cpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        more win-compile-fixes
      ndb/src/kernel/blocks/grep/Grep.cpp:
        more win-compile-fixes
      ndb/src/mgmsrv/Config.cpp:
        more win-compile-fixes
      ndb/src/mgmsrv/ConfigInfo.cpp:
        more win-compile-fixes
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        more win-compile-fixes
      ndb/src/ndbapi/NdbBlob.cpp:
        more win-compile-fixes
      ndb/src/ndbapi/NdbConnection.cpp:
        more win-compile-fixes
      ndb/src/ndbapi/NdbImpl.hpp:
        more win-compile-fixes
      ndb/src/ndbapi/NdbOperationExec.cpp:
        more win-compile-fixes
      ndb/test/ndbapi/testOperations.cpp:
        more win-compile-fixes
      sql/ha_ndbcluster.cc:
        more win-compile-fixes
      6b93977f