An error occurred fetching the project authors.
  1. 19 Apr, 2006 3 commits
  2. 11 Apr, 2006 2 commits
  3. 10 Apr, 2006 2 commits
    • unknown's avatar
      ndb - · f1fde80a
      unknown authored
        fix all valgrind warnings in t/ndb_dd (except replication related)
      
      
      sql/ha_ndbcluster.cc:
        Fix memleak
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Fix valgrind warning
      storage/ndb/include/kernel/signaldata/DropFilegroup.hpp:
        Fix valgrind warning
      storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        Fix valgrind warning
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix valgrind warning
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Fix valgrind warning
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Fix valgrind warning
      storage/ndb/src/ndbapi/ndberror.c:
        Fix valgrind warning
      f1fde80a
    • unknown's avatar
      Bug #18932: Cluster binlog mysqld accepts updating although binlog not setup · 4618e6ec
      unknown authored
      sql/ha_ndbcluster.cc:
        Bug #18932: Cluster binlog mysqld accepts updating although binlog not setup
        - put ndb tables in read only until binlog is setup properly
      sql/ha_ndbcluster_binlog.cc:
        Bug #18932: Cluster binlog mysqld accepts updating although binlog not setup
        - put ndb tables in read only until binlog is setup properly
      4618e6ec
  4. 07 Apr, 2006 1 commit
    • unknown's avatar
      Bug#13228 open table cache not flushed when table schema changed · 7c834955
      unknown authored
      - Error 1296 is no longer returned on first select after DROP/CREATE.
      
      
      mysql-test/r/ndb_alter_table2.result:
        Error 1296 is no longer returned on first select after DROP/CREATE, handled proactive in ndb_handle_schema_change.
      mysql-test/t/ndb_alter_table2.test:
        Error 1296 is no longer returned on first select after DROP/CREATE, handled proactive in ndb_handle_schema_change.
      sql/ha_ndbcluster.cc:
        Add sourrounding {'s
      7c834955
  5. 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
  6. 29 Mar, 2006 4 commits
    • unknown's avatar
      Fix for bug#18598 ndb_partition_list · fa24633f
      unknown authored
      fa24633f
    • unknown's avatar
      Remove compiler warnings · 8ac1d552
      unknown authored
      Add missing DBUG_RETURN
      Fixed stack overflow in NdbBlob (found by ndb_gis.test)
      Fixed access to freed memory in ndb_cluster_real_free_share()
      
      
      mysys/mf_keycache.c:
        Add missing DBUG_RETURN
      sql/ha_ndbcluster.cc:
        Move free_root to after share handling, as otherwise we will free things needed by free_table_share()
      sql/item_func.cc:
        Add missing DBUG_RETURN
      sql/item_strfunc.cc:
        Add missing DBUG_RETURN
      sql/sp_head.cc:
        Add missing DBUG_RETURN
      sql/sql_base.cc:
        Add missing DBUG_RETURN
      storage/csv/ha_tina.cc:
        Add missing DBUG_RETURN
      storage/myisam/mi_key.c:
        Add missing DBUG_RETURN
      storage/myisam/mi_keycache.c:
        Add missing DBUG_RETURN
      storage/ndb/include/kernel/signaldata/ArbitSignalData.hpp:
        Remove compiler warning
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Remove compiler warning
      storage/ndb/include/transporter/TransporterDefinitions.hpp:
        Remove compiler warning
      storage/ndb/include/util/SimpleProperties.hpp:
        Remove compiler warning
      storage/ndb/include/util/SocketServer.hpp:
        Remove compiler warning
      storage/ndb/src/ndbapi/ClusterMgr.hpp:
        Remove compiler warning
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Fix stack overflow
      storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp:
        Remove compiler warning
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Remove compiler warning
      8ac1d552
    • unknown's avatar
      Fixed compiler and valgrind warnings · 59eaf292
      unknown authored
      Added missing DBUG_xxx_RETURN statements
      Fixed some usage of not initialized variables (as found by valgrind)
      Ensure that we don't remove locked tables used as name locks from open table cache until unlock_table_names() are called.
      This was fixed by having drop_locked_name() returning any table used as a name lock so that we can free it in unlock_table_names()
      This will allow Tomas to continue with his work to use namelocks to syncronize things.
      
      Note: valgrind still produces a lot of warnings about using not initialized code and shows memory loss errors when running the ndb tests
      
      
      BitKeeper/etc/ignore:
        added mysql-test/r/*.log
      client/mysqltest.c:
        Change type of variables to get rid of compiler warnings
        More debugging
        Fix memory leak
      mysql-test/mysql-test-run.sh:
        Collect warnings about missing DBUG_RETURN statements
      mysql-test/r/lock_multi.result:
        Add test of new code
      mysql-test/r/ndb_condition_pushdown.result:
        Drop used tables before test
      mysql-test/t/lock_multi.test:
        Add test of new code
      mysql-test/t/ndb_condition_pushdown.test:
        Drop used tables before test
      mysql-test/valgrind.supp:
        Ignore 'safe' warnings from libz (when used with archive)
      sql/event.cc:
        More comments
        Simplify code
        Fixed memory leak found by valgrind
      sql/ha_archive.cc:
        Remove compiler warnings (Wrong handlerton structure and signed/unsigned comparison)
      sql/ha_berkeley.cc:
        Fixed compiler warning
      sql/ha_blackhole.cc:
        Fixed compiler warning
      sql/ha_federated.cc:
        Fixed compiler warning
      sql/ha_heap.cc:
        Fixed compiler warning
      sql/ha_myisam.cc:
        Fixed compiler warning
      sql/ha_myisammrg.cc:
        Fixed compiler warning
      sql/ha_ndbcluster.cc:
        Fixed compiler warnings
      sql/ha_partition.cc:
        Fixed compiler warning
        Fixed error noticed by valgrind in ha_partition::rnd_init()
      sql/handler.cc:
        Fixed compiler warning
      sql/handler.h:
        Fixed compiler warning
      sql/item.cc:
        Fixed compiler warning
      sql/item_xmlfunc.cc:
        Fixed warning from valgrind when calling memcpy with wrong address
      sql/lock.cc:
        More debugging
      sql/log.cc:
        Fixed compiler warning
        Indentation fixes
      sql/log.h:
        Fixed compiler warning
      sql/mysql_priv.h:
        Changed prototype for 'drop_locked_tables'
      sql/opt_range.cc:
        Indentation fix
      sql/password.c:
        Removed compiler warnings
      sql/set_var.cc:
        Fixed compiler warning
      sql/slave.cc:
        Fixed compiler warning
      sql/sp_head.cc:
        Fixed compiler warning
      sql/sql_acl.cc:
        Fixed compiler warning
      sql/sql_analyse.cc:
        Added missing DBUG_RETURN statements
      sql/sql_base.cc:
        Removed de-reference of not initialized pointer
        More comments
        drop_locked_tables() changed to not delete tables used for name locking
        Fixed compiler warnings
      sql/sql_delete.cc:
        Fixed usage of not initialized variable
        (deleted could be referenced in some not common error conditions)
      sql/sql_parse.cc:
        Added missing DBUG_VOID_RETURN
        Simplify code
      sql/sql_partition.cc:
        Fixed usage of wrong variable (noticed by valgrind)
      sql/sql_plugin.cc:
        Removed compiler warning
      sql/sql_show.cc:
        Removed compiler warning
      sql/sql_table.cc:
        Ensure that we don't remove locked tables used as name locks from open table cache until unlock_table_names() are called.
        This was fixed by having drop_locked_name() returning any table used as a name lock so that we can free it in unlock_table_names()
        This will allow Tomas to continue with his work to use namelocks to syncronize things.
        
        Fixed wrong test of 'table_type' (path_length could otherwise be accessed uninitialized)
        
        Remove compile warnings about not initialized variables.
      sql/sql_yacc.yy:
        Ensure that no_write_to_binlog is properly initialized
        (Was accessed uninitialized by partition code)
      sql/table.cc:
        Removed valgrind warnings (not fatal)
        Removed compiler warnings
      sql/tztime.cc:
        Removed valgrind warning
      storage/ndb/include/ndbapi/NdbIndexStat.hpp:
        Removed compiler warning
      59eaf292
    • unknown's avatar
      Added more debugging printouts · af744545
      unknown authored
      af744545
  7. 28 Mar, 2006 3 commits
  8. 27 Mar, 2006 1 commit
    • unknown's avatar
      removed rpl_ndb_sp007 test as it uses savepoints which is only supported by innodb · 92fb31e3
      unknown authored
      compile error fixes
      
      
      BitKeeper/deleted/.del-rpl_ndb_sp007.test~72c66392eed0d74:
        Delete: mysql-test/t/rpl_ndb_sp007.test
      BitKeeper/deleted/.del-rpl_ndb_sp007.result~b1b713abfd655893:
        Delete: mysql-test/r/rpl_ndb_sp007.result
      mysql-test/t/disabled.def:
        removed rpl_ndb_sp007 test as it uses savepoints which is only supported by innodb
      sql/ha_ndbcluster.cc:
        compile error fixes
      92fb31e3
  9. 24 Mar, 2006 2 commits
  10. 23 Mar, 2006 3 commits
  11. 18 Mar, 2006 1 commit
  12. 14 Mar, 2006 2 commits
  13. 09 Mar, 2006 2 commits
  14. 08 Mar, 2006 2 commits
  15. 07 Mar, 2006 2 commits
    • unknown's avatar
      Fix for bug#15447 Partitions: NULL is treated as zero · 807c7a6a
      unknown authored
        NULL value handling
      
      
      mysql-test/r/ndb_partition_error.result:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/r/partition.result:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/t/ndb_partition_error.test:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/t/partition.test:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      sql/partition_element.h:
        Fix for bug#15447 Partitions: NULL is treated as zero
          added null value flag to partition_element object
      sql/partition_info.h:
        Fix for bug#15447 Partitions: NULL is treated as zero
          added null value flag to partition_info object
          added has_null partition id variable
      807c7a6a
    • unknown's avatar
      Bug #16874 memory leaks in rpl_row_basic_7ndb.test · f4ab06ee
      unknown authored
      - free ndb shares at server shutdown
      - free_table_share at free of ndb_share
      
      
      f4ab06ee
  16. 01 Mar, 2006 2 commits
    • unknown's avatar
      Bug #17827 cluster: rename of several tables in one statement, gets multiply logged · 62f7005a
      unknown authored
      - redo log table query for log, split into separate entries per rename, to avoid duplicates, also to only log renames that relate to ndb tables
      
      
      sql/ha_ndbcluster_binlog.h:
        Bug #17827  	cluster: rename of several tables in one statement, gets multiply logged
      62f7005a
    • unknown's avatar
      Bug #16385 Partitions: crash when updating a range partitioned NDB table · 39c03f0d
      unknown authored
      Bug #17806 Update on NDB table with list partition causes mysqld to core
      - modified complemented_pk_read to be complemented_read, and handle also hidden key
      
      
      mysql-test/r/ndb_partition_range.result:
        Bug #16385 Partitions: crash when updating a range partitioned NDB table
        Bug #17806 Update on NDB table with list partition causes mysqld to core
      mysql-test/t/ndb_partition_range.test:
        Bug #16385 Partitions: crash when updating a range partitioned NDB table
        Bug #17806 Update on NDB table with list partition causes mysqld to core
      sql/ha_ndbcluster.h:
        Bug #16385 Partitions: crash when updating a range partitioned NDB table
        Bug #17806 Update on NDB table with list partition causes mysqld to core
      39c03f0d
  17. 28 Feb, 2006 4 commits
    • unknown's avatar
      Bug #17499 continued · b70aaf38
      unknown authored
      - moved initialization of used_partitions
      - more tests
      
      + removed reference to fixed bugs
      
      
      mysql-test/r/ndb_partition_range.result:
        Bug #17499 continued
        - more testing
      mysql-test/t/disabled.def:
        removed reference to fixed bugs
      mysql-test/t/ndb_partition_range.test:
        Bug #17499 continued
        - more testing
      sql/ha_ndbcluster.cc:
        Bug #17499 continued
        - moved initialization of used_partitions
      sql/sql_partition.cc:
        Bug #17499 continued
        - moved initialization of used_partitions
      b70aaf38
    • unknown's avatar
      Bug#17499, complementing patch · 23c66136
      unknown authored
      23c66136
    • unknown's avatar
      Bug #17499 Alter table of ndb partitioned tables causes mysqld to core · 50ce511b
      unknown authored
      - moved used_partitions initialization
      
      
      50ce511b
    • unknown's avatar
      Bug #17763 mysqld cores with list partitioning if update to missing partition · ad5eb8d1
      unknown authored
      - error string wrongly formatted
      
      
      mysql-test/r/ndb_partition_error.result:
        Bug #17763 mysqld cores with list partitioning if update to missing partition
      mysql-test/t/ndb_partition_error.test:
        Bug #17763 mysqld cores with list partitioning if update to missing partition
      ad5eb8d1
  18. 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
  19. 26 Feb, 2006 1 commit
    • unknown's avatar
      Cleanups · 422a1406
      unknown authored
      Don't run upgrade.test with embedded server as it requires mysqlcheck
      
      
      mysql-test/r/upgrade.result:
        Change database names to start with mysqltest
      mysql-test/t/upgrade.test:
        Change database names to start with mysqltest
        Don't run test with embedded server as it requires mysqlcheck
      sql/ha_ndbcluster.cc:
        Code style cleanups
        more dbugging
      sql/ha_ndbcluster_binlog.cc:
        Free table_share properly in case of errors
        More debugging
      422a1406
  20. 20 Feb, 2006 1 commit