1. 19 Aug, 2005 8 commits
  2. 18 Aug, 2005 29 commits
    • unknown's avatar
      Manual merge · cc64abf1
      unknown authored
      cc64abf1
    • unknown's avatar
      Manual merge · ec38825c
      unknown authored
      ec38825c
    • unknown's avatar
      Merge lmy004.:/work/mysql-5.0-clean · f89f4fd1
      unknown authored
      into lmy004.:/work/mysql-5.0-bug12591
      
      
      sql/sql_show.cc:
        Auto merged
      f89f4fd1
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9aaa6f4a
      unknown authored
      into moonbone.local:/work/10624-bug-5.0-mysql
      
      
      sql/sql_lex.cc:
        Auto merged
      9aaa6f4a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · ee283b26
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/item_strfunc.cc:
        Auto merged
      ee283b26
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · e088ae13
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-5.0
      
      e088ae13
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2f0e3d1f
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-aug18-fix
      
      2f0e3d1f
    • unknown's avatar
      Undo the test cset that shouldn't have been pushed (ChangeSet@1.1988,... · 4f0facff
      unknown authored
      Undo the test cset that shouldn't have been pushed (ChangeSet@1.1988, 2005-08-16 00:03:50+04:00, aivanov@mysql.com
       )
      
      
      4f0facff
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · ebabcdb1
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-5.0
      
      ebabcdb1
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 59b454ac
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/main
      
      59b454ac
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · d56044a0
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      d56044a0
    • unknown's avatar
      Merge eel.(none):/home/jonas/src/mysql-5.0 · 5d2587ee
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-5.0-push
      
      
      mysql-test/t/ndb_config.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      mysql-test/t/ndb_alter_table.test:
        merge
      5d2587ee
    • unknown's avatar
      Merge eel.(none):/home/jonas/src/mysql-4.1 · 994fe04b
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-5.0
      
      
      mysql-test/r/ndb_alter_table.result:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      ndb/src/kernel/SimBlockList.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.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/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/ndbapi/DictCache.cpp:
        Auto merged
      ndb/src/ndbapi/DictCache.hpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      mysql-test/t/ndb_alter_table.test:
        merge
      ndb/src/common/util/version.c:
        merge
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        merge
      994fe04b
    • unknown's avatar
      bug#12118 - ndb alter table data loss · 337fa5e1
      unknown authored
        Split table version into 2 (major, minor)
        Impl. signaling to API when table has been altered
        Allow running transactions to use any minor number for transactions
      
      
      mysql-test/r/ndb_alter_table.result:
        Allow running transactions to use old table definition when possible.
      mysql-test/t/ndb_alter_table.test:
        Allow running transactions to use old table definition when possible.
      ndb/include/kernel/BlockNumbers.h:
        remove GREP
      ndb/include/kernel/GlobalSignalNumbers.h:
        Add ALTER_TABL_REP and API_BROADCAST_REP
      ndb/include/kernel/kernel_types.h:
        table_version_major
      ndb/include/kernel/signaldata/AlterTable.hpp:
        New error code for alter table during rolling upgrade
      ndb/include/ndbapi/NdbDictionary.hpp:
        Add state on table object to represent an altered but still valid table object
      ndb/src/common/debugger/BlockNames.cpp:
        remove GREP
      ndb/src/common/util/version.c:
        Fix upgrades
      ndb/src/kernel/SimBlockList.cpp:
        remove GREP
      ndb/src/kernel/blocks/Makefile.am:
        remove GREP
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove GREP
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Split tableSchemaVersion into 2 part
        24 bit real version
         8 bit for online alter table where old table definition is still usable
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Check for same ndb versions
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        Update schema printer
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove grep
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        remove GREP
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/suma/Suma.cpp:
        remove GREP
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        remove GREP
      ndb/src/ndbapi/DictCache.cpp:
        Add support for alter_table_rep
          by setting status to Altered
        
        NOTE special handling of tables in state RETREIVING
      ndb/src/ndbapi/DictCache.hpp:
        Add support for alter_table_rep
          by setting status to Altered
        
        NOTE special handling of tables in state RETREIVING
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Change alter table so that remove from global cache is used wo/ retreiving it from there first
          as ALTER_TABLE_REP might already have changed the table object...
      ndb/src/ndbapi/TransporterFacade.cpp:
        Add support for ALTER_TABLE_REP
      sql/ha_ndbcluster.cc:
        Allow running transactions to use tables in state ALTERED...but new transactions may not...
      ndb/include/kernel/signaldata/ApiBroadcast.hpp:
        New BitKeeper file ``ndb/include/kernel/signaldata/ApiBroadcast.hpp''
      337fa5e1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 3d1c8ed0
      unknown authored
      into mysql.com:/usersnfs/pchardin/mysql-5.0
      
      3d1c8ed0
    • unknown's avatar
      Fix for Bug#11247 Stored procedures: Function calls in long loops leak memory · 026c1f55
      unknown authored
          and Bug#12297 SP crashes the server if data inserted inside a lon loop
      Third commit attempt. With fixes to the issues, showed up after full rebuild and
      tests on other hosts.
      
      
      mysql-test/r/rpl_sp.result:
        New warnings appeared in result file, as now we always create spcont in a stored routine.
        This is correct behaviour. We swallowed some warnings, as we used thd->spcont to check whether
        we are in the SP though we didn't set spcont in certain cases. This is fixed now.
      mysql-test/r/sp.result:
        fixed result file to reflect new tests
      mysql-test/t/sp.test:
        Added tests for bugs. Though one of them is disabled, as it fails because of the other bug.
        It should be enabled, when bug 12297 is fixed.
      sql/sp_head.cc:
        Per-instruction arena is implemented
      sql/sp_rcontext.cc:
         Now we should deal with callers_arena->free_list when we employ reuse mechanism with callers_arena
         switched during sp_eval_func_item
      sql/sp_rcontext.h:
        Add new member to sp_rcontext class, in order to handle instructions with assignment
        and/or with nested SP processing properly.
      026c1f55
    • unknown's avatar
      WL#2486 - natural and using join according to SQL:2003 · ba021e5f
      unknown authored
      - Fixed minor error after Monty's review.
      
      
      sql/table.cc:
        cur_table_ref is used in the first pass of the loop *before* it is set later in the loop.
      ba021e5f
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9de2b263
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/main
      
      9de2b263
    • unknown's avatar
      Fix merge of BUG#11538 fix. · da65278d
      unknown authored
      
      config/ac-macros/ha_ndbcluster.m4:
        Merge fix for BUG#11538 fix.
      da65278d
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 57966d81
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/sql_view.cc:
        Auto merged
      57966d81
    • unknown's avatar
      view.test: · 9f3d970d
      unknown authored
        Added a test case for bug #10970.
      view.result:
        Added a test case for bug #10970.
        Modified the error messages for error ER_VIEW_SELECT_TMPTABLE.
      sql_view.cc:
        Fixed bug #10970.
        In the function mysql_create_view if a view does not refer
        any tables directly the variable table must be updated
        after the call of open_and_lock_tables.
      errmsg.txt:
        Modified the error messages for error ER_VIEW_SELECT_TMPTABLE
        (when fixing bug #10970).
      
      
      sql/share/errmsg.txt:
        Modified the error messages for error ER_VIEW_SELECT_TMPTABLE
        (when fixing bug #10970).
      sql/sql_view.cc:
        Fixed bug #10970.
        In the function mysql_create_view if a view does not refer
        any tables directly the variable table must be updated
        after the call of open_and_lock_tables.
      mysql-test/r/view.result:
        Fixed bug #10970.
        Modified the error messages for error ER_VIEW_SELECT_TMPTABLE.
      mysql-test/t/view.test:
        Added a test case for bug #10970.
      9f3d970d
    • unknown's avatar
      Allow consistent cursor view see changes made by creating transaction. · e9129e02
      unknown authored
      This is quick fix and needs to be fixed when semi-consistent 
      high-granularity read view is implemented (Bug #12456).
      
      e9129e02
    • unknown's avatar
      Fix minor typo in handling of error conditions and return of SLEEP(). · 0523a376
      unknown authored
      
      sql/item_func.cc:
        Remove unnecessary initialization, fix parens placement
      0523a376
    • unknown's avatar
      Revert patch for Bug #12595, it causes the sql_mode test to fail. · 729854d9
      unknown authored
      
      mysql-test/r/select.result:
        Update results
      mysql-test/t/select.test:
        Remove regression test
      sql/item_cmpfunc.cc:
        Revert patch for checking length of ESCAPE, it is not correct.
      729854d9
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-12582 · 5b9d3d90
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      5b9d3d90
    • unknown's avatar
      Fix bad merge of sql/item_strfunc.cc by aivanov · 99a6ba99
      unknown authored
      
      sql/item_strfunc.cc:
        Fix bad merge
      99a6ba99
    • unknown's avatar
      Fix up definition of new set_timespec_nsec() macro. (Related to bug #12582) · 06f82aea
      unknown authored
      
      include/my_global.h:
        Add distinct set_timespec_nsec() macro for when HAVE_TIMESPEC_TS_SEC
        is defined.
      06f82aea
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · d8f09108
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      d8f09108
    • unknown's avatar
      Cleanups and optimization during review of new code · 514ee67a
      unknown authored
      
      mysql-test/t/kill.test:
        Moved --disable_reconnect earlier to avoid race condition
      sql/sql_help.cc:
        Cleanup during review of new code
        (Moved variable definitions first in function
      sql/sql_insert.cc:
        Cleanup during review of new code
      sql/sql_lex.cc:
        Cleanup during review of new code
      sql/sql_parse.cc:
        Cleanup during review of new code
        Changed potential problem with previous_table_ref where it dependent that TABLE_LIST first element would be next_local
        Rearanged code in add_table_to_list() to remove extra if
        Combined 2 calls to calloc() to one
      sql/sql_view.cc:
        Remove extra indentation level
        Combined common 'on error' exit
      sql/sql_yacc.yy:
        Fixed comment style
      sql/table.cc:
        Cleanup during review of new code
        - Changed while() loops to for() loop (to make code more readable)
        - Removed not needed initialization of variables
        - Removed not needed 'else' cases
        - Removed trivial ASSERT's that was checked by previous code
        - Moved comment setting last in Natural_join_column::check_grants()
      514ee67a
  3. 17 Aug, 2005 3 commits
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0e59e9d7
      unknown authored
      into  mysql.com:/home/alexi/mysql-5.0
      
      0e59e9d7
    • unknown's avatar
      fix for bug #12591 (SHOW TABLES FROM dbname produces wrong error message) · 540ef300
      unknown authored
      
      mysql-test/r/show_check.result:
        results for test for bug #12591
      mysql-test/t/show_check.test:
        test for bug #12591
      sql/sql_show.cc:
        don't let my_dir() emit a message bug catch the errno (my_errno - a thread specific variable) and check it for ENOENT - not existing.
        For other errors emulate the message used to be emitted by my_dir()
      540ef300
    • unknown's avatar
      univ.i: · 99bea6a7
      unknown authored
        Do not use __builtin_expect etc. with the Intel ICC compiler, as the compiler crashed in btr0cur.c; the patch was submitted by Axel Schwenke (Bug #11510)
      
      
      innobase/include/univ.i:
        Do not use __builtin_expect etc. with the Intel ICC compiler, as the compiler crashed in btr0cur.c; the patch was submitted by Axel Schwenke (Bug #11510)
      99bea6a7