1. 25 Aug, 2004 8 commits
    • unknown's avatar
      merge · db2343e8
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Auto merged
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Auto merged
      db2343e8
    • unknown's avatar
      dc897936
    • unknown's avatar
      Missing ; · 6a4bbfe8
      unknown authored
      Duplicate lib dep
      
      
      ndb/src/kernel/vm/Configuration.cpp:
        Missing ;
      ndb/src/mgmsrv/Makefile.am:
        Duplicate lib dep
      6a4bbfe8
    • unknown's avatar
      Merge mysql.com:/Volumes/Backup1/wl2056 · d0a06b6f
      unknown authored
      into mysql.com:/Users/mikron/wl2056
      
      
      d0a06b6f
    • unknown's avatar
      Adaptions after review · c007ffdd
      unknown authored
      c007ffdd
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 64a5170b
      unknown authored
      into mysql.com:/Volumes/Backup1/wl2056
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      64a5170b
    • unknown's avatar
      Fixing an issue with using UNDEFINED as default parameter value · 777cd0e3
      unknown authored
      which means that the ndbd process will not know anything about the
      value
      
      
      777cd0e3
    • unknown's avatar
      merge count(*) optim with wl2025 · 00ca62f0
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.hpp:
        Auto merged
      00ca62f0
  2. 24 Aug, 2004 32 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 4797675a
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      4797675a
    • unknown's avatar
      minor fixes · c6216b12
      unknown authored
      
      mysql-test/r/ndb_blob.result:
        fixed result for ndb_blob.test
      ndb/src/ndbapi/Ndb.cpp:
        added some debug calls
      c6216b12
    • unknown's avatar
      Merge · 8bb0aaa5
      unknown authored
      
      acinclude.m4:
        Auto merged
      configure.in:
        Auto merged
      ndb/src/common/mgmcommon/ConfigInfo.hpp:
        Auto merged
      ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
        Auto merged
      mysql-test/ndb/ndb_config_2_node.ini:
        SCCS merged
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        SCCS merged
      8bb0aaa5
    • unknown's avatar
      ndb config ability/naming changes, see respective file · 9f2b7e91
      unknown authored
      
      mysql-test/ndb/ndb_config_2_node.ini:
        using new naming capabilities
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        fixes case insensitive
        + removed abort from config handling
      ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
        fixed alias handling
        some requires in config handling
      ndb/src/mgmclient/CommandInterpreter.cpp:
        new printout to reflect new naming in config
      9f2b7e91
    • unknown's avatar
      Implemented general purpose psuedo columns: row_count & fragment · d2c8f1a7
      unknown authored
      Implemented new interpreter instruction: exit_ok_last
      
      This two new features combined can be used to make fast select count
       
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Psuedo columns fragment & row_count
      ndb/include/kernel/GlobalSignalNumbers.h:
        Impl. READ_ROWCOUNT
      ndb/include/kernel/signaldata/TupKey.hpp:
        Remove unused pageId pageIndex and replace with lastRow flag
      ndb/include/ndbapi/NdbOperation.hpp:
        New instruction for last_row
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        REQ_ROWCOUNT
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        REQ_ROWCOUNT
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        REQ_ROWCOUNT
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        REQ_ROWCOUNT + last row
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        REQ_ROWCOUNT
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        REQ_ROWCOUNT + last row
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Add readers for new psuedo columns
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Add readers for new psuedo columns
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Add readers for new psuedo columns
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Use exit ok (not ok_last)
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Use exit ok (not ok_last)
      ndb/src/ndbapi/NdbOperationInt.cpp:
        New instruction
      d2c8f1a7
    • unknown's avatar
      Cleaned up rnd_init · 340d40a7
      unknown authored
      340d40a7
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 92dfd1bf
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-clean
      
      
      92dfd1bf
    • unknown's avatar
      more aliases in ndb config · b7a13b55
      unknown authored
      
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        more aliases
      ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
        oops bug
      b7a13b55
    • unknown's avatar
      compatibility fixes · 5b1c2dec
      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
      5b1c2dec
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 5aca69d9
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      5aca69d9
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2ce9f883
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-clean
      
      
      2ce9f883
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 76a9aeb7
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      76a9aeb7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 89b7c75f
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-4.1-5034
      
      
      89b7c75f
    • unknown's avatar
      committed skipped file · aa8a12fe
      unknown authored
      aa8a12fe
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 5e85c284
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        auto-union
      5e85c284
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 16a364f5
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-4.1-5034
      
      
      16a364f5
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6564806b
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_libedit/mysql-4.1.clear
      
      
      acinclude.m4:
        Auto merged
      configure.in:
        Auto merged
      6564806b
    • unknown's avatar
      bug fix · 4cf158b0
      unknown authored
      4cf158b0
    • unknown's avatar
      resurrect fix for · c2d207e8
      unknown authored
      Bug #4696  	segfault in cmd-line-utils/libedit/history.c:history_save() 
      (bundled libedit)
      
      
      c2d207e8
    • unknown's avatar
      enables case insensitivity in ndb config file · 45c94a28
      unknown authored
      45c94a28
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 1e91f015
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      ndb/src/mgmsrv/Services.cpp:
        Auto merged
      configure.in:
        Auto merged
      acinclude.m4:
        Auto merged
      1e91f015
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · d5996e18
      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
      d5996e18
    • unknown's avatar
      Merge: manual resolve · 205cf804
      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
      205cf804
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · a8f24dc7
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-clean
      
      
      a8f24dc7
    • unknown's avatar
      fixed AC_DEFINE(HAVE_HIST_ENTRY) in acinclude.m4 · 6b20f46a
      unknown authored
      
      acinclude.m4:
        fixed AC_DEFINE(HAVE_HIST_ENTRY)
      6b20f46a
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f8f627d0
      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
      f8f627d0
    • unknown's avatar
      fixed AC_DEFINE's for libedit-2.6.7 · 99538ee3
      unknown authored
      
      acinclude.m4:
        fixed AC_DEFINE(HAVE_HIST_ENTRY)
      configure.in:
        fixed new AC_DEFINE's
      99538ee3
    • unknown's avatar
      added skipped file for libedit-2.6.7 · b755d751
      unknown authored
      b755d751
    • unknown's avatar
      automerged · ac9d0ce1
      unknown authored
      ac9d0ce1
    • unknown's avatar
      followup · 44a75553
      unknown authored
      44a75553
    • unknown's avatar
    • unknown's avatar
      Fix for Bug#5034 "prepared "select 1 into @arg15", second · 49bd559e
      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
      49bd559e