1. 04 Dec, 2006 9 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.1 · f7578aa9
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint
      
      
      BitKeeper/etc/collapsed:
        auto-union
      BitKeeper/etc/ignore:
        auto-union
      Makefile.am:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      extra/yassl/taocrypt/include/algebra.hpp:
        Auto merged
      include/Makefile.am:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysql-test/lib/mtr_io.pl:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/r/parser.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/view_grant.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      mysql-test/t/parser.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/system_mysql_db_fix30020.test:
        Auto merged
      mysql-test/t/udf.test:
        Auto merged
      mysql-test/t/view_grant.test:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      storage/myisam/myisampack.c:
        Auto merged
      mysql-test/r/sp.result:
        Manual merge
      mysql-test/r/udf.result:
        Manual merge
      mysql-test/t/events_bugs.test:
        Manual merge
      sql/share/errmsg.txt:
        Manual merge
      support-files/mysql.spec.sh:
        Manual merge
      f7578aa9
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1 · 05fae388
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      05fae388
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/bug17951/my51-bug17951 · 1e0b326b
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.1-maint
      
      
      storage/myisam/myisampack.c:
        Auto merged
      1e0b326b
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/bug17951/my50-bug17951 · eeaf5849
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/bug17951/my51-bug17951
      
      
      storage/myisam/myisampack.c:
        Auto merged
      eeaf5849
    • unknown's avatar
      Merge dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0 · c625dfe7
      unknown authored
      into  dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.1
      
      
      mysql-test/r/type_varchar.result:
        Auto merged
      mysql-test/t/type_varchar.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      c625dfe7
    • unknown's avatar
      Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.0-opt · d4bedc87
      unknown authored
      into  dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0
      
      
      sql/item_func.cc:
        Auto merged
      d4bedc87
    • unknown's avatar
      Merge naruto.:C:/cpp/bug17733/my51-bug17733 · e79f275a
      unknown authored
      into  naruto.:C:/cpp/mysql-5.1-maint
      
      
      sql/sql_parse.cc:
        Auto merged
      e79f275a
    • unknown's avatar
      type_varchar.result: · 677a86ca
      unknown authored
        fixed a valgrind problem
      
      
      mysql-test/r/type_varchar.result:
        fixed a valgrind problem
      677a86ca
    • unknown's avatar
      item_func.cc: · 050d9de6
      unknown authored
         fixed a valgrind warning
      type_varchar.test:
        fixed a valgrind warning
      
      
      mysql-test/t/type_varchar.test:
        fixed a valgrind warning
      sql/item_func.cc:
         fixed a valgrind warning
      050d9de6
  2. 03 Dec, 2006 1 commit
  3. 02 Dec, 2006 10 commits
    • unknown's avatar
      Makefile.am: · c172e138
      unknown authored
        Disabled abi_check, as it was before merge
      
      
      include/Makefile.am:
        Disabled abi_check, as it was before merge
      c172e138
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-5.0-build · 2c4b27b0
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.1-build
      
      
      Makefile.am:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      2c4b27b0
    • unknown's avatar
      mysql_install_db.sh: · ca3e99d8
      unknown authored
        If --srcdir and --windows is given, check if error message file
        is in source or build tree (bug#24557)
      Makefile.am:
        Cleaned up "ali_check" target, to satisfy "distcleancheck" (bug#24557)
      mysql_install_db.sh:
        Added --srcdir=DIR option, used from top Makefile.am in dist-hook
        target, to find "fill_help_tables.sql" in VPATH build (bug#24557)
      Makefile.am:
        Work around problem with "distcleancheck", "sql_yacc.cc" might be in both
        the source and build tree.
        Call "mysql_install_db" with new option --srcdir, to enable the script
        to find all that is needed, if source and build directory is not the same
        (bug#24557)
      
      
      scripts/mysql_install_db.sh:
        If --srcdir and --windows is given, check if error message file
        is in source or build tree (bug#24557)
      Makefile.am:
        Work around problem with "distcleancheck", "sql_yacc.cc" might be in both
        the source and build tree.
        Call "mysql_install_db" with new option --srcdir, to enable the script
        to find all that is needed, if source and build directory is not the same
        (bug#24557)
      include/Makefile.am:
        Cleaned up "ali_check" target, to satisfy "distcleancheck" (bug#24557)
      ca3e99d8
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-new-maint · 5837334f
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-maint-24736
      
      5837334f
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · cab3a2ea
      unknown authored
      into  example.com:/work/bug24395-v2/my51
      
      cab3a2ea
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-build · d3208410
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.1-build
      
      d3208410
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-5.0-build · 8b49ec3a
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.1-build
      
      8b49ec3a
    • unknown's avatar
      Makefile.am: · bc6e2e9f
      unknown authored
        Added "mysql_client_test.def"
      mysql_client_test.def:
        BitKeeper file /home/kent/bk/mysql-5.0-build/netware/mysql_client_test.def
      
      
      netware/mysql_client_test.def:
        BitKeeper file /home/kent/bk/mysql-5.0-build/netware/mysql_client_test.def
      netware/Makefile.am:
        Added "mysql_client_test.def"
      bc6e2e9f
    • unknown's avatar
      myisampack.def, myisamlog.def, myisam_ftdump.def, myisamchk.def: · f98f1a35
      unknown authored
        Adjusted for storage path
      nwbootstrap:
        Corrected bad merge
      
      
      netware/BUILD/nwbootstrap:
        Corrected bad merge
      netware/myisam_ftdump.def:
        Adjusted for storage path
      netware/myisamchk.def:
        Adjusted for storage path
      netware/myisamlog.def:
        Adjusted for storage path
      netware/myisampack.def:
        Adjusted for storage path
      f98f1a35
    • unknown's avatar
      Bug#24736: UDF functions parsed as Stored Functions · c38783d0
      unknown authored
      Before this fix, a call to a User Defined Function (UDF) could,
      under some circumstances, be interpreted as a call to a Stored function
      instead. This occurred if a native function was invoked in the parameters
      for the UDF, as in "select my_udf(abs(x))".
      
      The root cause of this defect is the introduction, by the fix for Bug 21809,
      of st_select_lex::udf_list, and it's usage in the parser in sql_yacc.yy
      in the rule function_call_generic (in 5.1).
      
      While the fix itself for Bug 21809 is correct in 5.0, the code change
      merged into the 5.1 release created the issue, because the calls in 5.1 to :
      - lex->current_select->udf_list.push_front(udf)
      - lex->current_select->udf_list.pop()
      are not balanced in case of native functions, causing the udf_list,
      which is really a stack, to be out of sync with the internal stack
      maintained by the bison parser.
      
      Instead of moving the call to udf_list.pop(), which would have fixed the
      symptom, this patch goes further and removes the need for udf_list.
      
      This is motivated by two reasons:
      
      a) Maintaining a stack in the MySQL code in sync with the stack maintained
      internally in sql_yacc.cc (not .yy) is extremely dependent of the
      implementation of yacc/bison, and extremely difficult to maintain.
      It's also totally dependent of the structure of the grammar, and has a risk
      to break with regression defects each time the grammar itself is changed.
      
      b) The previous code did report construct like "foo(expr AS name)" as
      syntax errors (ER_PARSER_ERROR), which is incorrect, and misleading.
      The syntax is perfectly valid, as this expression is valid when "foo" is
      a UDF. Whether this syntax is legal or not depends of the semantic of "foo".
      
      With this change:
      
      a) There is only one stack (in bison), and no List<udf_func> to maintain.
      
      b) "foo(expr AS name)", when used incorrectly, is reported as semantic error:
      - ER_WRONG_PARAMETERS_TO_NATIVE_FCT (for native functions)
      - ER_WRONG_PARAMETERS_TO_STORED_FCT (for stored functions)
      This is achieved by the changes implemented in item_create.cc
      
      
      mysql-test/r/parser.result:
        New tests
      mysql-test/r/udf.result:
        New tests
      mysql-test/t/parser.test:
        New tests
      mysql-test/t/udf.test:
        New tests
      sql/item_create.cc:
        Semantic checks for named parameters, as in "foo(expr AS name)".
      sql/share/errmsg.txt:
        New error message
      sql/sql_lex.cc:
        Remove usage of udf_list.
      sql/sql_lex.h:
        Remove usage of udf_list.
      sql/sql_yacc.yy:
        Remove usage of udf_list.
      c38783d0
  4. 01 Dec, 2006 20 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-5.0-build · 9ccfa26b
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.1-build
      
      9ccfa26b
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1-build · a882a127
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-build
      
      a882a127
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-5.0-build · 3a022237
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.1-build
      
      
      client/mysqltest.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      3a022237
    • unknown's avatar
      mysql_upgrade.def Makefile.am: · ea132547
      unknown authored
        Added new "mysql_upgrade.def" for Netware (bug#23504)
      *.def:
        Allocate 128K stack for all executables (bug#23504)
      
      
      netware/comp_err.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/isamchk.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/isamlog.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/libmysql.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/my_print_defaults.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/myisam_ftdump.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/myisamchk.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/myisamlog.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/myisampack.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysql.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysql_install_db.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysql_test_run.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysql_waitpid.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqladmin.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqlbinlog.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqlcheck.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqld.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqld_safe.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqldump.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqlimport.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqlshow.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysqltest.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/pack_isam.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/perror.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/replace.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/resolve_stack_dump.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/resolveip.def:
        Allocate 128K stack for all executables (bug#23504)
      netware/mysql_upgrade.def:
        BitKeeper file /home/kent/bk/mysql-5.0-build/netware/mysql_upgrade.def
      netware/Makefile.am:
        Added "mysql_upgrade.def"
      ea132547
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1 · e03591c7
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      configure.in:
        Auto merged
      client/mysqldump.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/ndb/include/util/OutputStream.hpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      e03591c7
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug22043/my51-bug22043 · 179c34f0
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/mysql-5.1-maint
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/r/rpl_sp.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      mysql-test/t/rpl_sp.test:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      179c34f0
    • unknown's avatar
      Bug#22043 MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE IF EXISTS" · 3c69dfb2
      unknown authored
      - Merged; updated test case.
      
      
      mysql-test/r/rpl_sp.result:
        - Merged; updated test case for 5.1
      mysql-test/t/rpl_sp.test:
        - Merged; updated result set for 5.1
      3c69dfb2
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug22043/my50-bug22043 · 3aeae1f0
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/bug22043/my51-bug22043
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      mysql-test/r/rpl_sp.result:
        null merge
      mysql-test/t/rpl_sp.test:
        null merge
      3aeae1f0
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1 · 751b7b0a
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      751b7b0a
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · 2aba358b
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      2aba358b
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 5c29a010
      unknown authored
      into  example.com:/work/bug24395-v2/my51
      
      
      mysql-test/t/alter_table.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      5c29a010
    • unknown's avatar
      Changed mysql.apply_status, mysql.binlog_index, and mysql.schema to... · b97d63a4
      unknown authored
      Changed mysql.apply_status, mysql.binlog_index, and mysql.schema to mysql.ndb_apply_status, mysql.ndb_binlog_index, and mysql.ndb_schema
      
      
      b97d63a4
    • unknown's avatar
      fix build failure introduced by 5.1-marvel merge · b6d38620
      unknown authored
      
      include/m_ctype.h:
        update prototype to reflect changes to my_strchr.c
      b6d38620
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · cdc7797a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      cdc7797a
    • unknown's avatar
      ndb - bug#24655 · 94b35be5
      unknown authored
        Handle events "differently" so that dict doesnt get lock too often
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Handle event separatly as they dont set block_state :-(
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Handle event separatly as they dont set block_state :-(
      storage/ndb/src/kernel/vm/KeyTable2.hpp:
        Handle event separatly as they dont set block_state :-(
      94b35be5
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 2330c5c0
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      2330c5c0
    • unknown's avatar
      ndb - bug#24752 · 6dc8ad60
      unknown authored
        This prevent any subsequent node restarts, but it's better than crashing an alive node
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix for bug#24752
        This prevent any subsequent node restarts, but it's better than crashing an alive node
      6dc8ad60
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0-marvel · baa96a1a
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build
      
      
      client/mysqltest.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      baa96a1a
    • unknown's avatar
      Bug#22043 MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE IF EXISTS" · 6eea2080
      unknown authored
      - Refactoring of duplicate code
      - Modified bad test cases
      - Changed expected error when operating on information_schema.
      
      
      mysql-test/r/information_schema.result:
        - updated result file with new error code.
      mysql-test/r/rpl_sp.result:
        - Modified test case
      mysql-test/t/information_schema.test:
        - Changed error code for operations on information_schema
      mysql-test/t/rpl_sp.test:
        - Modified test case
      sql/sql_parse.cc:
        - Cleaned up code:
          * replace tab with space
          * simplified if/switch statements
          * refactored duplicated code
      6eea2080
    • unknown's avatar
      Merge example.com:/work/bug24395-v2/my50 · c6dc90e7
      unknown authored
      into  example.com:/work/bug24395-v2/my51
      
      
      mysql-test/r/alter_table.result:
        Auto merged
      mysql-test/t/alter_table.test:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      sql/sql_table.cc:
        manual merge
      c6dc90e7