1. 23 Aug, 2005 1 commit
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 6658fb34
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg11896
      
      
      mysql-test/t/sp-error.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      mysql-test/r/trigger.result:
        Manual merge.
      sql/share/errmsg.txt:
        Manual merge.
      6658fb34
  2. 22 Aug, 2005 13 commits
  3. 21 Aug, 2005 5 commits
    • unknown's avatar
      Cleanup during review of new pushed code · 72340a48
      unknown authored
      
      include/my_global.h:
        Safer macros to avoid possible overflows
      sql/item_cmpfunc.cc:
        Simple optimization
      sql/sp_head.cc:
        Indentation fixes
        Remove not needed "else" levels
        Added error checking for 'new'
        Simpler reseting of thd->spcont in execute_procedure
      sql/sql_base.cc:
        Faster new
      sql/sql_lex.cc:
        Use 'TRUE' instead of 'true'
      sql/sql_parse.cc:
        Faster new
      sql/sql_view.cc:
        No need to set 'tables' as it's not used
      sql/table.cc:
        Simpler DBUG_ASSERT()
      72340a48
    • unknown's avatar
      Merge eel.(none):/home/jonas/src/mysql-4.1-push · ad56f835
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-5.0-push
      
      
      BitKeeper/etc/config:
        Auto merged
      mysql-test/t/ndb_alter_table.test:
        Auto merged
      mysql-test/t/ndb_config.test:
        Auto merged
      ndb/src/common/util/version.c:
        Auto merged
      ndb/src/kernel/Makefile.am:
        Auto merged
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      ndb/tools/Makefile.am:
        Auto merged
      ndb/tools/ndb_config.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      ad56f835
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · f38b651f
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-5.0-push
      
      
      f38b651f
    • unknown's avatar
      Merge mishka.local:/tmp/skr99/mysql-5.0 · a1820ab1
      unknown authored
      into  mishka.local:/home/my/mysql-5.0
      
      
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      a1820ab1
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.0 · a34ca4bf
      unknown authored
      into  c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.0
      
      
      a34ca4bf
  4. 20 Aug, 2005 6 commits
    • unknown's avatar
      Merge c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-4.1 · b221b549
      unknown authored
      into  c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.0
      
      
      heap/hp_delete.c:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/distinct.result:
        Manual merge
      mysql-test/t/distinct.test:
        Manual merge
      b221b549
    • unknown's avatar
      Bug #12460 Table Full · ad8c5c9d
      unknown authored
      On 64 bit platforms the changed statement doesn't work
      so making sure that the larger value is first and using
      subtraction is a quick and backwards-compatible fix of this
      line.
      
      
      ad8c5c9d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 41dad02d
      unknown authored
      into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/sql_yacc.yy:
        Auto merged
      41dad02d
    • unknown's avatar
      Fixes during review of new pushed code · 3eda70b2
      unknown authored
      Fixed new bug when running a SP without a default database
      
      
      mysql-test/r/information_schema.result:
        Added test to cover changes made in default handling
      mysql-test/r/sp-security.result:
        Added test when executing SP without a default database
      mysql-test/t/information_schema.test:
        Added test to cover changes made in default handling
      mysql-test/t/sp-security.test:
        Added test when executing SP without a default database
      sql/item_strfunc.cc:
        Removed wrong push
      sql/mysqld.cc:
        Indentation fix
      sql/sql_base.cc:
        Use share->db instead of share->table_cache_key
        Remove assert that can never fail (because of test in previous row)
      sql/sql_db.cc:
        Allow empty database name when called from SP
        (To allow on run without a default database)
      sql/sql_parse.cc:
        Added comment
      sql/sql_show.cc:
        Indentation fixes
        Simplified code by checking for 'wrong' condition first and doing continue instead of going down one level
        Simplified precision and decimal handling
      3eda70b2
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · fbaf5b04
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/bug10950
      
      
      fbaf5b04
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 4c17cdc1
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      4c17cdc1
  5. 19 Aug, 2005 15 commits
    • unknown's avatar
      Add test that got dropped in automerge · 77069fc5
      unknown authored
      
      mysql-test/r/ctype_cp932.result:
        Fix wrong auto-merge
      mysql-test/t/ctype_cp932.test:
        Fix wrong automerge.
      77069fc5
    • unknown's avatar
      Fix cases where SLEEP() calls would get optimized away or cached. (Bug #12689) · 05001e75
      unknown authored
      
      mysql-test/r/func_misc.result:
        Add new results
      mysql-test/t/func_misc.test:
        Add new regression test.
      sql/item_create.cc:
        When SLEEP() is used, mark the statement as uncacheable.
      sql/item_func.h:
        Flag SLEEP() as not constant, and set RAND_TABLE_BIT so that it is
        always evaluated.
      05001e75
    • unknown's avatar
      Fix wrong auto-merge. · 89165fbc
      unknown authored
      
      strings/ctype-cp932.c:
        Fixes from merge
      strings/ctype-eucjpms.c:
        Fixes from wrong auto-merge
      89165fbc
    • unknown's avatar
      Merge mysql.com:/home/emurphy/src/bk-clean/mysql-4.1 · 585b67ae
      unknown authored
      into  mysql.com:/home/emurphy/src/work/mysql-5.0
      
      
      sql/mysqld.cc:
        Auto merged
      585b67ae
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · a8031724
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      a8031724
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-4.1 · 30e9a3ec
      unknown authored
      into  radha.local:/Users/patg/mysql-build/mysql-4.1.clean
      
      
      sql/mysqld.cc:
        Auto merged
      30e9a3ec
    • unknown's avatar
      Merge mysql.com:/home/emurphy/src/bk-clean/mysql-4.1 · e9c420cc
      unknown authored
      into  mysql.com:/home/emurphy/src/work/mysql-5.0
      
      
      BitKeeper/deleted/.del-ctype-cp932.c:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.result:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.test:
        Auto merged
      include/m_ctype.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysys/charset.c:
        Auto merged
      netware/BUILD/nwbootstrap:
        Auto merged
      sql/item.h:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-bin.c:
        Auto merged
      strings/ctype-czech.c:
        Auto merged
      strings/ctype-euc_kr.c:
        Auto merged
      strings/ctype-extra.c:
        Auto merged
      strings/ctype-gb2312.c:
        Auto merged
      strings/ctype-gbk.c:
        Auto merged
      strings/ctype-latin1.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-tis620.c:
        Auto merged
      strings/ctype-uca.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      strings/ctype-ujis.c:
        Auto merged
      strings/ctype-utf8.c:
        Auto merged
      strings/ctype-win1250ch.c:
        Auto merged
      configure.in:
        Manual merge from 4.1
      include/config-netware.h:
        Manual merge from 4.1
      sql/item.cc:
        Manual merge from 4.1
      sql/mysqld.cc:
        Manual merge from 4.1
      e9c420cc
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 5ff24316
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      5ff24316
    • unknown's avatar
      Bug#11338 Fixes from review (identical functionality). · 1b970e94
      unknown authored
      
      include/my_sys.h:
        Fixes from review (use version in log_event.cc instead)
      mysql-test/r/ctype_cp932.result:
        Updated test for bug#11338 (logging of prepared statement w/ blob type)
      mysql-test/t/ctype_cp932.test:
        udpated test for bug#11338 (logging of prepared statement w/ blob type)
      mysys/charset.c:
        Fixes from review (use version in log_event.cc instead)
      sql/item.cc:
        Fixes from review (store character_set_client differently so that
        fix can be merged forward to 5.0)
      sql/item.h:
        Fixes from review
      sql/log_event.cc:
        Fixes from review, str_to_hex is now used by item.cc
      sql/log_event.h:
        Added prototype for str_to_hex (now used by item.cc)
      sql/sql_prepare.cc:
        Fixes from review, store character_set_client differently so that 
        Item_param::query_val_str can use it.
      1b970e94
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-11711 · 0f556e8f
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/sql_show.cc:
        Auto merged
      sql/table.h:
        Auto merged
      mysql-test/r/information_schema.result:
        Resolve conflicts
      0f556e8f
    • unknown's avatar
      the syntax is XA END xid [SUSPEND [FOR MIGRATE]] · 9ed50e96
      unknown authored
      9ed50e96
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 141a36c3
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      141a36c3
    • unknown's avatar
      Fix for BUG#10957 "stop instance, issued after flush instances causes IM to crash" · 933db613
      unknown authored
      Recommited with post-review fixes
      
      
      server-tools/instance-manager/instance.cc:
        fix behaviour of monitoring routines: they should not  rely on the fact that instance object
        which was used when the instances started exists at stop(). Instead routines should save the
        name of the instance and look for it in the instance_map when needed.
      server-tools/instance-manager/instance.h:
        new functions declared. functions, which were converted to static removed from the class.
      server-tools/instance-manager/instance_options.cc:
        fix valgrind warning
      933db613
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · e39656fb
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-2486
      
      
      e39656fb
    • unknown's avatar
      A fix and a test case for "Bug #12168 'DECLARE CONTINUE HANDLER FOR · 276bd123
      unknown authored
      NOT FOUND ...' in conditional handled incorrectly".
      
      Whenever we remove an instruction during optimization, we need to
      adjust instruction numbers (ip - instruction pointer) stored in all
      instructions. In addition to that, sp_instr_hpush_jump, which 
      corresponds to DECLARE CONTINUE HANDLER needs adjustment for m_handler,
      which holds the number of instruction with the continue handler.
      In the bug report, a wrong ip stored in m_handler was pointing at 
      FETCH, which resulted in an error message and abnormal SP termination.
      The fix is to just remove m_handler member from sp_instr_hpush_jump,
      as it's always points to the instruction next to the DECLARE
      statement itself (m_ip+1).
      
      
      mysql-test/r/sp.result:
        Test results fixed (Bug#12168)
      mysql-test/t/sp.test:
        A test case for Bug#12168 "'DECLARE CONTINUE HANDLER FOR NOT
        FOUND ...' in conditional handled incorrectly"
      sql/sp_head.cc:
        Remove m_handler (the number of continue handler instruction)
        as it always equal to m_ip+1
      sql/sp_head.h:
        Remove m_handler (the number of continue handler instruction)
        as it always equal to m_ip+1
      276bd123