1. 09 Jan, 2006 4 commits
  2. 08 Jan, 2006 3 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-5.0-0 · 0c6b3d6a
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.1-0
      
      
      sql/sql_select.cc:
        Auto merged
      0c6b3d6a
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0 · 19338b3c
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      mysql-test/t/having.test:
        Auto merged
      mysql-test/r/having.result:
        Manual merge.
      sql/sql_select.cc:
        Manual merge.
      19338b3c
    • unknown's avatar
      Fixed bug #14274: a query with a having clause containing only set function... · 7bb07fd4
      unknown authored
      Fixed bug #14274: a query with a having clause containing only set function returned a wrong result set.
      
      
      mysql-test/r/having.result:
        Added a test case for bug #14274.
      mysql-test/t/having.test:
        Added a test case for bug #14274.
      sql/sql_select.cc:
        Fixed bug #14274: a query with a having clause containing only set function returned a wrong result set.
        It happened because processing of the set functions in having started with a call of the split_sum_func
        method, instead of the split_sum_func2 method.
      7bb07fd4
  3. 07 Jan, 2006 5 commits
    • unknown's avatar
      after merge fix · 7f6dd3ef
      unknown authored
      7f6dd3ef
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 83e87add
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      sql/ha_innodb.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_plugin.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      83e87add
    • unknown's avatar
      WL#2935 - SHOW STATUS support in plugins · 47f811c3
      unknown authored
      The patch adds DYNAMIC_ARRAY all_status_vars, which is now the
      sole source of status information for SHOW STATUS.  Status
      variables can be added to and removed from the array dynamically.
      SHOW STATUS command uses this array instead of static array
      from mysqld.cc
      Compatibility with the old, global list of status variables is
      preserved in init_server_components(), where this global list is
      simply appended to all_status_vars.
      
      
      include/plugin.h:
        WL#2935 - SHOW STATUS support in plugins
      plugin/fulltext/plugin_example.c:
        WL#2935 - SHOW STATUS support in plugins
        example
      sql/ha_innodb.cc:
        s/struct show_var_st/SHOW_VAR/
      sql/ha_innodb.h:
        s/struct show_var_st/SHOW_VAR/
      sql/mysql_priv.h:
        WL#2935 - SHOW STATUS support in plugins
        add_status_vars(), remove_status_vars()
      sql/mysqld.cc:
        bug: plugin_free must be called even with --skip-grants
        add_status_vars()/free_status_vars(), remove unused SHOW_xxx_CONST
        s/struct show_var_st/SHOW_VAR/
      sql/set_var.cc:
        s/struct show_var_st/SHOW_VAR/
      sql/sql_parse.cc:
        s/struct show_var_st/SHOW_VAR/
      sql/sql_plugin.cc:
        WL#2935 - SHOW STATUS support in plugins
      sql/sql_plugin.h:
        WL#2935 - SHOW STATUS support in plugins
      sql/sql_show.cc:
        WL#2935 - SHOW STATUS support in plugins
        DYNAMIC_ARRAY all_status_vars, add_status_vars(), remove_status_vars()
        s/struct show_var_st/SHOW_VAR/
      sql/structs.h:
        WL#2935 - SHOW STATUS support in plugins
        SHOW STATUS definitions moved to include/plugin.h and sql_plugin.h
        s/struct show_var_st/SHOW_VAR/
      47f811c3
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-5.0-0 · 0af999be
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.1-0
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      0af999be
    • unknown's avatar
      Fixed bug #16016: MIN/MAX optimization was not applied to views. · 1901be17
      unknown authored
      
      mysql-test/r/view.result:
        Added a test case for bug #16016.
      mysql-test/t/view.test:
        Added a test case for bug #16016.
      sql/opt_sum.cc:
        Fixed bug #16016: MIN/MAX optimization was not applied to views.
        The fix employs the standard way of handling direct references to view fields.
      1901be17
  4. 06 Jan, 2006 11 commits
  5. 05 Jan, 2006 17 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · dee88ca7
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      dee88ca7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · a0979fe1
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/t/disabled.def:
        Manual merge
      sql/mysqld.cc:
        Manual merge
      sql/sp_head.cc:
        Manual merge
      sql/sql_trigger.cc:
        Manual merge
      a0979fe1
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 9442d467
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      9442d467
    • unknown's avatar
      File needs to be removed · 897d57f3
      unknown authored
      
      BitKeeper/deleted/.del-rpl_stm_loaddata_m.test~e9a2f21ee38926ca:
        Delete: mysql-test/t/rpl_stm_loaddata_m.test
      897d57f3
    • unknown's avatar
      Review fixes of new pushed code · 43886f1d
      unknown authored
      - Fixed tests
      - Optimized new code
      - Fixed some unlikely core dumps
      - Better bug fixes for:
        - #14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        - #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null
      
      
      mysql-test/r/create.result:
        Update results after removing wrong warnings for CREATE ... SELECT
        New tests
      mysql-test/r/handler.result:
        Drop used tables
      mysql-test/r/kill.result:
        Make test portable
      mysql-test/r/mysqlshow.result:
        Drop tables used by previous test
      mysql-test/r/trigger.result:
        Reuse old procedure name
      mysql-test/r/view.result:
        Extra tests
      mysql-test/t/create.test:
        New tests to test fix of removing wrong warnings for CREATE ... SELECT
      mysql-test/t/disabled.def:
        Enable 'kill' test (should now be portable)
      mysql-test/t/handler.test:
        Drop used tables
      mysql-test/t/kill.test:
        Make test portable even if kill doesn't work at once
      mysql-test/t/mysqlshow.test:
        Drop tables used by previous test
      mysql-test/t/trigger.test:
        Reuse old procedure name
      mysql-test/t/view.test:
        Extra tests
      sql/field.cc:
        Removed compiler warning
      sql/ha_federated.cc:
        my_snprintf -> strmake()
        (Simple optimization)
      sql/ha_ndbcluster.cc:
        Indentation cleanups and trival optimization
      sql/item.cc:
        Moved save_org_in_field() to item.cc to make it easier to test
        Remove setting of null_value as this is not needed
      sql/item.h:
        Moved save_org_in_field() to item.cc to make it easier to test
      sql/log_event.cc:
        Remove inline of slave_load_file_stem()
        Added 'extension' parameter to slave_load_file_stem() to get smaller code
        Removed not critical (or needed) DBUG_ASSERT()'s
        Cleaned up usage of slave_load_file_stem() to not depend on constant string lengths
        Indentation fixes
      sql/opt_range.cc:
        Moved code from declaration to function body
        (To make it more readable)
      sql/parse_file.cc:
        Fixed DBUG_PRINT
      sql/sp.cc:
        Simple cleanups
        - Removed not needed {} level
        - Ensure saved variables starts with old_
      sql/sp_head.cc:
        Indentation fixes
        Remove core dump when using --debug when m_next_cached_sp == 0
        Fixed compiler warnings
        Trivial optimizations
      sql/sp_head.h:
        Changed argument to set_definer() to const
        Added THD argument to recursion_level_error() to avoid call to current_thd
      sql/sql_acl.cc:
        Removed not needed test (first_not_own_table is the guard)
      sql/sql_base.cc:
        Removed extra empty line
      sql/sql_handler.cc:
        Don't test table version in mysql_ha_read() as this is already tested in lock_tables()
        Moved call to insert_fields to be after lock_table() to guard aganst reopen of tables
        (Better fix for Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash)
      sql/sql_insert.cc:
        Mark fields that are set in CREATE ... SELECT as used
        (Removed wrong warnings about field not having a default value)
      sql/sql_parse.cc:
        Removed not needed test of 'tables' (first_not_own_table is the guard)
        Simplify code
      sql/sql_select.cc:
        Use group->field to check if value is null instead of item called by 'save_org_in_field'
        This is a better bug fix for #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null)
      sql/sql_trigger.cc:
        Move sql_modes_parameters outside of function
        Indentation fixes
        Fixed compiler warning
        Ensure that thd->lex->query_tables_own_last is set properly before calling check_table_access()
        (This allows us to remove the extra test in check_grant() and check_table_access())
      43886f1d
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-win-fixes · 83276371
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.1-new
      
      
      include/config-win.h:
        Auto merged
      83276371
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-win-fixes · afc24467
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.0
      
      
      include/config-win.h:
        Auto merged
      afc24467
    • unknown's avatar
      Port to Win64/x64 in Visual Studio 2005 · 91d74c55
      unknown authored
      
      include/config-win.h:
        Port to Win64/x64 in Visual Studio 2005.
        Avoid endless deprecation warnings.
      91d74c55
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · ac695bf6
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      ac695bf6
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · a134d3d0
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      a134d3d0
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-clean · 2fa62943
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      sql/handler.cc:
        Resolve conflict
      2fa62943
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-15185 · c8f02876
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/handler.cc:
        Auto merged
      c8f02876
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 04944f06
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.1-new
      
      04944f06
    • unknown's avatar
      Some header files were missing from "make dist". · 26d98eab
      unknown authored
      26d98eab
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 1c74224e
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/5.1-new2
      
      1c74224e
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-win-fixes · ea48e6bf
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.1-new
      
      
      include/my_global.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      ea48e6bf
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-win-fixes · 4425eb69
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.0
      
      4425eb69