An error occurred fetching the project authors.
  1. 12 Jun, 2006 3 commits
  2. 08 Jun, 2006 1 commit
  3. 02 Jun, 2006 2 commits
  4. 25 May, 2006 2 commits
  5. 17 May, 2006 1 commit
    • unknown's avatar
      ndb - bug#14509 [related] re-do auto-incr error handling · 4e6efa10
      unknown authored
      ndb/include/ndbapi/Ndb.hpp:
        make auto-incr methods return int 0/-1
      ndb/src/ndbapi/Ndb.cpp:
        make auto-incr methods return int 0/-1
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        make auto-incr methods return int 0/-1
      ndb/test/ndbapi/testDict.cpp:
        make auto-incr methods return int 0/-1
      ndb/tools/restore/consumer_restore.cpp:
        make auto-incr methods return int 0/-1
      sql/ha_ndbcluster.cc:
        make auto-incr methods return int 0/-1
      4e6efa10
  6. 16 May, 2006 1 commit
    • unknown's avatar
      ndb - bug#14509 [related] setAutoIncrement: add error handling · 0219f8b0
      unknown authored
      ndb/include/ndbapi/Ndb.hpp:
        setAutoIncrement: add error handling
      ndb/src/ndbapi/Ndb.cpp:
        setAutoIncrement: add error handling
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        setAutoIncrement: add error handling
      ndb/tools/restore/consumer_restore.cpp:
        setAutoIncrement: add error handling
      sql/ha_ndbcluster.cc:
        setAutoIncrement: add error handling
      0219f8b0
  7. 15 May, 2006 2 commits
    • unknown's avatar
      correction of merge · 326ebe4c
      unknown authored
      326ebe4c
    • unknown's avatar
      Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail · 37f940ce
      unknown authored
      - invalidate ndb dict cache on cluster disconnect (ClusterMgr.cpp)
      - add check for correct frm on external lock when table cache is found invalid
      
      
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ClusterMgr.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ClusterMgr.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/DictCache.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/DictCache.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/TransporterFacade.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      sql/ha_ndbcluster.cc:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      mysql-test/r/ndb_autodiscover3.result:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      mysql-test/t/ndb_autodiscover3.test:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      37f940ce
  8. 05 May, 2006 1 commit
  9. 26 Apr, 2006 1 commit
  10. 25 Apr, 2006 1 commit
  11. 11 Apr, 2006 1 commit
  12. 05 Apr, 2006 1 commit
    • unknown's avatar
      Bug #13601: Wrong int type for bit · b3b626c3
      unknown authored
        The wrong value was being reported as the field_length for BIT
        fields, resulting in confusion for at least Connector/J. The
        field_length is now always the number of bits in the field, as
        it should be.
      
      
      mysql-test/r/type_bit.result:
        Add new results
      mysql-test/r/type_bit_innodb.result:
        Add new results
      mysql-test/t/type_bit.test:
        Add new regression test
      mysql-test/t/type_bit_innodb.test:
        Add new regression test
      sql/field.cc:
        Fix Field_bit->field_length to actually report the display width, and
        store the bytes stored in the rec in the new bytes_in_rec member.
      sql/field.h:
        Fix Field_bit::field_length to store the correct value, adding
        Field_bit::bytes_in_rec to remember the number of bytes used for
        storing the value. Remove Field_bit_as_char::create_length, as it
        is now redundant.
      sql/ha_ndbcluster.cc:
        Handle field_length of Field_bit actually being the display width (# of bits).
      sql/key.cc:
        Fix inappropriate use of field->field_length for BIT field.
      b3b626c3
  13. 28 Mar, 2006 3 commits
  14. 24 Mar, 2006 1 commit
  15. 23 Mar, 2006 2 commits
  16. 27 Feb, 2006 1 commit
    • unknown's avatar
      Bug#16795 ndb_cache_multi2 · 701bd9ed
      unknown authored
       - Change && to ||
       - Check for return value != 0 in "ndb->init()"
      
      
      mysql-test/r/ndb_cache_multi2.result:
        Update test result
      mysql-test/t/ndb_cache_multi2.test:
        Update test case
        - add printouts for what server the queries are from
        - Run the query from "while" once on server1 to cache it
      sql/ha_ndbcluster.cc:
        && => ||, to call both the function "thd->store_global()" and "ndb->init()" 
        ndb_init returns 0 on sucess. Fail if not zero.
      701bd9ed
  17. 13 Feb, 2006 1 commit
    • unknown's avatar
      ndb: · 12de2b7a
      unknown authored
      add optional reporting of of a "name" tied to a nodeid in the cluster log
      reporting added for mysql server and ndb_restore
      
      
      12de2b7a
  18. 10 Feb, 2006 2 commits
    • unknown's avatar
      manual merge · a45c39e7
      unknown authored
      a45c39e7
    • unknown's avatar
      Bug #17249 ndb, delete statement with join where clause fails when table do not have pk · 26287714
      unknown authored
      Bug #17257 ndb, update fails for inner joins if tables do not have Primary Key
      
      change: the allocated area by setValue may not be around for later, store hidden key in special member variable instead
      
      
      mysql-test/r/ndb_basic.result:
        Bug #17249 delete statement with join where clause fails when table do not have pk
        Bug #17257 update fails for inner joins if tables do not have Primary Key
      mysql-test/t/ndb_basic.test:
        Bug #17249 delete statement with join where clause fails when table do not have pk
        Bug #17257 update fails for inner joins if tables do not have Primary Key
      sql/ha_ndbcluster.cc:
        Bug #17249 delete statement with join where clause fails when table do not have pk
        Bug #17257 update fails for inner joins if tables do not have Primary Key
        
        change: the allocated area by setValue may not be around for later, store hidden key in special member variable instead
      sql/ha_ndbcluster.h:
        Bug #17249 delete statement with join where clause fails when table do not have pk
        Bug #17257 update fails for inner joins if tables do not have Primary Key
        
        change: the allocated area by setValue may not be around for later, store hidden key in special member variable instead
      26287714
  19. 07 Feb, 2006 2 commits
  20. 06 Feb, 2006 2 commits
  21. 10 Jan, 2006 1 commit
    • unknown's avatar
      Bug #13228 open table cache not flushed when table schema changed · c521a513
      unknown authored
       - Close open unused handlers when a schema error occurs.
      
      
      sql/ha_ndbcluster.cc:
        When a schema error occurs call close_cached_tables to close any open unused handlers that has opened this table.
      mysql-test/r/ndb_alter_table2.result:
        New BitKeeper file ``mysql-test/r/ndb_alter_table2.result''
      mysql-test/t/ndb_alter_table2.test:
        New BitKeeper file ``mysql-test/t/ndb_alter_table2.test''
      c521a513
  22. 05 Jan, 2006 1 commit
    • unknown's avatar
      Review fixes of new pushed code · 64206b18
      unknown authored
      - Fixed tests
      - Optimized new code
      - Fixed some unlikely core dumps
      - Better bug fixes for:
        - #14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        - #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null
      
      
      mysql-test/r/create.result:
        Update results after removing wrong warnings for CREATE ... SELECT
        New tests
      mysql-test/r/handler.result:
        Drop used tables
      mysql-test/r/kill.result:
        Make test portable
      mysql-test/r/mysqlshow.result:
        Drop tables used by previous test
      mysql-test/r/trigger.result:
        Reuse old procedure name
      mysql-test/r/view.result:
        Extra tests
      mysql-test/t/create.test:
        New tests to test fix of removing wrong warnings for CREATE ... SELECT
      mysql-test/t/disabled.def:
        Enable 'kill' test (should now be portable)
      mysql-test/t/handler.test:
        Drop used tables
      mysql-test/t/kill.test:
        Make test portable even if kill doesn't work at once
      mysql-test/t/mysqlshow.test:
        Drop tables used by previous test
      mysql-test/t/trigger.test:
        Reuse old procedure name
      mysql-test/t/view.test:
        Extra tests
      sql/field.cc:
        Removed compiler warning
      sql/ha_federated.cc:
        my_snprintf -> strmake()
        (Simple optimization)
      sql/ha_ndbcluster.cc:
        Indentation cleanups and trival optimization
      sql/item.cc:
        Moved save_org_in_field() to item.cc to make it easier to test
        Remove setting of null_value as this is not needed
      sql/item.h:
        Moved save_org_in_field() to item.cc to make it easier to test
      sql/log_event.cc:
        Remove inline of slave_load_file_stem()
        Added 'extension' parameter to slave_load_file_stem() to get smaller code
        Removed not critical (or needed) DBUG_ASSERT()'s
        Cleaned up usage of slave_load_file_stem() to not depend on constant string lengths
        Indentation fixes
      sql/opt_range.cc:
        Moved code from declaration to function body
        (To make it more readable)
      sql/parse_file.cc:
        Fixed DBUG_PRINT
      sql/sp.cc:
        Simple cleanups
        - Removed not needed {} level
        - Ensure saved variables starts with old_
      sql/sp_head.cc:
        Indentation fixes
        Remove core dump when using --debug when m_next_cached_sp == 0
        Fixed compiler warnings
        Trivial optimizations
      sql/sp_head.h:
        Changed argument to set_definer() to const
        Added THD argument to recursion_level_error() to avoid call to current_thd
      sql/sql_acl.cc:
        Removed not needed test (first_not_own_table is the guard)
      sql/sql_base.cc:
        Removed extra empty line
      sql/sql_handler.cc:
        Don't test table version in mysql_ha_read() as this is already tested in lock_tables()
        Moved call to insert_fields to be after lock_table() to guard aganst reopen of tables
        (Better fix for Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash)
      sql/sql_insert.cc:
        Mark fields that are set in CREATE ... SELECT as used
        (Removed wrong warnings about field not having a default value)
      sql/sql_parse.cc:
        Removed not needed test of 'tables' (first_not_own_table is the guard)
        Simplify code
      sql/sql_select.cc:
        Use group->field to check if value is null instead of item called by 'save_org_in_field'
        This is a better bug fix for #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null)
      sql/sql_trigger.cc:
        Move sql_modes_parameters outside of function
        Indentation fixes
        Fixed compiler warning
        Ensure that thd->lex->query_tables_own_last is set properly before calling check_table_access()
        (This allows us to remove the extra test in check_grant() and check_table_access())
      64206b18
  23. 14 Dec, 2005 2 commits
    • unknown's avatar
      bug#15682 - ndb · f8f2d51a
      unknown authored
        incorrect handling of varchar in position/rnd_pos
      
        Commit for 5.0.17 release clone
      
      
      mysql-test/r/ndb_basic.result:
        bug#15682
      mysql-test/t/ndb_basic.test:
        bug#15682
      sql/ha_ndbcluster.cc:
        bug#15682
      f8f2d51a
    • unknown's avatar
      bug#15682 - ndb - invalid handling of varchar in position/rnd_pos · 2c808bed
      unknown authored
      mysql-test/r/ndb_basic.result:
        bug#15682 - invalid handling of varchar in position/rnd_pos
      mysql-test/t/ndb_basic.test:
        bug#15682 - invalid handling of varchar in position/rnd_pos
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        New error code for invalid key
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle invalid key gracefully
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        Handle invalid key gracefully
      ndb/src/ndbapi/ndberror.c:
        New error code
      sql/ha_ndbcluster.cc:
        Fix varchar keys in position/rnd_pos
      2c808bed
  24. 09 Dec, 2005 1 commit
    • unknown's avatar
      Fix crash in BDB from improper cleanup of transactions, and avoid problem · 4d096730
      unknown authored
      in NDB that the fix would cause due to improper registration of a transaction
      that isn't meant to be seen by the handler layer. (Bug #14212)
      
      Thanks to Sergei Golubchik for helping with this.
      
      
      mysql-test/r/bdb.result:
        Add new result
      mysql-test/t/bdb.test:
        Add new regression test
      sql/ha_ndbcluster.cc:
        Don't register transaction if transactions are "disabled".
      sql/handler.cc:
        Commit statement before trying to end transaction.
      4d096730
  25. 24 Nov, 2005 1 commit
  26. 21 Nov, 2005 1 commit
    • unknown's avatar
      Bug #14514 Creating table with packed key fails silently · 95b92b43
      unknown authored
       - Backport from 5.0
      
      
      include/my_base.h:
        Rename HA_CREATE_FROM_ENGINE to HA_OPTION_CREATE_FROM_ENGINE, ie. it's a bit in the table_options variable
      mysql-test/r/ndb_basic.result:
        Add test result
      mysql-test/t/ndb_basic.test:
        Add test case for bug14514
      sql/ha_ndbcluster.cc:
        Use new bitmask for table_options to detect if create from engine
      sql/handler.cc:
        Use new bit for create from engine
      95b92b43
  27. 18 Nov, 2005 1 commit
  28. 17 Nov, 2005 1 commit