1. 15 Jan, 2007 1 commit
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-runtime · d470c233
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-4.1-4968-to-push
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Manual merge.
      sql/sql_table.cc:
        Manual merge.
      d470c233
  2. 12 Jan, 2007 3 commits
  3. 11 Jan, 2007 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · fcbe66a3
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-4.1-runtime
      
      
      sql/item_func.cc:
        Auto merged
      fcbe66a3
    • unknown's avatar
      Many files: · a1566a09
      unknown authored
        Reverted change for bug#13859, applied smaller patch from Marko
      
      
      innobase/buf/buf0buf.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/dict/dict0dict.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/fil/fil0fil.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/ha/ha0ha.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/ha/hash0hash.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/include/hash0hash.h:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/lock/lock0lock.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/log/log0recv.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/thr/thr0loc.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      a1566a09
  4. 10 Jan, 2007 5 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M40/clone-4.0 · 34d5b84b
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      
      VC++Files/mysql.dsw:
        Null-merge: Removal of BerkeleyDB is limited to 4.0
      VC++Files/libmysqld/libmysqld.dsp:
        Null-merge: Removal of BerkeleyDB is limited to 4.0
      VC++Files/mysqldemb/mysqldemb.dsp:
        Null-merge: Removal of BerkeleyDB is limited to 4.0
      VC++Files/mysqlserver/mysqlserver.dsp:
        Null-merge: Removal of BerkeleyDB is limited to 4.0
      VC++Files/sql/mysqld.dsp:
        Null-merge: Removal of BerkeleyDB is limited to 4.0
      VC++Files/sql/mysqldmax.dsp:
        Null-merge: Removal of BerkeleyDB is limited to 4.0
      34d5b84b
    • unknown's avatar
      Merge trift2.:/MySQL/M40/upward-4.0 · 6ee56e41
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      
      mysys/my_read.c:
        Auto merged
      scripts/make_binary_distribution.sh:
        Null merge, because "--platform" is already a real argument in 4.1
      support-files/MySQL-shared-compat.spec.sh:
        Null merge, because the 4.1 version already uses two digits
        for "version40" and "version41".
      6ee56e41
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1-opt · 10698df6
      unknown authored
      into  olga.mysql.com:/home/igor/mysql-4.1-opt
      
      
      10698df6
    • unknown's avatar
      Fix for bug#20867 InnoDB Bug - create temporary table+crash => mysqld needs to clean up · ac71a8fa
      unknown authored
      2nd version
      During tmp tables cleanup we get the handler for temporary table
      and delete table using handler method.
      
      
      sql/mysql_priv.h:
        added function prototype
      sql/mysqld.cc:
        added call of mysql_rm_tmp_tables() function
      sql/sql_base.cc:
        mysql_rm_tmp_tables()
        -removed from table_cache_init
        -During tmp tables cleanup we get the handler for temporary table
         and delete table using handler method. 
         it allows to remove orphan records from data dictionary(InnoDB)
      ac71a8fa
    • unknown's avatar
      Fixed bug #25427. · 6fc17dab
      unknown authored
      In the method Item_field::fix_fields we try to resolve the name of
      the field against the names of the aliases that occur in the select
      list. This is done by a call of the function find_item_in_list.
      When this function finds several occurrences of the field name
      it sends an error message to the error queue and returns 0.
      Yet the code did not take into account that find_item_in_list
      could return 0 and tried to dereference the returned value.
      
      
      mysql-test/r/order_by.result:
        Added a test case for bug #25427.
      mysql-test/t/order_by.test:
        Added a test case for bug #25427.
      sql/item.cc:
        Fixed bug #25427.
        In the method Item_field::fix_fields we try to resolve the name of
        the field against the names of the aliases that occur in the select
        list. This is done by a call of the function find_item_in_list.
        When this function finds several occurrences of the field name 
        it sends an error message to the error queue and returns 0.
        Yet the code did not take into account that find_item_in_list
        could return 0 and tried to dereference the returned value.
      6fc17dab
  5. 09 Jan, 2007 7 commits
  6. 08 Jan, 2007 1 commit
    • unknown's avatar
      Changes necessary to build version 4.0.28: · e6e7d0cf
      unknown authored
      - "make_binary_distribution" accepts a dummy "--platform=" argument.
      
      - "MySQL-shared-compat.spec" uses a "version40" define symbol internally.
      
      
      scripts/make_binary_distribution.sh:
        Newer versions of the release build tools call this with a "--platform=" argument
        which we seem not to need in 4.0, but which makes the tool crash (happened on SCO).
        
        Rather than add another version check into the build tools, just accept a "--platform="
        argument and ignore it, just give a message.
      support-files/MySQL-shared-compat.spec.sh:
        The current version of "Do-shared-compat" needs two digits to identify the release families
        (to differ between 4.0 and 4.1), so the variable "version4" must get renamed to "version40".
      e6e7d0cf
  7. 05 Jan, 2007 1 commit
    • unknown's avatar
      mysql.spec.sh, make_binary_distribution.sh: · 7fb6aa34
      unknown authored
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      
      
      scripts/make_binary_distribution.sh:
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      support-files/mysql.spec.sh:
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      7fb6aa34
  8. 04 Jan, 2007 1 commit
    • unknown's avatar
      my_global.h: · 679402da
      unknown authored
        Patch from Alfredo for TARGET_FAT_BINARY
      
      
      include/my_global.h:
        Patch from Alfredo for TARGET_FAT_BINARY
      679402da
  9. 03 Jan, 2007 1 commit
  10. 02 Jan, 2007 4 commits
  11. 01 Jan, 2007 4 commits
    • unknown's avatar
      Many files: · 19a33e08
      unknown authored
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      
      
      innobase/buf/buf0buf.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/dict/dict0dict.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/fil/fil0fil.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/ha/ha0ha.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/ha/hash0hash.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/include/hash0hash.h:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/lock/lock0lock.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/log/log0recv.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/thr/thr0loc.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      19a33e08
    • unknown's avatar
      configure.in: · 190a79c7
      unknown authored
        Don't build server when configured --without-server (bug#23973)
      
      
      configure.in:
        Don't build server when configured --without-server (bug#23973)
      190a79c7
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · efe0db3f
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-4.1-build
      
      
      efe0db3f
    • unknown's avatar
      mysql_secure_installation.sh: · 6d0387a7
      unknown authored
        Portable handling of "echo" without newline (bug#24605)
      check-cpu:
        In developer script safe to use "printf", not "echo -n"
      
      
      BUILD/check-cpu:
        In developer script safe to use "printf", not "echo -n"
      scripts/mysql_secure_installation.sh:
        Portable handling of "echo" without newline (bug#24605)
      6d0387a7
  12. 31 Dec, 2006 1 commit
  13. 25 Dec, 2006 1 commit
  14. 20 Dec, 2006 2 commits
    • unknown's avatar
      Bug#25213 - Compiler warnings in MyISAM code · fc9642b4
      unknown authored
      Compiler warnings due to non-matching conversion
      specifications in format strings in DBUG_PRINT calls,
      due to non-used parameters (in non-debug mode), and
      due to seemingly uninitialized variables.
      
      Initialized variables, declared parameters unused, and
      casted DBUG_PRINT arguments to get rid of warnings.
      
      
      myisam/mi_range.c:
        Bug#25213 - Compiler warnings in MyISAM code
        Initialized a variable to get rid of a compiler warning.
      myisam/mi_test1.c:
        Bug#25213 - Compiler warnings in MyISAM code
        Declared an parameter unused to get rid of warnings.
      myisam/mi_write.c:
        Bug#25213 - Compiler warnings in MyISAM code
        Initialized a variable to get rid of a compiler warning.
        Casted arguments to DBUG_PRINT to match them with their
        format string conversion specification.
      myisam/rt_split.c:
        Bug#25213 - Compiler warnings in MyISAM code
        Initialized variables to get rid of compiler warnings.
      fc9642b4
    • unknown's avatar
      Bug#25208 - Warnings in mi_packrec.c · 40b23b3b
      unknown authored
      Compiler warnings due to non-matching conversion
      specifications in format strings in DBUG_PRINT calls.
      
      Fixed DBUG_PRINT format specifiactions.
      
      
      myisam/mi_packrec.c:
        Bug#25208 - Warnings in mi_packrec.c
        Fixed DBUG_PRINT format specifiactions.
      40b23b3b
  15. 19 Dec, 2006 1 commit
  16. 14 Dec, 2006 3 commits
  17. 13 Dec, 2006 1 commit
  18. 12 Dec, 2006 1 commit
    • unknown's avatar
      Fixed bug #24670: optimizations that are legal only for subqueries without tables · 33446269
      unknown authored
      and no WHERE condition were applied for any subquery without tables.
      
      
      
      mysql-test/r/subselect.result:
        Added a test case for bug #24670.
      mysql-test/t/subselect.test:
        Added a test case for bug #24670.
      sql/item_subselect.cc:
        Fixed bug #24670: optimizations that are legal only for subqueries without tables
        and no WHERE condition were applied for any subquery without tables.
        
        Removed an assertion that caused an abort for subqueries without tables and no 
        WHERE condition. 
        Blocked substitution of a single-row subquery without tables for the constant 
        row from its select list when the subquery contained a WHERE condition.
        This optimization is valid only for subquries without tables with no conditions.
        Any subquery without tables with WHERE clause returns NULL if the WHERE condition
        is FALSE. Erroneously it was always considered as non-nullable that could trigger 
        another optimization concerning IS NULL predicates which is applicable only for 
        non-nullable expressions and ultimately led to a wrong result returned by the outer
        query.
        Added a proper implementation of the virtual method may_be_null for class 
        subselect_single_select_engine.
      sql/item_subselect.h:
        Fixed bug #24670: optimizations that are legal only for subqueries without tables
        and no WHERE condition were applied for any subquery without tables.
        Made method may_by_null for class subselect_engine vvirtual.
      33446269