1. 26 Aug, 2004 2 commits
    • unknown's avatar
      If the system has 64 bit "long", then "long long" does not add new · 334a5ad4
      unknown authored
      functionality. The existing code takes advantage of this when
      "typedef"ing 'longlong' in 'my_global.h'. This holds for Alpha CPUs.
      If the compiler then has prototypes for C99 functions 'strtoll()' and
      'strtoull()' but no implementation, the existing code in 'strtoull.c'
      collides with that prototype. These collisions are avoided now.
      
      
      include/m_string.h:
        Extend the "fake" approach from 'strtoull()' onto 'strtoll()'.
      strings/strto.c:
        Ensure that calling file has included necessary headers,
        as these are needed at the upper level already.
      strings/strtol.c:
        Cleanup/alignment with the "long long" functions.
      strings/strtoll.c:
        When "long" is 64 bit already, system function 'strtol()' can be used.
        Header files 'my_global.h' and 'm_string.h' will manage that,
        if they are included early enough.
      strings/strtoul.c:
        Cleanup/alignment with the "long long" functions.
      strings/strtoull.c:
        When "long" is 64 bit already, system function 'strtoul()' can be used.
        Header files 'my_global.h' and 'm_string.h' will manage that,
        if they are included early enough.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      334a5ad4
    • unknown's avatar
      ctype-latin1.c: · 8aee2005
      unknown authored
        Revert this change, it was done in a mistake.
      
      
      strings/ctype-latin1.c:
        Revert this change, it was done in a mistake.
      8aee2005
  2. 25 Aug, 2004 5 commits
  3. 24 Aug, 2004 33 commits
    • unknown's avatar
      Cleaned up rnd_init · f08215e9
      unknown authored
      f08215e9
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f654bd77
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-clean
      
      f654bd77
    • unknown's avatar
      more aliases in ndb config · 09d6f369
      unknown authored
      
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        more aliases
      ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
        oops bug
      09d6f369
    • unknown's avatar
      compatibility fixes · 59f045d8
      unknown authored
      
      client/mysql.cc:
        removed readline-4.2 compatibility fix
        readline 4.2 is broken, use 4.2a instead
      cmd-line-utils/libedit/search.c:
        regex.h fix
      acinclude.m4:
        removed readline-4.2 compatibility fix
        readline 4.2 is broken, use 4.2a instead
      59f045d8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 94d5b4f4
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      94d5b4f4
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · cd6e9fa1
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-clean
      
      cd6e9fa1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · e4558662
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      e4558662
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a394be5d
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-4.1-5034
      
      a394be5d
    • unknown's avatar
      committed skipped file · b7709f33
      unknown authored
      b7709f33
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 44753f21
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        auto-union
      44753f21
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f8091548
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-4.1-5034
      
      f8091548
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · b04ef27a
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_libedit/mysql-4.1.clear
      
      
      acinclude.m4:
        Auto merged
      configure.in:
        Auto merged
      b04ef27a
    • unknown's avatar
      bug fix · 13a21072
      unknown authored
      13a21072
    • unknown's avatar
      resurrect fix for · abcf807e
      unknown authored
      Bug #4696  	segfault in cmd-line-utils/libedit/history.c:history_save() 
      (bundled libedit)
      
      abcf807e
    • unknown's avatar
      enables case insensitivity in ndb config file · b6aaf17c
      unknown authored
      b6aaf17c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 57dbc277
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        added support-files/my-innodb-heavy-4G.cnf
      sql/sql_select.cc:
        Auto merged
      57dbc277
    • unknown's avatar
      Merge: manual resolve · 2a55c157
      unknown authored
      
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_class.cc:
        Manual resolve of the merge
      2a55c157
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 483c5c92
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-clean
      
      483c5c92
    • unknown's avatar
      fixed AC_DEFINE(HAVE_HIST_ENTRY) in acinclude.m4 · 83f6316a
      unknown authored
      
      acinclude.m4:
        fixed AC_DEFINE(HAVE_HIST_ENTRY)
      83f6316a
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6c4ffb8c
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_libedit/mysql-4.1.clear_v2
      
      
      client/mysql.cc:
        Auto merged
      configure.in:
        Auto merged
      6c4ffb8c
    • unknown's avatar
      fixed AC_DEFINE's for libedit-2.6.7 · f83078b7
      unknown authored
      
      acinclude.m4:
        fixed AC_DEFINE(HAVE_HIST_ENTRY)
      configure.in:
        fixed new AC_DEFINE's
      f83078b7
    • unknown's avatar
      added skipped file for libedit-2.6.7 · fb67d669
      unknown authored
      fb67d669
    • unknown's avatar
      automerged · 289b2367
      unknown authored
      289b2367
    • unknown's avatar
      followup · 800139b2
      unknown authored
      800139b2
    • unknown's avatar
    • unknown's avatar
      Fix for Bug#5034 "prepared "select 1 into @arg15", second · dd5022c0
      unknown authored
      execute crashes server": we were deleting lex->result
      after each execute, but prepared statements assumed that
      it's left intact.
      The fix adds cleanup() method to select_result hierarchy,
      so that result objects can be reused.
      Plus we now need to delete result objects more wisely.
      
      
      mysql-test/r/ps.result:
        Test results fixed: test case for bug#5034
      mysql-test/t/ps.test:
        A test case for bug#5034, few followups
      sql/sql_class.cc:
        - fix warning in THD::THD
        - implementation of cleanup() for select_result hierarchy
        - select_export::send_eof was identical to 
          select_dump::send_eof: moved to the base class select_to_file.
        - Statement::end_statement() to end lex, free items, and
          delete possible select_result
      sql/sql_class.h:
        - select_result::cleanup() declaration
        -
      sql/sql_insert.cc:
        - implementation of select_insert::cleanup(): currently
          we always create a new instance of select_insert/
          select_create on each execute.
      sql/sql_lex.cc:
        - with more complicated logic of freeing lex->result it's 
          easier to have it non-zero only if it points to a valid
          result.
      sql/sql_lex.h:
        Now st_lex::st_lex is not empty.
      sql/sql_parse.cc:
        mysql_execute_command():
        - delete select_result *result only if it was created in
          this function.
        - use end_statement() to cleanup lex and thd in the end of
          each statement.
        - no need to save THD::lock if this is explain. This save
          apparently left from times when derived tables were 
          materialized here, not in open_and_lock_tables.
      sql/sql_prepare.cc:
        - call result->cleanup() in reset_stmt_for_execute
        - now Statement is responsible for freeing its lex->result.
      sql/sql_select.cc:
        handle_select():
        - don't delete result, it might be needed
          for next executions
        - result is never null
      dd5022c0
    • 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
      manually merged · 46fad71c
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      mysql-test/r/binary.result:
        Auto merged
      mysql-test/r/truncate.result:
        Auto merged
      mysql-test/t/binary.test:
        Auto merged
      mysql-test/t/truncate.test:
        Auto merged
      mysys/my_lib.c:
        Auto merged
      strings/my_vsnprintf.c:
        Auto merged
      support-files/Makefile.am:
        Auto merged
      46fad71c
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · 214aeba2
      unknown authored
      into build.mysql.com:/users/rburnett/mysql41
      
      214aeba2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · c04c5196
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      c04c5196
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c0ac8181
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_class.cc:
        Auto merged
      c0ac8181
    • unknown's avatar
      my_handler.c: · b040c680
      unknown authored
        Added (my_bool) cast to !(nextflag & SEARCH_PREFIX) code to correct MSVC warning about mismatched integral types
      
      
      mysys/my_handler.c:
        Added (my_bool) cast to !(nextflag & SEARCH_PREFIX) code to correct MSVC warning about mismatched integral types
      b040c680