1. 31 Mar, 2006 1 commit
    • unknown's avatar
      Makefile.am, yassl.m4: · 38fe0cee
      unknown authored
        Enable automake to determine dependency on yaSSL, by explicitly
        listing the .la files in Makefile.am, instead of using
        'yassl_libs_with_path', bug#18273
      
      
      config/ac-macros/yassl.m4:
        Enable automake to determine dependency on yaSSL, by explicitly
        listing the .la files in Makefile.am, instead of using
        'yassl_libs_with_path', bug#18273
      libmysql/Makefile.am:
        Enable automake to determine dependency on yaSSL, by explicitly
        listing the .la files in Makefile.am, instead of using
        'yassl_libs_with_path', bug#18273
      libmysql_r/Makefile.am:
        Enable automake to determine dependency on yaSSL, by explicitly
        listing the .la files in Makefile.am, instead of using
        'yassl_libs_with_path', bug#18273
      38fe0cee
  2. 30 Mar, 2006 17 commits
    • unknown's avatar
      zlib.m4, openssl.m4: · 8ec5832c
      unknown authored
        Use  when testing if shared library exists, bug#16332
      
      
      config/ac-macros/openssl.m4:
        Use  when testing if shared library exists, bug#16332
      config/ac-macros/zlib.m4:
        Use  when testing if shared library exists, bug#16332
      8ec5832c
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · c3365e87
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/sql_select.cc:
        Auto merged
      c3365e87
    • unknown's avatar
      15ca81f5
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6448446c
      unknown authored
      into sunlight.local:/local_work/15560-bug-5.0-mysql
      
      6448446c
    • unknown's avatar
      item_sum.cc, sql_select.cc: · bcad85f7
      unknown authored
        After merge fix for bug#15560
      item_sum.h:
         After merge fix for bug#15560
      
      
      sql/sql_select.cc:
        After merge fix for bug#15560
      sql/item_sum.h:
         After merge fix for bug#15560
      sql/item_sum.cc:
        After merge fix for bug#15560
      bcad85f7
    • unknown's avatar
      Manual merge · f08dd3f6
      unknown authored
      
      myisam/mi_search.c:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      f08dd3f6
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 68bc997f
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      sql/field.cc:
        Auto merged
      68bc997f
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c3d37fe8
      unknown authored
      into sunlight.local:/local_work/15560-bug-4.1-mysql
      
      
      sql/sql_table.cc:
        Auto merged
      c3d37fe8
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · cec2a1eb
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      
      ndb/tools/Makefile.am:
        Auto merged
      cec2a1eb
    • unknown's avatar
      btr0sea.c: · e1ba1274
      unknown authored
        Added BTR_CHUNK_SIZE, removed 'chunk_size' declared after declaration block
      
      
      innobase/btr/btr0sea.c:
        Added BTR_CHUNK_SIZE, removed 'chunk_size' declared after declaration block
      e1ba1274
    • unknown's avatar
      No commit message · e376daf8
      unknown authored
      No commit message
      e376daf8
    • unknown's avatar
      Merge · 6562cbf4
      unknown authored
      
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Auto merged
      6562cbf4
    • unknown's avatar
      post-merge fix · 4e6fd6a7
      unknown authored
      4e6fd6a7
    • unknown's avatar
      Merge · 335194af
      unknown authored
      
      mysql-test/t/create.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/create.result:
        SCCS merged
      335194af
    • unknown's avatar
      Fixed bug #18279: crash in the cases when on conditions are moved · 72b1b71c
      unknown authored
      out of a nested join to the on conditions for the nest.
      The bug happened due to:
      1. The function simplify_joins could change on expressions for nested joins.
         Yet modified on expressions were not saved in prep_on_expr.
      2. On expressions were not restored for nested joins in 
         reinit_stmt_before_use.
      
      
      mysql-test/r/join_nested.result:
        Added a test case for bug #18279.
      mysql-test/t/join_nested.test:
        Added a test case for bug #18279.
      sql/sql_prepare.cc:
        Fixed bug #18279.
        On expressions were not restored for nested joins in 
        reinit_stmt_before_use.
      sql/sql_select.cc:
        Fixed bug #18279.
        The function simplify_joins could change on expressions for nested joins.
        Yet modified on expressions were not saved in prep_on_expr.
      72b1b71c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e40f4b85
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      e40f4b85
    • unknown's avatar
      Cleanup during review of new pushed code · dcf6f270
      unknown authored
      
      sql/ha_heap.cc:
        Indentation fixes
      strings/ctype-ucs2.c:
        Simplify code
      tests/mysql_client_test.c:
        Remove compiler warnings
      dcf6f270
  3. 29 Mar, 2006 22 commits
    • unknown's avatar
      Fix error in prefix compression of keys in MyISAM when key length changed from 254 -> 255 · 0e974fbd
      unknown authored
      Bug #17705 "FT Index corruption occurs with UTF8 data..."
      (Actually, the bug had nothing to do with FT index but with general key compression)
      
      
      
      myisam/mi_search.c:
        Fix error in prefix compression of keys in MyISAM when key length changed from 254 -> 255
      mysql-test/r/ctype_utf8.result:
        Test of fix for key compression bug
      mysql-test/t/ctype_utf8.test:
        Test of fix for key compression bug
      0e974fbd
    • unknown's avatar
      mysql-test-run.pl: · 8854093f
      unknown authored
        Check that port range is valid, bug#16807
      
      
      mysql-test/mysql-test-run.pl:
        Check that port range is valid, bug#16807
      8854093f
    • unknown's avatar
      mysqld_safe.sh: · 8b77133b
      unknown authored
        Added --help option, bug#16392
      acinclude.m4:
        Use "$shrext_cmds" when testing if shared library exists, bug#16332
      
      
      acinclude.m4:
        Use "$shrext_cmds" when testing if shared library exists, bug#16332
      scripts/mysqld_safe.sh:
        Added --help option, bug#16392
      8b77133b
    • unknown's avatar
      Makefile.am: · 805ff49b
      unknown authored
        Use "dist_bin_SCRIPTS" to get a script distributed
      
      
      ndb/tools/Makefile.am:
        Use "dist_bin_SCRIPTS" to get a script distributed
      805ff49b
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6a1648eb
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      6a1648eb
    • unknown's avatar
      Makefile.am: · f6df79e3
      unknown authored
        Use "dist_bin_SCRIPTS" to get a script distributed
      
      
      ndb/tools/Makefile.am:
        Use "dist_bin_SCRIPTS" to get a script distributed
      f6df79e3
    • unknown's avatar
      configure.in: · d16ab4d6
      unknown authored
        Increased version number because of clone-off
      
      
      configure.in:
        Increased version number because of clone-off
      d16ab4d6
    • unknown's avatar
      Fix an -ansi -pedantic compilation failure · 684e17b0
      unknown authored
      684e17b0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b9a88d82
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-15683
      
      
      sql/sql_load.cc:
        Auto merged
      b9a88d82
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8607fd82
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merge
      
      8607fd82
    • unknown's avatar
      Restoring changes erroneously removed by applying · 008e88a3
      unknown authored
       the innodb-5.0-ss368 snapshot.
      
      008e88a3
    • unknown's avatar
      Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries · 8d5277a7
      unknown authored
      The GROUP_CONCAT uses its own temporary table. When ROLLUP is present
      it creates the second copy of Item_func_group_concat. This copy receives the
      same list of arguments that original group_concat does. When the copy is
      set up the result_fields of functions from the argument list are reset to the
      temporary table of this copy.
      As a result of this action data from functions flow directly to the ROLLUP copy
      and the original group_concat functions shows wrong result.
      Since queries with COUNT(DISTINCT ...) use temporary tables to store
      the results the COUNT function they are also affected by this bug.
      
      The idea of the fix is to copy content of the result_field for the function
      under GROUP_CONCAT/COUNT from  the first temporary table to the second one,
      rather than setting result_field to point to the second temporary table.
      To achieve this goal force_copy_fields flag is added to Item_func_group_concat
      and Item_sum_count_distinct classes. This flag is initialized to 0 and set to 1
      into the make_unique() member function of both classes.
      To the TMP_TABLE_PARAM structure is modified to include the similar flag as
      well.
      The create_tmp_table() function passes that flag to create_tmp_field().
      When the flag is set the create_tmp_field() function will set result_field
      as a source field and will not reset that result field to newly created 
      field for Item_func_result_field and its descendants. Due to this there
      will be created copy func to copy data from old result_field to newly 
      created field.
      
      
      mysql-test/t/func_gconcat.test:
        Added test for bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
      mysql-test/r/func_gconcat.result:
        Added test for bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
      sql/sql_table.cc:
        Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
        Added 0 as a last parameter to create_tmp_field()  to force old behaviour.
      sql/sql_select.cc:
        Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
        
        Added the flag 'make_copy_field' to create_tmp_field(), so that for Item_result_field descendants create_tmp_field() sets the item's result field as a source field and deny resetting that result field to a new value.
      sql/sql_class.h:
        Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
        Added the flag 'force_copy_fields' to the structure TMP_TABLE_PARAM in order to make create_tmp_field() force the creation of 'copy_field' objects.
      sql/mysql_priv.h:
        Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
        Added the bool parameter 'make_copy_field' to create_tmp_field().
      sql/item_sum.cc:
        Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
        Added initialization of the force_copy_fields flag and passing it to create_tmp_table() through TMP_TBLE_PARAM in the Item_func_group_concat and Item_sum_count_distinct member functions.
      sql/item_sum.h:
        Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
        Added the flag 'force_copy_fields' to the Item_func_group_concat and Item_sum_count_distinct classes.
      8d5277a7
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · e7d87bbb
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merge
      
      e7d87bbb
    • unknown's avatar
      Applied innodb-5.0-ss368 snapshot · 397c163f
      unknown authored
        Fixed bugs:
        #16814: SHOW INNODB STATUS format error in LATEST FOREIGN KEY ERROR section
          dict_foreign_key_error_report(): Always print a newline after invoking
          dict_print_info_on_foreign_key_in_create_format().
        #16827: Better InnoDB error message if ibdata files omitted from my.cnf.
        #17126: CHECK TABLE on InnoDB causes a short hang during check of adaptive hash.
          CHECK TABLE blocking other queries, by releasing the btr_search_latch
          periodically during the adaptive hash table validation.
        #17405: Valgrind: conditional jump or move depends on uninitialised valuesw.
          buf_block_init(): Reset magic_n, buf_fix_count, and io_fix to avoid testing
          uninitialised variables.
        #18077: InnoDB uses full explicit table locks in stored FUNCTION.
        #18238: When locks exhaust the buffer pool, InnoDB does not roll back the trx.
          Check in pessimistic insert and update if the buffer pool is exhausted by locks.
        #18252: Disk space leaks in updates of InnoDB BLOB rows.
          btr_cur_pessimistic_update(): Invoke rec_get_offset() after rec_set_field_extern_bits().
          btr_store_big_rec_extern_fields(): Note that offsets will no longer be valid
          after calling this function.
        #18283: When InnoDB returns error 'lock table full', MySQL can write to binlog too much.
        #18384: InnoDB memory leak on duplicate key errors if row has many columns.
          row_ins_duplicate_error_in_clust(): Call mem_heap_free(heap) at func_exit if needed.
        #18350: Use consistent read in CREATE ... SELECT .. if innodb_locks_unsafe_for_binlog is used.
      
      
      innobase/btr/btr0cur.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/btr/btr0sea.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/buf/buf0buf.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/buf/buf0lru.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/data/data0type.c:
        Applied innodb-5.0-ss368 snapshot
          dtype_print(): Fix printing of prtype.
      innobase/dict/dict0dict.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/fil/fil0fil.c:
        Applied innodb-5.0-ss368 snapshot
          fil_extend_space_to_desired_size(): in UNIV_HOTBACKUP builds,
          do not touch srv_data_file_sizes[] or srv_n_data_files.
      innobase/ha/ha0ha.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/include/btr0cur.h:
        Applied innodb-5.0-ss368 snapshot
      innobase/include/buf0lru.h:
        Applied innodb-5.0-ss368 snapshot
      innobase/include/ha0ha.h:
        Applied innodb-5.0-ss368 snapshot
      innobase/include/page0page.ic:
        Applied innodb-5.0-ss368 snapshot
          Remove UNIV_RELEASE_NOT_YET_STABLE and related checks.
      innobase/include/univ.i:
        Applied innodb-5.0-ss368 snapshot
          Remove UNIV_RELEASES_NOT_YET_STABLE and related checks.
      innobase/row/row0ins.c:
        Applied innodb-5.0-ss368 snapshot
      innobase/row/row0sel.c:
        Applied innodb-5.0-ss368 snapshot
          Remove UNIV_RELEASE_NOT_YET_STABLE and related checks.
          page_rec_is_comp(): Remove the bounds check.
          row_sel_field_store_in_mysql_format(): Turn the assertions
          on mbminlen, mbmaxlen, and templ->type into debug assertions.
      innobase/row/row0upd.c:
        Applied innodb-5.0-ss368 snapshot
      mysql-test/t/innodb.test:
        Applied innodb-5.0-ss368 snapshot
      sql/ha_innodb.cc:
        Applied innodb-5.0-ss368 snapshot
          Fix memory allocation bug (by changing MY_WME to MY_FAE) in get_share.
          Also partially fix coding style of the function.
      397c163f
    • unknown's avatar
      Reverting yesterday's patch. (cmiller:1.2099) · 4215924e
      unknown authored
      4215924e
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · ddd85089
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/4.1
      
      ddd85089
    • unknown's avatar
      Fix for bug#15316 SET value having comma not correctly handled · 2aeb4206
      unknown authored
       disallow the use of comma in SET members
      
      
      mysql-test/r/create.result:
        Fix for bug#15316 SET value having comma not correctly handled
         test case
      mysql-test/t/create.test:
        Fix for bug#15316 SET value having comma not correctly handled
         test case
      2aeb4206
    • unknown's avatar
      Additional 5.0 fix for · 7c7fadd0
      unknown authored
      Bug#15098: CAST(column double TO signed int), wrong result
      which was fixed originally in 4.1.
      
      
      mysql-test/r/cast.result:
        Fixing test results
      sql/field.cc:
        Adding a "truncated value" warning.
      7c7fadd0
    • unknown's avatar
      Merge · d213782e
      unknown authored
      
      sql/field.cc:
        Auto merged
      d213782e
    • unknown's avatar
      mysql_config.sh: · aeb9a4a1
      unknown authored
        If installed, search built in lib path first, bug#13158
      
      
      scripts/mysql_config.sh:
        If installed, search built in lib path first, bug#13158
      aeb9a4a1
    • unknown's avatar
      Makefile.am: · 638568ad
      unknown authored
        Added "ndb_error_reporter" script, bug#18421
      
      
      ndb/tools/Makefile.am:
        Added "ndb_error_reporter" script, bug#18421
      638568ad
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · fe94a36b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      fe94a36b