1. 01 Apr, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-new · 835d2286
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      
      VC++Files/libmysqld/libmysqld.vcproj:
        Auto merged
      VC++Files/mysys/mysys.vcproj:
        Auto merged
      VC++Files/sql/mysqld.vcproj:
        Auto merged
      835d2286
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · ab96fa07
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      
      ab96fa07
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · a432c53f
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merged
      
      
      a432c53f
    • unknown's avatar
      vcproj files: · 0ad405f9
      unknown authored
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard
        code it into Visual Studio project files, bug#15974
      
      
      VC++Files/bdb/bdb.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/innobase/innobase.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/libmysqld/libmysqld.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/mysqldemb/mysqldemb.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/mysys/mysys.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/sql/mysqld.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      0ad405f9
  2. 31 Mar, 2006 6 commits
    • unknown's avatar
      Makefile.am, yassl.m4: · 872d1d71
      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
      872d1d71
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 87c70a59
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merged
      
      
      87c70a59
    • unknown's avatar
      Applied innodb-5.0-ss398 snapshot. · f6ffb77c
      unknown authored
       Fixed BUG#15650: DELETE with LEFT JOIN crashes server
       with innodb_locks_unsafe_for_binlog.
       Fixed compilation problem with non-C99 compilers
       in btr0sea.c
      
      
      innobase/btr/btr0sea.c:
        Applied innodb-5.0-ss398 snapshot.
         Fix compilation problem with non-C99 compilers.
      sql/ha_innodb.cc:
        Applied innodb-5.0-ss398 snapshot.
         Remove assertion ut_error which crashes the mysqld
         server if it prints a warning about the adaptive latch.
      f6ffb77c
    • unknown's avatar
      Fixed a typo. · 1de12691
      unknown authored
      1de12691
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · 085aa5c9
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-bug-16710
      
      
      mysql-test/r/group_min_max.result:
        Auto merged
      mysql-test/t/group_min_max.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      085aa5c9
    • unknown's avatar
      Fix for BUG#16710. · a01d48f9
      unknown authored
      The bug was due to a missed case in the detection of whether an index
      can be used for loose scan. More precisely, the range optimizer chose
      to use loose index scan for queries for which the condition(s) over
      an index key part could not be pushed to the index together with the
      loose scan.
      
      As a result, loose index scan was selecting the first row in the
      index with a given GROUP BY prefix, and was applying the WHERE
      clause after that, while it should have inspected all rows with
      the given prefix, and apply the WHERE clause to all of them.
      
      The fix detects and skips such cases.
      
      
      mysql-test/r/group_min_max.result:
        Added test for BUG#16710.
      mysql-test/t/group_min_max.test:
        Added test for BUG#16710.
      sql/item.cc:
        Added new method [Item | Item_field]::find_item_in_field_list_processor.
      sql/item.h:
        Added new method [Item | Item_field]::find_item_in_field_list_processor.
      sql/opt_range.cc:
        Handle the case when there is no MIN/MAX aggregate function, and a
        keypart of the index being considered, that is after the GROUP BY
        prefix, is used in the WHERE clause and the condition where it is
        used cannot be pushed to the index.
        If this is the case, we rule out this index.
      a01d48f9
  3. 30 Mar, 2006 17 commits
    • unknown's avatar
      zlib.m4, openssl.m4: · fa7e5ed5
      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
      fa7e5ed5
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 86504f87
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/sql_select.cc:
        Auto merged
      86504f87
    • unknown's avatar
      73697808
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 618269b6
      unknown authored
      into sunlight.local:/local_work/15560-bug-5.0-mysql
      
      
      618269b6
    • unknown's avatar
      item_sum.cc, sql_select.cc: · 321e7b22
      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
      321e7b22
    • unknown's avatar
      Manual merge · e0708e2c
      unknown authored
      
      myisam/mi_search.c:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      e0708e2c
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · c15921ad
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      sql/field.cc:
        Auto merged
      c15921ad
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · ff4de905
      unknown authored
      into sunlight.local:/local_work/15560-bug-4.1-mysql
      
      
      sql/sql_table.cc:
        Auto merged
      ff4de905
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · b7f090e4
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      
      ndb/tools/Makefile.am:
        Auto merged
      b7f090e4
    • unknown's avatar
      btr0sea.c: · e40b76c9
      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
      e40b76c9
    • unknown's avatar
      No commit message · 01109952
      unknown authored
      No commit message
      01109952
    • unknown's avatar
      Merge · 66ac19e2
      unknown authored
      
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Auto merged
      66ac19e2
    • unknown's avatar
      post-merge fix · 600a1763
      unknown authored
      600a1763
    • unknown's avatar
      Merge · a7431720
      unknown authored
      
      mysql-test/t/create.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/create.result:
        SCCS merged
      a7431720
    • unknown's avatar
      Fixed bug #18279: crash in the cases when on conditions are moved · 9a02fede
      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.
      9a02fede
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a48af9eb
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      
      a48af9eb
    • unknown's avatar
      Cleanup during review of new pushed code · 4c011146
      unknown authored
      
      sql/ha_heap.cc:
        Indentation fixes
      strings/ctype-ucs2.c:
        Simplify code
      tests/mysql_client_test.c:
        Remove compiler warnings
      4c011146
  4. 29 Mar, 2006 13 commits
    • unknown's avatar
      Fix error in prefix compression of keys in MyISAM when key length changed from 254 -> 255 · 2d6a51b4
      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
      2d6a51b4
    • unknown's avatar
      mysql-test-run.pl: · 3479ec37
      unknown authored
        Check that port range is valid, bug#16807
      
      
      mysql-test/mysql-test-run.pl:
        Check that port range is valid, bug#16807
      3479ec37
    • unknown's avatar
      mysqld_safe.sh: · 2d8acd2f
      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
      2d8acd2f
    • unknown's avatar
      Makefile.am: · e672bb70
      unknown authored
        Use "dist_bin_SCRIPTS" to get a script distributed
      
      
      ndb/tools/Makefile.am:
        Use "dist_bin_SCRIPTS" to get a script distributed
      e672bb70
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 92df85b4
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      92df85b4
    • unknown's avatar
      Makefile.am: · 113efc00
      unknown authored
        Use "dist_bin_SCRIPTS" to get a script distributed
      
      
      ndb/tools/Makefile.am:
        Use "dist_bin_SCRIPTS" to get a script distributed
      113efc00
    • unknown's avatar
      configure.in: · 1a60013f
      unknown authored
        Increased version number because of clone-off
      
      
      configure.in:
        Increased version number because of clone-off
      1a60013f
    • unknown's avatar
      Fix an -ansi -pedantic compilation failure · d9f5fac9
      unknown authored
      d9f5fac9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 87e91781
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-15683
      
      
      sql/sql_load.cc:
        Auto merged
      87e91781
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · c5ab0159
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merge
      
      
      c5ab0159
    • unknown's avatar
      Restoring changes erroneously removed by applying · 5dddbb4a
      unknown authored
       the innodb-5.0-ss368 snapshot.
      
      
      5dddbb4a
    • unknown's avatar
      Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries · b2531546
      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.
      b2531546
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 20e609d0
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merge
      
      
      20e609d0