1. 23 Sep, 2005 9 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 02b4c1b4
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-rmuqf
      
      
      02b4c1b4
    • unknown's avatar
      Fixed race conditions in rpl_multi_update and rpl_multi_delete tests which · dfabe1ed
      unknown authored
      caused spurious test failures.
      
      
      mysql-test/t/rpl_multi_delete.test:
        Fixed race condition in test that caused spurious test failure.
        To have predictable result from statements which are run on slave we
        need to sync master and slave explicitly.
      mysql-test/t/rpl_multi_update.test:
        Fixed race condition in test that caused spurious test failure.
        To have predictable result from statements which are run on slave we
        need to sync master and slave explicitly.
      dfabe1ed
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 8fd06541
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      8fd06541
    • unknown's avatar
      Merge from 4.1 to 5.0 · 72a8049b
      unknown authored
      
      mysql-test/r/loaddata.result:
        Add drop tablea after test case
      mysql-test/r/type_decimal.result:
        Update warnings
      mysql-test/r/union.result:
        Miss in merge
      mysql-test/t/loaddata.test:
        Add drop table after test case
      sql/opt_sum.cc:
        Add missing }
      sql/sql_load.cc:
        Manual merge
      72a8049b
    • unknown's avatar
      InnoDB: Minor fixes. · 8acd0fa4
      unknown authored
      
      innobase/include/trx0trx.h:
        Fix invalid comment.
      sql/ha_innodb.cc:
        Change some memory allocations to fail-on-error.
        
        Cast argument of my_free to gptr, not char*.
      8acd0fa4
    • unknown's avatar
      Merge 127.(none):/home/osku/mysql/5.0/clean · 125f5a79
      unknown authored
      into  127.(none):/home/osku/mysql/5.0/13315
      
      
      125f5a79
    • unknown's avatar
      InnoDB: Fix bug #13315, index columns having a maximum length of 767. · 6fbbb1d5
      unknown authored
      
      innobase/data/data0data.c:
        Adapt to DICT_MAX_COL_PREFIX_LEN rename.
      innobase/dict/dict0dict.c:
        Adapt to DICT_MAX_COL_PREFIX_LEN rename.
      innobase/include/dict0mem.h:
        Rename DICT_MAX_COL_PREFIX_LEN to DICT_MAX_INDEX_COL_LEN.
      innobase/include/row0mysql.h:
        Add field_lengths parameter to row_create_index_for_mysql.
      innobase/rem/rem0rec.c:
        Adapt to DICT_MAX_COL_PREFIX_LEN rename.
      innobase/row/row0mysql.c:
        Add field_lengths parameter to row_create_index_for_mysql and use it to
        check for too long index columns.
      mysql-test/r/innodb.result:
        New tests.
      mysql-test/t/innodb.test:
        New tests.
      sql/ha_innodb.cc:
        Create temporary field_lengths buffer and pass it to
        row_create_index_for_mysql.
      6fbbb1d5
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · 129300f1
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      client/mysqltest.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      mysql-test/t/func_group.test:
        Auto merged
      mysql-test/t/loaddata.test:
        Auto merged
      mysql-test/t/type_decimal.test:
        Auto merged
      mysql-test/t/union.test:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      mysql-test/r/func_group.result:
        Manual merge
      mysql-test/r/loaddata.result:
        Manual merge
      mysql-test/r/type_decimal.result:
        Manual merge
      mysql-test/r/union.result:
        Manual merge
      sql/field_conv.cc:
        aborting fix for 7589
      sql/opt_sum.cc:
        Manual merge
      sql/sql_load.cc:
        Manual merge
      sql/sql_yacc.yy:
        Aborting fix for 11553
      129300f1
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · abda6dc6
      unknown authored
      into  zim.(none):/home/brian/mysql/fix-5.0
      
      
      sql/handler.cc:
        Auto merged
      abda6dc6
  2. 22 Sep, 2005 29 commits
    • unknown's avatar
      This fixed bug 13369. Note, I dislike goto's as well. · 1d5a9276
      unknown authored
      The alias structure now is a bit more simple and just uses a pointer to replace with the currect name. The giant case statement should go away in the next patch.
      
      
      sql/handler.cc:
        Simplified the code, annd fixed build issue with engines not being compiled.
        I disliek the goto but Serg preferred it over the testing of aliases first :)
      sql/handler.h:
        Removed ht from alias structure.
      1d5a9276
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · 38ebb6c6
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      BitKeeper/etc/ignore:
        auto-union
      include/my_sys.h:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/ctype_ujis.test:
        Auto merged
      sql/ha_federated.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      38ebb6c6
    • unknown's avatar
      Bug #13384 mysqltest, no protocol when script contains only lines with eval · 2fec728e
      unknown authored
      
      client/mysqltest.c:
        Set query_executed also for eval, that results in a query being executed and output is
        likely. Commited once again in 5.0
      2fec728e
    • unknown's avatar
      Bug #13384 mysqltest, no protocol when script contains only lines with eval · 727f0b8a
      unknown authored
      
      client/mysqltest.c:
        Set query_executed also for eval, that results in a query being executed and output is likely.
      727f0b8a
    • unknown's avatar
      Fixes needed to build 5.0.13 on Windows: · ac9c1fa3
      unknown authored
      - reflect two "Makefile.am" changes in the respective "VC project" files,
      - correct a typo in a (normally) unused macro parameter.
      
      
      VC++Files/libmysqld/libmysqld.vcproj:
        Reflect a change done by Kostja in the Unix "libmysqld/Makefile.am":
        New file "sql/sql_cursor.cpp" replaces "sql/protocol_cursor.cpp".
      VC++Files/sql/mysqld.vcproj:
        Reflect a change done by Kostja in the Unix "sql/Makefile.am":
        New file "sql/sql_cursor.cpp" replaces "sql/protocol_cursor.cpp".
      sql/ha_federated.cc:
        Correct a typo (matters only if "SAFEMALLOC" is set).
      ac9c1fa3
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug13164/my50-bug13164 · d2fc3bd4
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      d2fc3bd4
    • unknown's avatar
      Bug #13164 yassl: "SSL connection error" on several platforms · 17efbe9f
      unknown authored
       - it's a requirement fo yaSSL that either /dev/urandom or /dev/random is available on the target system.
       - Added a fix that tries to open /dev/random if /dev/urandom is not available.
      
      
      extra/yassl/taocrypt/src/random.cpp:
        Try to open /dev/ranom if /dev/urandom is not available.
      17efbe9f
    • unknown's avatar
      InnoDB: correct two misleading comments · aab7ac88
      unknown authored
      
      innobase/include/data0type.ic:
        Correct the comment of dtype_get_min_size()
      sql/ha_innodb.h:
        Correct the comment of innobase_set_cursor_view()
      aab7ac88
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 443b394f
      unknown authored
      into  mysql.com:/usr/home/ram/work/4.1.b11553
      
      
      443b394f
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 240bbb9c
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b11553
      
      
      240bbb9c
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · fe61a613
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/4.1
      
      
      fe61a613
    • unknown's avatar
      Fix for bug#12053 LOAD DATA INFILE ignores NO_AUTO_VALUE_ON_ZERO setting · 91ed9588
      unknown authored
        set auto_increment_field_not_null to true to preserve zero values
        for autoincrement fields during LOAD DATA execution if 
        NO_AUTO_VALUE_ON_ZERO sql mode is set
      
      
      mysql-test/r/loaddata.result:
        Fix for bug#12053 LOAD DATA INFILE ignores NO_AUTO_VALUE_ON_ZERO setting
          test case
      mysql-test/t/loaddata.test:
        Fix for bug#12053 LOAD DATA INFILE ignores NO_AUTO_VALUE_ON_ZERO setting
          test case
      91ed9588
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · 12b25c27
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      12b25c27
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 2543c551
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      2543c551
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 6532bfdd
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      mysql-test/r/ndb_alter_table.result:
        Auto merged
      mysql-test/t/ndb_alter_table.test:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      6532bfdd
    • unknown's avatar
      Add testcase for bug#13316 · 8e78ba93
      unknown authored
        ndb big alter table
      
      
      mysql-test/r/ndb_alter_table.result:
        Add testcase for bug#13316
      mysql-test/t/ndb_alter_table.test:
        Add testcase for bug#13316
      8e78ba93
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 855c1646
      unknown authored
      into  mysql.com:/usr/home/ram/work/4.1.b11553
      
      
      sql/sql_yacc.yy:
        Auto merged
      855c1646
    • unknown's avatar
      a fix (#11553: gives error if aggregate user-defined function in HAVING clause). · 6367a2c6
      unknown authored
      
      sql/sql_yacc.yy:
        a fix (#11553: gives error if aggregate user-defined function in HAVING clause).
        udf_sum_expr_list rule introduced and used for aggregate udf functions:            
          - call inc_in_sum_expr() before udf_expr_list parsing                            
            (as in_sum_expr rule does).
      6367a2c6
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 479ef8f7
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b11553
      
      
      sql/sql_yacc.yy:
        Auto merged
      479ef8f7
    • unknown's avatar
      bug#13316 · 86713962
      unknown authored
        ndb alter table with big dicttabinfo
        send alter_tab_req fragmented as signal can get larger than MAX_MESSAGE_SIZE
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        DictTabInfo used during alter table can easily becom larger than MAX_MESSAGE_SIZE
          send fragmented instead
      86713962
    • unknown's avatar
      GCC4 build fix · ff50190a
      unknown authored
      
      ndb/src/ndbapi/NdbUtil.hpp:
        gcc4 build fix
      ff50190a
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · d440d5ea
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      d440d5ea
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · ac2ffe02
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      ac2ffe02
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0d603173
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      0d603173
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · e718b01e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      e718b01e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · c6a5e9a3
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/ndbapi/Ndbinit.cpp:
        Auto merged
      c6a5e9a3
    • unknown's avatar
      ndb - fix gcc4 compile problem · 449fb0b1
      unknown authored
      
      ndb/src/ndbapi/Ndbinit.cpp:
        fix gcc4 compile problem
      449fb0b1
    • unknown's avatar
      Fixed problems found by valgrind · 7d6d4c83
      unknown authored
      Fixed problems in test suite where some test failed
      Fixed access to not initialized memory in federated
      Fixed access to not initialized memory when using BIT fields in internal temporary tables
      
      
      BitKeeper/etc/ignore:
        added libmysqld/sql_cursor.h
      mysql-test/r/information_schema.result:
        Change view names to 'v#' to not cause massive conflict with other tests if test dies in the middlecd
      mysql-test/r/information_schema_inno.result:
        Remove used tables at start
      mysql-test/r/multi_statement.result:
        Remove used tables at start
      mysql-test/r/temp_table.result:
        Change view names to 'v#' to not cause massive conflict with other tests if test dies in the middle
      mysql-test/r/type_bit.result:
        More tests
      mysql-test/t/information_schema.test:
        Change view names to 'v#' to not cause massive conflict with other tests if test dies in the middle
      mysql-test/t/information_schema_inno.test:
        Remove used tables at start
      mysql-test/t/multi_statement.test:
        Remove used tables at start
      mysql-test/t/temp_table.test:
        Change view names to 'v#' to not cause massive conflict with other tests if test dies in the middle
      mysql-test/t/type_bit.test:
        More tests
      mysql-test/valgrind.supp:
        Removed some valgrind warnings that isn't errors
      sql/ha_federated.cc:
        Fixed errors discovered by valgrind:
        - Socket was not initialized
        - share->scheme was deleted while there was still pointer into it from the hash
      sql/item_func.h:
        Remove access to table object from cleanup() as the table object may have been dropped earlier (In case of temporary tables or of close_thread_tables() is run before cleanup())
        This fixed a bug with access to already freed memory
      sql/sql_base.cc:
        Reset variables used by fulltext
      sql/sql_select.cc:
        Fixed various problems with bit fields when used in internal temporary tables.
        Calculate space needed for bit fields correctly (previously we allocated more space than needed for rows in heap/myisam tables)
      7d6d4c83
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 1ca355db
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      1ca355db
  3. 21 Sep, 2005 2 commits
    • unknown's avatar
      Manual merge · c64d0fc6
      unknown authored
      
      mysql-test/r/update.result:
        Auto merged
      mysql-test/t/update.test:
        Auto merged
      c64d0fc6
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-zlib · 14926bf9
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      zlib/ChangeLog:
        Auto merged
      zlib/FAQ:
        Auto merged
      zlib/README:
        Auto merged
      zlib/crc32.c:
        Auto merged
      zlib/deflate.c:
        Auto merged
      zlib/deflate.h:
        Auto merged
      zlib/gzio.c:
        Auto merged
      zlib/infback.c:
        Auto merged
      zlib/inffast.c:
        Auto merged
      zlib/inflate.c:
        Auto merged
      zlib/inftrees.c:
        Auto merged
      zlib/inftrees.h:
        Auto merged
      zlib/trees.c:
        Auto merged
      zlib/zconf.h:
        Auto merged
      zlib/zlib.3:
        Auto merged
      zlib/zlib.h:
        Auto merged
      zlib/zutil.h:
        Auto merged
      14926bf9