1. 15 Feb, 2006 1 commit
    • unknown's avatar
      Fixed BUG#16887: Cursor causes server segfault · 062de999
      unknown authored
        The problem was a code generation bug: cpop instructions were not generated
        when using ITERATE back to an outer block from a context with a declared
        cursor; this would make it push a new cursor without popping in-between,
        eventually overrunning the cursor stack with a crash as the result.
        Fixed the calculation of how many cursors to pop (in sp_pcontext.cc:
        diff_cursors()), and also corrected diff_cursors() and diff_handlers()
        to when doing a "leave"; don't include the last context we're leaving
        (we are then jumping to the appropriate pop instructions).
      
      
      mysql-test/r/sp.result:
        Updated result for new test case (BUG#16887)
      mysql-test/t/sp.test:
        New test case for BUG#16887
      sql/sp_pcontext.cc:
        Added new parameter to sp_pcontext::diff_handlers() and diff_cursors():
        They can either include (for iterate jumps) or exclude (for leave jumps)
        the outer context.
        Fixed bug in diff_cursors(); it was just plain wrong and would return
        zero in some situations when it shouldn't.
      sql/sp_pcontext.h:
        Added new parameter to sp_pcontext::diff_handlers() and diff_cursors():
        They can either include (for iterate jumps) or exclude (for leave jumps)
        the outer context.
      sql/sql_yacc.yy:
        Added parameter to diff_handlers/diff_cursors depending on if it's an
        iterate or leave jump.
        For "leave", we don't have to include the last context we're leaving since
        we will jump to the appropriate pop instructions.
      062de999
  2. 13 Feb, 2006 5 commits
  3. 12 Feb, 2006 4 commits
    • unknown's avatar
      Merge · 50402678
      unknown authored
      
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/spatial.cc:
        Auto merged
      50402678
    • unknown's avatar
      spatial.cc: · 7891eb76
      unknown authored
        Added { ... } around float8get() macro, avoids VC7 error
        message "illegal else without matching if"
      mtr_report.pl:
        Parse error logs to create "warnings" file
      mtr_cases.pl:
        Added optoion --ignore-disabled-def
        Windows build now let TZ pass, removed
        work around
      mysql-test-run.pl, mtr_process.pl:
        Back port of changes from 5.0
      
      
      mysql-test/lib/mtr_process.pl:
        Back port of changes from 5.0
      mysql-test/mysql-test-run.pl:
        Back port of changes from 5.0
      mysql-test/lib/mtr_cases.pl:
        Added optoion --ignore-disabled-def
        Windows build now let TZ pass, removed
        work around
      mysql-test/lib/mtr_report.pl:
        Parse error logs to create "warnings" file
      sql/spatial.cc:
        Added { ... } around float8get() macro, avoids VC7 error
        message "illegal else without matching if"
      7891eb76
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · ce064194
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      ce064194
    • unknown's avatar
      make_binary_distribution.sh: · 523bc629
      unknown authored
        print => echo in shell script
      
      
      scripts/make_binary_distribution.sh:
        print => echo in shell script
      523bc629
  4. 11 Feb, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-4.1-fixrace · 1a84e1f6
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.0
      
      
      mysql-test/lib/mtr_process.pl:
        Auto merged
      1a84e1f6
    • unknown's avatar
      Merge · 0682aca3
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      0682aca3
    • unknown's avatar
      mysql-test-run.{pl,sh}: · c61c8077
      unknown authored
        Give space for second and third slave port
      
      
      mysql-test/mysql-test-run.pl:
        Give space for second and third slave port
        Define shell variables for all ports, and
        list these at startup
      mysql-test/mysql-test-run.sh:
        Give space for second and third slave port
      c61c8077
    • unknown's avatar
      Fix a race on some platforms in mysql-test-run.pl, where it would sometimes · 544b33c8
      unknown authored
      errorneously abort reporting failure to kill child processes, where in
      reality the problem was merely that the child had become a zombie because
      of missing waitpid() call.
      
      
      mysql-test/lib/mtr_process.pl:
        Fix race (on some platforms) when killing processes.
      544b33c8
  5. 10 Feb, 2006 23 commits
    • unknown's avatar
      mysql-test-run.pl: · 7596280f
      unknown authored
        Display instance manager port
      mysql-test-run.sh:
        Give port space for more than one slave
      
      
      mysql-test/mysql-test-run.sh:
        Give port space for more than one slave
      mysql-test/mysql-test-run.pl:
        Display instance manager port
      7596280f
    • unknown's avatar
      Merge · c0098d40
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Rearranged the port numbers to fit into the range
      c0098d40
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 37b7547c
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      37b7547c
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 83ef7583
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      83ef7583
    • unknown's avatar
      manual merge · c4f6b802
      unknown authored
      c4f6b802
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f0b4ef96
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      f0b4ef96
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · a30863e6
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      sql/ha_ndbcluster.h:
        Auto merged
      mysql-test/r/ndb_basic.result:
        manual merge
      mysql-test/t/ndb_basic.test:
        manual merge
      sql/ha_ndbcluster.cc:
        manual merge
      a30863e6
    • unknown's avatar
      Bug #17249 ndb, delete statement with join where clause fails when table do not have pk · 6feda7fa
      unknown authored
      Bug #17257 ndb, update fails for inner joins if tables do not have Primary Key
      
      change: the allocated area by setValue may not be around for later, store hidden key in special member variable instead
      
      
      mysql-test/r/ndb_basic.result:
        Bug #17249 delete statement with join where clause fails when table do not have pk
        Bug #17257 update fails for inner joins if tables do not have Primary Key
      mysql-test/t/ndb_basic.test:
        Bug #17249 delete statement with join where clause fails when table do not have pk
        Bug #17257 update fails for inner joins if tables do not have Primary Key
      sql/ha_ndbcluster.cc:
        Bug #17249 delete statement with join where clause fails when table do not have pk
        Bug #17257 update fails for inner joins if tables do not have Primary Key
        
        change: the allocated area by setValue may not be around for later, store hidden key in special member variable instead
      sql/ha_ndbcluster.h:
        Bug #17249 delete statement with join where clause fails when table do not have pk
        Bug #17257 update fails for inner joins if tables do not have Primary Key
        
        change: the allocated area by setValue may not be around for later, store hidden key in special member variable instead
      6feda7fa
    • unknown's avatar
      fix test of bug 12744 on OSX · 2975141f
      unknown authored
      2975141f
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7f7cb76d
      unknown authored
      into  mysql.com:/home/cps/mysql/devel/5.0-mike
      
      7f7cb76d
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6419446b
      unknown authored
      into  mysql.com:/home/cps/mysql/devel/5.0-mike
      
      6419446b
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · fbbd981b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      fbbd981b
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 9c449d84
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      9c449d84
    • unknown's avatar
      merge · 93112293
      unknown authored
      93112293
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · f83928ac
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      f83928ac
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · f4708228
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      f4708228
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · be83af79
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      be83af79
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 0206dd7e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      0206dd7e
    • unknown's avatar
      bug#10987 - ndb - unable to find restorable replica · b8d47d78
      unknown authored
        Introduce new variable c_newest_restorable_gci
          which is set _after_ both GCP_SAVE and COPY_GCI
          
        This variable is used when cutting redo (calcKeepGci)
        
        Also make sure complete GCI is run inbetween LCP's
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Introduce new variable c_newest_restorable_gci
          which is set _after_ both GCP_SAVE and COPY_GCI
        
        This variable is used when cutting redo (calcKeepGci)
        Also make sure complete GCI is run inbetween LCP's
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Introduce new variable c_newest_restorable_gci
          which is set _after_ both GCP_SAVE and COPY_GCI
        
        This variable is used when cutting redo (calcKeepGci)
        Also make sure complete GCI is run inbetween LCP's
      b8d47d78
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · c2b4e1d3
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      c2b4e1d3
    • unknown's avatar
      bug#17295 - ndb - error while reading REDO log · 7894098e
      unknown authored
        fix corruption due to page 0, file 0 gets released
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Make sure that page 0, file 0 isnt released
      7894098e
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7617983c
      unknown authored
      into  mysql.com:/home/cps/mysql/devel/5.0-mike
      
      7617983c
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · f253c01c
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b16511
      
      f253c01c
  6. 09 Feb, 2006 3 commits
    • unknown's avatar
      a bunch of IM fixes from the GUI team · e316c433
      unknown authored
      
      mysql-test/r/im_life_cycle.result:
        correct result
      mysql-test/t/im_life_cycle.imtest:
        check that wrong command is processed correctly
      server-tools/instance-manager/Makefile.am:
        always look for passwords in /etc/ on unixes
      server-tools/instance-manager/commands.cc:
        fix warning
      server-tools/instance-manager/instance.cc:
        fix monitoring capabilities, when no port was specified
        for an instance
      server-tools/instance-manager/instance_map.cc:
        allow relative paths in --defaults-file option
      server-tools/instance-manager/mysqlmanager.cc:
        fix windows warning
      server-tools/instance-manager/options.cc:
        add vars to allow relative paths in --defaults-file option
      server-tools/instance-manager/options.h:
        add an option
      server-tools/instance-manager/parse.cc:
        check for get_text_id return value
      server-tools/instance-manager/portability.h:
        add _snprintf define, move platfrom-independent
        ifdefs to priv.h
      server-tools/instance-manager/priv.cc:
        increase net timeout. it should be equal to mysqld's
      server-tools/instance-manager/priv.h:
        move platform-independent ifdefs here
      e316c433
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/4.1.heap · efc7ab51
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      mysql-test/t/heap.test:
        Auto merged
      mysql-test/r/heap.result:
        merge
      efc7ab51
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 57621cae
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      57621cae