1. 24 Aug, 2004 35 commits
    • 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
      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
      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
      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 · 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
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0e316ced
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      0e316ced
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 70fca8b6
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_4998/mysql-4.1
      
      70fca8b6
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · c1294651
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_4998/mysql-4.1
      
      
      sql-common/client.c:
        Auto merged
      c1294651
    • unknown's avatar
      more accurate processing of find_type result · 3c5e4bd9
      unknown authored
      (Bug #4998 --protocol doesn't reject bad values)
      
      
      client/mysql.cc:
        more accurate processing of find_type result
      client/mysqladmin.c:
        more accurate processing of find_type result
      client/mysqlbinlog.cc:
        more accurate processing of find_type result
      client/mysqlcheck.c:
        more accurate processing of find_type result
      client/mysqldump.c:
        more accurate processing of find_type result
      client/mysqlimport.c:
        more accurate processing of find_type result
      client/mysqlshow.c:
        more accurate processing of find_type result
      sql-common/client.c:
        more accurate processing of find_type result
      3c5e4bd9
    • unknown's avatar
      Portablity fixes & simple optimizations · 04691360
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Added missing cast
      sql/item.cc:
        Portability fix (for windows)
      sql/lock.cc:
        Cleanup + more comments
      sql/sql_class.cc:
        Portability fix + more comments
      sql/sql_select.cc:
        Portability fix
      sql/sql_table.cc:
        Simpler handling of auto_increment in ALTER TABLE
      04691360
    • 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
    • unknown's avatar
      Use "configured" socklen_t · 08bf33da
      unknown authored
      Fix master printout
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Fix master printout
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Use "configured" socklen_t
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Use "configured" socklen_t
      ndb/src/mgmsrv/Services.cpp:
        Use "configured" socklen_t
      08bf33da
    • unknown's avatar
      Compile fix sol9x86 · a652879c
      unknown authored
      
      ndb/src/kernel/blocks/grep/Grep.hpp:
        Remove own addRecSignal-methods
      ndb/src/kernel/blocks/grep/GrepInit.cpp:
        Remove own addRecSignal-methods
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        #ifdef SUNPRO_CC 5.6
      ndb/src/ndbapi/NdbEventOperation.cpp:
        Compile fix
      ndb/src/ndbapi/NdbScanFilter.cpp:
        #ifdef SUNPRO_CC 5.6
      ndb/src/ndbapi/TransporterFacade.hpp:
        Compile fix
      ndb/test/ndbapi/testIndex.cpp:
        Compile fix
      a652879c
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 01d9ceaf
      unknown authored
      into kite-hub.kitebird.com:/src/extern/MySQL/bk/mysql-4.1
      
      01d9ceaf
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 62ef2559
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-root-root
      
      62ef2559
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 78800285
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      78800285
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 126f00eb
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.5066
      
      126f00eb
    • unknown's avatar
      SCO unix compile fix · 54985ce5
      unknown authored
      
      ndb/src/common/portlib/Makefile.am:
        Rename from .c to .cpp as c++ features needed
      ndb/src/common/portlib/NdbTCP.cpp:
        NDB_MUTEX_INITIALIZER isn't preset on SCO unix
      ndb/src/ndbapi/Ndbinit.cpp:
        NDB_MUTEX_INITIALIZER isn't preset on SCO unix
      54985ce5
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · c501710a
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      c501710a
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 92471a36
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.5066
      
      92471a36
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5df7c936
      unknown authored
      into brandersnatch.localdomain:/home/dlenev/src/mysql-4.1-fix
      
      5df7c936
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · f5754ce5
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.emb
      
      f5754ce5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 069d1af4
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-clean
      
      069d1af4
    • unknown's avatar
      some more printouts to SHOW command · 7cf1e5c3
      unknown authored
      
      mysql-test/ndb/ndbcluster.sh:
        stop instead of kill
      7cf1e5c3
    • unknown's avatar
      enabling stopping of ndb_mgmd · 4a15609f
      unknown authored
      4a15609f
    • unknown's avatar
      Fix to compile with msvc: converted static const int Item_arena::* to enum members, undefine ERROR · 11010a08
      unknown authored
      
      include/config-win.h:
        Undefine ERROR #defined by WINGDI
      sql/sql_class.cc:
        Fix to compile with msvc: converted static const int Item_arena::* to enum members
      sql/sql_class.h:
        Fix to compile with msvc: converted static const int Item_arena::* to enum members
      sql/sql_prepare.cc:
        Fix to compile with msvc: converted static const int Item_arena::* to enum members
      11010a08
    • unknown's avatar
      Merging fix · e8bd77c0
      unknown authored
      e8bd77c0
    • unknown's avatar
      Fixed windows-specific warning about undeclared localtime_r() in my_time.c. · 9b0d9af1
      unknown authored
      We have to include my_pthread.h since it is the place where localtime_r() is declared 
      on platforms where this function is missing.
      
      
      sql-common/my_time.c:
        We have to include my_pthread.h since it is the place where localtime_r() is declared 
        on platforms where this function is missing.
      9b0d9af1
    • unknown's avatar
      bug#5014 · e92c08ab
      unknown authored
      detect change of #replicas + #nodes
      
      e92c08ab
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · f15fa69a
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.5066
      
      f15fa69a
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · 1b10a887
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.5066
      
      1b10a887
    • unknown's avatar
      Merging · 93be0267
      unknown authored
      93be0267
    • unknown's avatar
  2. 23 Aug, 2004 5 commits
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0cad061d
      unknown authored
      into build.mysql.com:/users/rburnett/mysql-4.1
      
      0cad061d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 8063feef
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      8063feef
    • unknown's avatar
      Fixed uninitialized variable · 229741a0
      unknown authored
      Fixed error messages
      
      
      sql/share/czech/errmsg.txt:
        Fixed error message to us long
      sql/share/danish/errmsg.txt:
        Fixed error message to us long
      sql/share/dutch/errmsg.txt:
        Fixed error message to us long
      sql/share/english/errmsg.txt:
        Fixed error message to us long
      sql/share/estonian/errmsg.txt:
        Fixed error message to us long
      sql/share/french/errmsg.txt:
        Fixed error message to us long
      sql/share/german/errmsg.txt:
        Fixed error message to us long
      sql/share/greek/errmsg.txt:
        Fixed error message to us long
      sql/share/hungarian/errmsg.txt:
        Fixed error message to us long
      sql/share/italian/errmsg.txt:
        Fixed error message to us long
      sql/share/japanese/errmsg.txt:
        Fixed error message to us long
      sql/share/korean/errmsg.txt:
        Fixed error message to us long
      sql/share/norwegian-ny/errmsg.txt:
        Fixed error message to us long
      sql/share/norwegian/errmsg.txt:
        Fixed error message to us long
      sql/share/polish/errmsg.txt:
        Fixed error message to us long
      sql/share/portuguese/errmsg.txt:
        Fixed error message to us long
      sql/share/romanian/errmsg.txt:
        Fixed error message to us long
      sql/share/russian/errmsg.txt:
        Fixed error message to us long
      sql/share/serbian/errmsg.txt:
        Fixed error message to us long
      sql/share/slovak/errmsg.txt:
        Fixed error message to us long
      sql/share/spanish/errmsg.txt:
        Fixed error message to us long
      sql/share/swedish/errmsg.txt:
        Fixed error message to us long
      sql/share/ukrainian/errmsg.txt:
        Fixed error message to us long
      sql/sql_table.cc:
        Fixed uninitialized variable
      229741a0
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · e34d04bc
      unknown authored
      into build.mysql.com:/users/rburnett/mysql-4.1
      
      e34d04bc
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 7dcc0361
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-bugs-4.1
      
      7dcc0361