1. 24 Aug, 2004 3 commits
    • unknown's avatar
      added skipped macro for new libedit-2.6.7 in configure.in · e92cae03
      unknown authored
      
      configure.in:
        added skipped macro for new libedit-2.6.7
      e92cae03
    • unknown's avatar
      upgrade to libedit-2.6.7 · f6a3fb44
      unknown authored
      (fixed Bug #4462 libedit compile failure)
      
      
      BitKeeper/etc/ignore:
        change config.h -> config.h to commit cmd-line-utils/libedit/config.h
      cmd-line-utils/libedit/Makefile.am:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/chared.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/chared.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/common.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/el.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/el.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/emacs.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/hist.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/hist.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/histedit.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/history.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/key.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/key.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/makelist.sh:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/map.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/map.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/parse.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/prompt.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/read.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/readline.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/readline/readline.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/refresh.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/search.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/search.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/sig.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/sig.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/sys.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/term.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/tokenizer.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/tokenizer.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/tty.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/tty.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/vi.c:
        upgrade to libedit-2.6.7
      configure.in:
        change liblibedit.a to correct libedit.a
      f6a3fb44
    • unknown's avatar
      fixed : · e4c98b4f
      unknown authored
      Bug #3937  	fails to compile with both gcc 3.3.3/icc8
      Bug #4728  	mysql couldn't be compiled using system readline (readline-4.3)
      
      
      acinclude.m4:
        1. added defun MYSQL_CHECK_READLINE_DECLARES_HIST_ENTRY for last versions of readline and libedit
        2. added #undef __P in defuns MYSQL_CHECK_LIBEDIT_INTERFACE, MYSQL_CHECK_NEW_RL_INTERFACE
      client/mysql.cc:
        1. added #undef __P before #include "readline/readline.h" because readline-4.2 declares own __P
        2. changed !defined(USE_LIBEDIT_INTERFACE) to !defined(HAVE_HIST_ENTRY) before declaring of own hist_entry
           because latest versions of libedit declare hist_entry too
      cmd-line-utils/Makefile.am:
        added copyright header
      configure.in:
        1. added comment for --with-readline/--with-libedit options
        2. added define for HAVE_HIST_ENTRY and macro to check it
        3. added AC_LANG_CPLUSPLUS before readline/libedit checks
      e4c98b4f
  2. 22 Aug, 2004 6 commits
  3. 21 Aug, 2004 4 commits
    • unknown's avatar
      libedit safety fix: account for closing \0 · 3c0f5cef
      unknown authored
      
      cmd-line-utils/libedit/history.c:
        account for closing \0
      3c0f5cef
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · b33e9e97
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
      
      b33e9e97
    • unknown's avatar
      Fix to skip flush_block_commit test if the server was compiled · 7bfc5802
      unknown authored
      without InnoDB.
      
      7bfc5802
    • unknown's avatar
      null.test, null.result: · b33b4c27
      unknown authored
        Added test case for bug #4256.
      join_outer.result:
        Fixed bug #4256.
      item_cmpfunc.h:
        Fixed inconsistency of values of used_tables_cache and
        const_item_cache for Item_func_isnull objects.
        This inconsistency caused bug #4256.
      
      
      sql/item_cmpfunc.h:
        Fixed inconsistency of values of used_tables_cache and
        const_item_cache for Item_func_isnull objects.
        This inconsistency caused bug #4256.
      mysql-test/r/join_outer.result:
        Fixed bug #4256.
      mysql-test/r/null.result:
        Added test case for bug #4256.
      mysql-test/t/null.test:
        Added test case for bug #4256.
      b33b4c27
  4. 20 Aug, 2004 27 commits
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · f473be3f
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-4.1
      
      
      sql/item_sum.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      f473be3f
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3e249e72
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
      
      3e249e72
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · e01ab1d8
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-4.1
      
      e01ab1d8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 683befe8
      unknown authored
      into mysql.com:/home/kostja/work/mysql-4.1-4912
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      683befe8
    • unknown's avatar
      Fix for bug#4912 "mysqld crashs in case a statement is executed · 48bb5630
      unknown authored
       a second time". The bug was caused by incompatibility of
      negations elimination algorithm and PS: during first statement 
      execute a subtree with negation was replaced with equivalent 
      subtree without NOTs.
      The problem was that although this transformation was permanent, 
      items of the new subtree were created in execute-local memory.
      The patch adds means to check if it is the first execute of a
      prepared statement, and if this is the case, to allocate items
      in memory of the prepared statement.
      The implementation:
      - backports Item_arena from 5.0
      - adds Item_arena::is_stmt_prepare(), 
        Item_arena::is_first_stmt_execute().
      - deletes THD::allocate_temporary_pool_for_ps_preparing(),
        THD::free_temporary_pool_for_ps_preparing(); they
        were redundant.
      and adds a few invariants:
      - thd->free_list never contains junk (= freed items)
      - thd->current_arena is never null. If there is no
        prepared statement, it points at the thd. 
      The rest of the patch contains mainly mechanical changes and
      cleanups.
      
      
      mysql-test/r/ps.result:
        Test results updated (test case for Bug#4912)
      mysql-test/t/ps.test:
        A test case for Bug#4912 "mysqld crashs in case a statement is 
        executed a second time"
      sql/item_cmpfunc.cc:
        current_statement -> current_arena
      sql/item_subselect.cc:
        Statement -> Item_arena, current_statement -> current_arena
      sql/item_subselect.h:
        Item_subselect does not need to save thd->current_statement.
      sql/item_sum.cc:
        Statement -> Item_arena
      sql/item_sum.h:
        Statement -> Item_arena
      sql/mysql_priv.h:
        Statement -> Item_arena
      sql/sql_base.cc:
        current_statement -> current_arena
      sql/sql_class.cc:
        - Item_arena
        - convenient set_n_backup_statement, restore_backup_statement
        (nice idea, Sanja)
      sql/sql_class.h:
        - Item_arena: backport from 5.0
        - allocate_temporary_pool_for_ps_preparing,
          free_temporary_pool_for_ps_preparing removed.
      sql/sql_derived.cc:
        current_statement -> current_arena
      sql/sql_lex.cc:
        current_statement -> current_arena
      sql/sql_parse.cc:
        Deploy invariant that thd->free_list never contains junk items
        (backport from 5.0).
      sql/sql_prepare.cc:
        - backporting Item_arena
        - no need to allocate_temporary_pool_for_ps_preparing().
      sql/sql_select.cc:
        Fix for bug#4912 "mysqld crashs in case a statement is 
        executed a second time": if this is the first execute of
        a prepared statement, negation elimination is
        done in memory of the prepared statement.
      sql/sql_union.cc:
        Backporting Item_arena from 5.0.
      48bb5630
    • unknown's avatar
      mysql-copyright: · 137191c4
      unknown authored
        Fixed it to work, added function to fix include/mysql_version.h LICENSE tag from GPL to Commercial
      
      
      Build-tools/mysql-copyright:
        Fixed it to work, added function to fix include/mysql_version.h LICENSE tag from GPL to Commercial
      137191c4
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · 496549b3
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      496549b3
    • unknown's avatar
      after merge fix · c984b763
      unknown authored
      
      myisam/Makefile.am:
        put zlib at the end (libtool adds the whole bunch of dependencies right after that)
      sql/Makefile.am:
        put zlib at the end (libtool adds the whole bunch of dependencies right after that)
      c984b763
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 31fe7556
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/mysql_priv.h:
        Auto merged
      31fe7556
    • unknown's avatar
      variable scoop, compile fix · 2abbbcac
      unknown authored
      2abbbcac
    • unknown's avatar
      merged · de33e792
      unknown authored
      
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      de33e792
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2d8c7288
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      2d8c7288
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · f4af817c
      unknown authored
      into build.mysql.com:/users/rburnett/mysql-4.1
      
      
      sql/mysql_priv.h:
        Auto merged
      f4af817c
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 6b5586fb
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      sql/item_sum.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      6b5586fb
    • unknown's avatar
      removed debug printout · e884a109
      unknown authored
      e884a109
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7bdc49df
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      7bdc49df
    • unknown's avatar
      sql_select.cc: compilation failure fixed · 059d85fe
      unknown authored
      
      
      sql/sql_select.cc:
        why cannot I compare (type) to (const type) ?????
      059d85fe
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5faa044e
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
      
      
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      5faa044e
    • unknown's avatar
      Bug#4594 "column index make = failed for gbk, but like works" · 5ea7ca10
      unknown authored
      Fix for MyISAM. Tests for MyISAM and HASH+BTREE.
      
      5ea7ca10
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-ndb · 5e586169
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      5e586169
    • unknown's avatar
      compile error fixes for some platforms · 8e76eb2d
      unknown authored
      8e76eb2d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 2be1f4d8
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-bg4302
      
      2be1f4d8
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0c4a1521
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1
      
      0c4a1521
    • unknown's avatar
      fix compile error on some platforms · 3b36370f
      unknown authored
      3b36370f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c5413da0
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-bg4302
      
      
      sql/sql_select.cc:
        Auto merged
      c5413da0
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1 · ec3b79ad
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      ec3b79ad
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c1eae670
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1
      
      c1eae670