An error occurred fetching the project authors.
  1. 30 Sep, 2005 1 commit
    • unknown's avatar
      Bug#11238 · 9da76009
      unknown authored
      "SELECT ... FOR UPDATE executed as consistent read inside LOCK TABLES"
      Do not discard lock_type information as handler::start_stmt() may require knowledge.
      (fixed by Antony)
      
      9da76009
  2. 19 Sep, 2005 1 commit
    • unknown's avatar
      ndb - imlp. show engine ndb status; · 4b25110c
      unknown authored
        that dump free list allocation per connection
      
      
      sql/ha_ndbcluster.cc:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/ha_ndbcluster.h:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/mysqld.cc:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/sql_lex.h:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/sql_parse.cc:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/sql_yacc.yy:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      4b25110c
  3. 01 Aug, 2005 1 commit
  4. 29 Jul, 2005 1 commit
  5. 06 Jul, 2005 1 commit
  6. 29 Jun, 2005 1 commit
  7. 08 Jun, 2005 1 commit
    • unknown's avatar
      BUG#10365 Cluster handler uses non-standard error codes · 205ac33c
      unknown authored
       - Added better error messages when trying to open a table that can't be discovered or unpacked. The most likely cause of this is that it does not have any frm data, probably since it has been created from NdbApi or is a NDB system table.
       - Separated functionality that was in ha_create_table_from_engine into two functions. One that checks if the table exists and another one that tries to create the table from the engine.
      
      
      mysql-test/r/ndb_autodiscover.result:
        Add tests for reading from a table that can't be discovered(SYSTAB_0)
        Discovery is not performed during create table anymore.
      mysql-test/t/ndb_autodiscover.test:
        Add tests for reading from a table that can't be discovered(SYSTAB_0)
        Discovery is not performed during create table anymore.
      ndb/test/ndbapi/create_tab.cpp:
        Set connectstring before creating Ndb object.
      sql/ha_ndbcluster.cc:
        Rename and use the function ndbcluster_table_exists_in_engine.
        Correct return valu from ndbcluster_discover
        Remove old code "ndb_discover_tables"
      sql/ha_ndbcluster.h:
        Rename function ndbcluster_table_exists to ndb ndbcluster_table_exists_in_engine
      sql/handler.cc:
        Update comment of ha_create_table_from_engine
        Remove parameter create_if_found from ha_create_table_from_engine, the function ha_table_exists_in_engine is now used toi check if table is found in engine.
        Cleanup return codes from ha_create_table_from_engine.
        Change name of ha_table_exists to ha_table_exists_in_engine, update comment and returne codes.
      sql/handler.h:
        Remove paramter create_if_cound from  ha_create_table_from_engine
        Rename ha_table_exists to ha_table_exists_in_engine
      sql/sql_base.cc:
        Use the function ha_table_exists_in_engine to detect if table exists in enegine. 
        If it exists, call function ha_create_table_from_engine to try and create it.
        If create of table fails, set correct error message.
      sql/sql_table.cc:
        Add comments, remove parameter create_if_found to ha_create_table_from_engine.
        When dropping a table, try to discover it from engine. If discover fails, use same error message as if the table didn't exists. 
        Maybe another message should be displayed here, ex: "Table could not be dropped, unpack failed"
        
        When creating a new table, use ha_table_exists_in_engine to check if a table with the given name already exists.
      205ac33c
  8. 18 May, 2005 1 commit
  9. 04 May, 2005 1 commit
    • unknown's avatar
      BUG#10241 cygwin port: invalid pragma interface directives · 2dc5e271
      unknown authored
       - Introduce ifdefs so we can control when to use #pragma interface on cygwin
      
      
      include/my_global.h:
        Turn on use of #pragma implementation and #pragma interface if compiled with GCC and platform != Cygwin
      include/raid.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/examples/ha_archive.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/examples/ha_example.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/field.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_berkeley.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_blackhole.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_heap.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_innodb.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_isam.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_isammrg.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_myisam.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_myisammrg.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_ndbcluster.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/handler.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_cmpfunc.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_func.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_geofunc.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_strfunc.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_subselect.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_sum.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_timefunc.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/opt_range.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/procedure.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/protocol.h:
        replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION
      sql/set_var.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_class.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_list.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_select.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_string.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_udf.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/tztime.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      2dc5e271
  10. 27 Apr, 2005 1 commit
  11. 22 Apr, 2005 1 commit
  12. 22 Mar, 2005 1 commit
  13. 15 Mar, 2005 1 commit
    • unknown's avatar
      WL#2269 Enable query cache for NDB part 2 · 5329b3a6
      unknown authored
      -This is mostly fixes for correct behaviour when using query cache + transactions + the thread that
      fetches commit count from NDB at regular intervals. The major fix is to add a
      list in thd_ndb, that keeps a list of NDB_SHARE's that were modified by
      transaction and then "clearing" them in ndbcluster_commit.
      
      
      mysql-test/r/ndb_cache2.result:
        Updated test cases for the ndb_util thread, more simultaneous tables and more tesst
      mysql-test/t/ndb_cache2.test:
        Updated test cases for the ndb_util thread, more simultaneous tables and more advanced tesst
      sql/ha_ndbcluster.cc:
        Add table changed during transaction to list of changed tables in Thd_ndb, this list is then used in ndbcluster_commit to invalidate the cached commit_count in share
        Fix so that ndb_util_thread uses milliseconds "sleeps"
        Changed so that ndb_commit_count uses the commit_count from share if available
      sql/ha_ndbcluster.h:
        Add commit_count_lock to NBD_SHARE, use for detecting simultaneous attempts to update commit_count
        Add list of tables changed by transaction to Thd_ndb
        Change check_ndb_connection to take thd as argument, use current_thd as default
        Added m_rows_changed variable to keep track of if this handler has modified any records within the transaction
      sql/set_var.cc:
        Change format of code
        Sort sys__ variables in aplha order
      5329b3a6
  14. 07 Mar, 2005 2 commits
  15. 28 Feb, 2005 1 commit
  16. 23 Feb, 2005 1 commit
  17. 18 Feb, 2005 1 commit
  18. 17 Feb, 2005 1 commit
  19. 16 Feb, 2005 1 commit
  20. 11 Feb, 2005 1 commit
  21. 07 Feb, 2005 1 commit
    • unknown's avatar
      Small changes after Tomas review · 46bb3786
      unknown authored
      sql/ha_ndbcluster.cc:
        Added a pthread_exit before thread exists
      sql/ha_ndbcluster.h:
        Changed storage of commit_count from uint to ulonglong
      46bb3786
  22. 04 Feb, 2005 1 commit
    • unknown's avatar
      Merge of query cache from 4.1 to 5.0 · da440a0b
      unknown authored
      mysql-test/r/ndb_cache.result:
        Added 'order by' to select's
      mysql-test/r/ndb_cache2.result:
        Added 'order by' to select's
      mysql-test/t/ndb_cache.test:
        Added 'order by' to select's
      mysql-test/t/ndb_cache2.test:
        Added 'order by' to select's
      sql/ha_innodb.h:
        Changed function name
      sql/ha_ndbcluster.cc:
        Merge from query cache from 4.1 to 5.0
        Added better comments
        ndb_get_table_statistics had changed, so there where some adaptions to make
      sql/ha_ndbcluster.h:
        Changed name of function
      sql/handler.h:
        Changed name of function
      sql/sql_cache.cc:
        Changed name of function
      da440a0b
  23. 01 Feb, 2005 2 commits
    • unknown's avatar
      WL#2269 Enable query cache for NDB · 1daef391
      unknown authored
      - Added a thread that fetches commit_count for open tables. This
      will mean that NDB will not have to be contacted for every use of a cached query. 
      
      
      sql/ha_ndbcluster.cc:
        Added a thread that periodically will fetch commit_count 
        for open tables and store that value in share. 
        The commit count value is then used when query cache 
        asks if a cached query can be used. 
        The thread activation interval is regulated by the 
        config variable ndb_cache_check_time, it's default value is 0
        which means that NDB is contacted every time a cached query is reused.
      sql/ha_ndbcluster.h:
        Added commit_count to share
        Added ndb_cache_check_time
      sql/mysqld.cc:
        Added config variable ndb_cache_check_time
      sql/set_var.cc:
        Added config variable ndb_cache_check_time
      1daef391
    • unknown's avatar
      Fixed failed merge · 273a7008
      unknown authored
      273a7008
  24. 26 Jan, 2005 1 commit
  25. 14 Jan, 2005 1 commit
    • unknown's avatar
      added support for 'show status like 'Ndb%'' · fa637d79
      unknown authored
      added number_of_replicas printout in show table status
      
      
      mysql-test/r/ndb_alter_table.result:
        added number_of_replicas to show table status printout
      mysql-test/r/ndb_autodiscover.result:
        added number_of_replicas to show table status printout
      ndb/include/ndbapi/NdbDictionary.hpp:
        added get method for replica count
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        added get method of node id
      ndb/src/ndbapi/NdbDictionary.cpp:
        added get method for replica count
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        added get method of node id
      fa637d79
  26. 13 Jan, 2005 1 commit
    • unknown's avatar
      To get correct values in SHOW TABLE STATUS · cd759ca2
      unknown authored
          Added pseudo column fragment memory
          changed ndb_get_table_statistics to take struct 
          and read row_size and fragment_memory
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Added pseudo column fragment memory
      ndb/include/ndbapi/NdbDictionary.hpp:
        Added pseudo column fragment memory
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Added pseudo column fragment memory
      ndb/src/ndbapi/NdbDictionary.cpp:
        Added pseudo column fragment memory
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Added pseudo column fragment memory
      sql/ha_ndbcluster.cc:
        changed ndb_get_table_statistics to take struct 
        and read row_size and fragment_memory
      sql/ha_ndbcluster.h:
        partially implemented update_table_comment
      cd759ca2
  27. 11 Jan, 2005 1 commit
  28. 07 Jan, 2005 1 commit
  29. 04 Jan, 2005 3 commits
  30. 03 Jan, 2005 1 commit
  31. 30 Dec, 2004 1 commit
  32. 29 Dec, 2004 1 commit
  33. 28 Dec, 2004 1 commit
    • unknown's avatar
      wl2126 - fix ndb part of "latest" ingo patch · 7d4204a0
      unknown authored
        (hopefully last :-))
      
      
      ndb/include/ndbapi/NdbDictionary.hpp:
        remove unimplemented types
      ndb/include/ndbapi/NdbReceiver.hpp:
        return pointer to row for simplified handling of current row features
      ndb/include/ndbapi/NdbScanOperation.hpp:
        return pointer to row for simplified handling of current row features
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        remove unimplemented types
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        remove unimplemented types
      ndb/src/ndbapi/NdbReceiver.cpp:
        return pointer to row for simplified handling of current row features
      ndb/src/ndbapi/NdbScanOperation.cpp:
        return pointer to row for simplified handling of current row features
      sql/ha_ndbcluster.cc:
        Impl. newest read_multi_range patch
      sql/ha_ndbcluster.h:
        Impl. newest read_multi_range patch
      sql/opt_range.cc:
        Add 1 to compensate for incorrect row estimate of 0
      7d4204a0
  34. 23 Dec, 2004 1 commit
    • unknown's avatar
      backwards compatible name change NdbConnectionto NdbTransaction · 88748b6a
      unknown authored
      removed friend declarations from doxygen
      updated some documentation in mgmapi
      
      
      BitKeeper/deleted/.del-NdbCursorOperation.hpp~da121aeaf101b136:
        Delete: ndb/include/ndbapi/NdbCursorOperation.hpp
      BitKeeper/deleted/.del-NdbCursorOperation.cpp~8d49480ced2deba5:
        Delete: ndb/src/ndbapi/NdbCursorOperation.cpp
      ndb/include/Makefile.am:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/ScanTab.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcCommit.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcHbRep.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcIndx.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcKeyConf.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcKeyFailConf.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcRollbackRep.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TransIdAI.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/mgmapi/mgmapi.h:
        backwards compatible name change NdbConnectionto NdbTransaction
        documented some missing things in mgmapi
      ndb/include/ndbapi/Ndb.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbApi.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbBlob.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbDictionary.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbEventOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbRecAttr.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbReceiver.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbScanFilter.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbScanOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbTransaction.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Makefile.am:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndb.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbApiSignal.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbBlob.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbImpl.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperation.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperationExec.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperationInt.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbReceiver.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbScanOperation.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbTransaction.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbTransactionScan.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndberr.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndbif.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndbinit.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndblist.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/tools/restore/consumer_restore.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      sql/ha_ndbcluster.h:
        backwards compatible name change NdbConnectionto NdbTransaction
      88748b6a
  35. 20 Dec, 2004 1 commit
    • unknown's avatar
      ndb: wl-1893: range scanning backwards, handler · 9acdec63
      unknown authored
      mysql-test/ndb/ndb_range_bounds.pl:
        test ordered scan
      mysql-test/r/ndb_index_ordered.result:
        test ordered scan
      mysql-test/t/ndb_index_ordered.test:
        test ordered scan
      sql/ha_ndbcluster.cc:
        wl-1893: range scanning backwards, handler
      sql/ha_ndbcluster.h:
        wl-1893: range scanning backwards, handler
      9acdec63
  36. 17 Dec, 2004 1 commit