1. 19 May, 2005 25 commits
  2. 18 May, 2005 15 commits
    • unknown's avatar
      Fixes to merge from 4.1 · 9f02364e
      unknown authored
      
      client/mysqldump.c:
        Temporarily disable unused (and broken) code.
      mysql-test/r/group_min_max.result:
        Update results
      mysql-test/r/mysqldump.result:
        Update results
      mysql-test/r/subselect.result:
        Update results
      mysql-test/t/group_min_max.test:
        Ignore number of rows in output of most explain results
      sql/sql_insert.cc:
        Fix reference to max_unique_length
      9f02364e
    • unknown's avatar
      Resolve merge from 4.1 · db69bf2d
      unknown authored
      
      mysql-test/r/grant_cache.result:
        Auto merged
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/t/grant_cache.test:
        Auto merged
      mysql-test/t/merge.test:
        Auto merged
      sql/ha_myisammrg.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/handler.h:
        Resolve merge
      sql/table.cc:
        Resolve merge
      db69bf2d
    • unknown's avatar
      Merge book.sanja.is.com.ua:/Users/bell/mysql/bk/mysql-4.1 · b5ca7a75
      unknown authored
      into book.sanja.is.com.ua:/Users/bell/mysql/bk/work-4.1
      
      b5ca7a75
    • unknown's avatar
      Merge · 91d4744c
      unknown authored
      
      ndb/include/kernel/ndb_limits.h:
        Auto merged
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      mysys/thr_alarm.c:
        Manual merge
      91d4744c
    • unknown's avatar
      BUG#9626 · efdd7c85
      unknown authored
       - Fix valgrind warnings
       - Remove static db, schema and table name buffers from Ndb.cpp
      
      
      mysys/thr_alarm.c:
        Initialise sact to zero
      ndb/include/kernel/ndb_limits.h:
        Set MAX_ATTR_NAME_SIZE to NAME_LEN which is tha maximum in MySQL
      ndb/include/kernel/signaldata/GetTabInfo.hpp:
        Clean up
      ndb/include/ndbapi/Ndb.hpp:
        Remove NDB_MAX_INTERNAL_NAME_LENGTH and all char buffers for schema, db and tablename.
        Made them dynamic and moved to NdbImpl.hpp
      ndb/include/ndbapi/ndbapi_limits.h:
        Remove the static length's of attr, db, schema and table name.
      ndb/src/common/transporter/Packer.cpp:
        Set theSignalId to ~0 when unpacking signal
      ndb/src/ndbapi/Ndb.cpp:
        Moved schema, database and tablename to NdbImpl.hpp
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Add NdbIndexImpl::init and NdbEventImpl::init
        Init all vars in NdbIndexImpl, NdbEventImpl, NdbTableImpl and NdbIndexImpl
        Delete the pseudo column NDB$RANGE_NO
        Copy tablename to internal buff in NdbDictInterface to get proper alignment.
        Convert length of table name from bytes words, when setting sz of LinearSectionPtr
        Set LinearSectionPtr array size to number of LinearSections used - save some stack.
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Add NdbEventImpl::init and NdbIndexImpl::init
        Remove clearNewProperties and copyNewProperties, it's easier to check if all vars are initied if it's done in the same func.
        Add buffer for tabname ti NdbDictInterface, memset it to 0 in initializer.
      ndb/src/ndbapi/NdbImpl.hpp:
        Use BaseString for table, schema and db names.
      ndb/src/ndbapi/Ndbinit.cpp:
        Move schema and db name to NdbImpl and use BaseString
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Destroy ndb_global_event_buffer_mutex and ndb_print_state_mutex
      sql/ha_ndbcluster.cc:
        Check if pTrans is not null before calling closeTransaction
        Remove NDB_MAX_ATTR_NAME_SIZE
        Remove truncation of attr names. When attr name length is same in NDB as in MySQL this will be checked in functin check_column_name
      efdd7c85
    • unknown's avatar
      merge · 52b08ea4
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      52b08ea4
    • unknown's avatar
      Fixed bug from last push · fcb1b160
      unknown authored
      fcb1b160
    • unknown's avatar
      Resolve merge from 4.1 · 77c756f3
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      client/mysqldump.c:
        Resolve merge
      mysql-test/r/myisam.result:
        Resolve merge
      mysql-test/r/mysqldump.result:
        Resolve merge
      mysql-test/r/olap.result:
        Resolve merge
      mysql-test/r/subselect.result:
        Resolve merge
      mysql-test/t/myisam.test:
        Resolve merge
      mysql-test/t/mysqldump.test:
        Resolve merge
      mysql-test/t/olap.test:
        Resolve merge
      mysql-test/t/range.test:
        Resolve merge
      mysql-test/t/subselect.test:
        Resolve merge
      ndb/src/common/util/version.c:
        Resolve merge
      ndb/src/ndbapi/ndberror.c:
        Resolve merge
      sql/item.cc:
        Resolve merge
      sql/item_strfunc.h:
        Resolve merge
      sql/sql_select.cc:
        Resolve merge
      sql/sql_yacc.yy:
        Resolve merge
      77c756f3
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 79ac77e4
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      79ac77e4
    • unknown's avatar
      Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE · 6f0ea859
      unknown authored
      After review version.
      Added a condition for MERGE tables. These do not have unique
      indexes. But every key could be a unique key on the underlying
      MyISAM table. So get the maximum key length for MERGE tables
      instead of the maximum unique key length. This is used for
      buffer allocation in write_record().
      
      
      mysql-test/r/merge.result:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        The test result.
      mysql-test/t/merge.test:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        The test case does not in all cases show the problem
        without the bugfix. The improper memory allocation
        might get through undetected in many cases.
      sql/ha_myisammrg.h:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        Set a table_flag for the MERGE engine telling that any index
        might be unique without being specified as such.
      sql/handler.h:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        Added a new table_flag telling that any index
        might be unique without being specified as such.
      sql/sql_insert.cc:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        Changed the freeing of the memory to be symmetric to its
        allocation (my_safe_alloc -> my_safe_afree).
        This is not directly related to the bug.
      sql/table.cc:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        Added a condition for MERGE tables. These do not have unique
        indexes. But every key could be a unique key on the underlying
        MyISAM table. So get the maximum key length for MERGE tables
        instead of the maximum unique key length. This is used for
        buffer allocation in write_record().
      6f0ea859
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 4ac1a1ce
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      4ac1a1ce
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 50afd9b9
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-root
      
      
      include/my_dbug.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      50afd9b9
    • unknown's avatar
      Fix a couple of compilation failures. · 14d51748
      unknown authored
      
      include/my_dbug.h:
        Fix conflicting declaration and definition of db_output.
      sql/mysqld.cc:
        Fix a compilation failure.
      14d51748
    • unknown's avatar
      New file default_modify.c. Fixed a typo on mysqld.cc · 1150c4aa
      unknown authored
      Changed name of function my_correct_default_file to
      modify_defaults_file. Improved function and fixed some
      bugs in it.
      
      
      include/my_sys.h:
        Changed function name.
      include/mysql_com.h:
        New function, modify_defaults_file()
      libmysql/Makefile.shared:
        New file, default_modify.lo
      libmysql/libmysql.def:
        New function, modify_defaults_file() and fixed version number.
      libmysqld/libmysqld.def:
        New function, modify_defaults_file()
      mysys/Makefile.am:
        New file, default_modify.c
      mysys/default.c:
        Removed function from default.c. New, corresponding one is in default_modify.c,
        name is modify_defaults_file.
      server-tools/instance-manager/commands.cc:
        Changed function name.
      sql/mysqld.cc:
        Fixed typo.
      1150c4aa
    • unknown's avatar
      Update mysqldump test and results · 99df20b9
      unknown authored
      
      mysql-test/r/mysqldump.result:
        Update results
      mysql-test/t/mysqldump.test:
        Fix test to not include version number in results
      99df20b9