1. 22 Apr, 2005 6 commits
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · f2668a6b
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      f2668a6b
    • unknown's avatar
      bug#9724 - ndb restart · cfa72b01
      unknown authored
        if file already open occur print files...
      
      cfa72b01
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 255df514
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      ndb/test/src/NdbBackup.cpp:
        Auto merged
      255df514
    • unknown's avatar
      bug#9969 - ndb · 54b3ebf3
      unknown authored
        missleading error message
      
      
      ndb/test/src/NdbBackup.cpp:
        typo
      54b3ebf3
    • unknown's avatar
      merge · 43357d1e
      unknown authored
      
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      ndb/test/ndbapi/testBackup.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/test/src/NdbBackup.cpp:
        Auto merged
      43357d1e
    • unknown's avatar
      bug#9924 - ndb backup abort handling · d0ac62aa
      unknown authored
        Redo abort handling according to descr. in Backup.txt
      bug#9960 - ndb backup
            increase wait completed timeout to 48 hours
      
      
      ndb/include/kernel/signaldata/BackupImpl.hpp:
        Add nodeid to reply to be able to fake reply during NF
      ndb/include/kernel/signaldata/BackupSignalData.hpp:
        new error codes
      ndb/src/common/debugger/signaldata/BackupImpl.cpp:
        fix printout
      ndb/src/kernel/blocks/backup/Backup.cpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/Backup.hpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/Backup.txt:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Init own version
      ndb/src/mgmapi/mgmapi.cpp:
        bug#9960 - ndb backup
          increase wait completed timeout to 48 hours
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/ndbapi/ndberror.c:
        new error codes
      ndb/test/ndbapi/testBackup.cpp:
        fix return codes
      ndb/test/run-test/daily-basic-tests.txt:
        Add failure test cases to autotest
      ndb/test/src/NdbBackup.cpp:
        fix error codes
        introduce checking of backup resources after each test
      d0ac62aa
  2. 18 Apr, 2005 3 commits
    • unknown's avatar
      bug#9892 - ndb index activation · 4823a938
      unknown authored
        4.1->5.0 merge fix
      
      4823a938
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · f68fa53b
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/ndbapi/Ndbif.cpp:
        Auto merged
      ndb/test/ndbapi/testIndex.cpp:
        Auto merged
      f68fa53b
    • unknown's avatar
      bug#9892 · 30bd6f51
      unknown authored
        Make BUILDINDX RF_LOCAL aware
      
      
      ndb/src/ndbapi/Ndbif.cpp:
        allow TCKEY_FAILREF w/ invalid magic number also when NDB_NODROPPED_SIGNAL
      ndb/test/ndbapi/testIndex.cpp:
        Run only 1 update thread during NFNR2_O
      30bd6f51
  3. 14 Apr, 2005 6 commits
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · e2582192
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      e2582192
    • unknown's avatar
      BUG#9891 - ndb lcp · afd39f62
      unknown authored
      Crash if ACC_CONTOPREQ was sent while ACC_LCPCONF was in job buffer
        if ACC_LCPCONF would have arrived eariler (before TUP_LCPSTARTED)
        operations could lockup. 
        But would be restarted on next LCP
      
      -- LQH
      1) Better check for LCP started that will also return true
         if ACC or TUP already has completed
          
      2) Remove incorrect if statement that prevented operations to
         be started if ACC has completed
      
      -- ACC
      Make sure all ACC_CONTOPCONF are sent before releasing lcp record
        i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF)
      
      Check for == 4 also when sending ACC_CONTOPCONF
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Make sure all ACC_CONTOPCONF are sent before releasing lcp record
          i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF)
        
        Check for == 4 also when sending ACC_CONTOPCONF
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Remove LCP_STARTED state
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) Better check for LCP started that will also return true
           if ACC or TUP already has completed
        
        2) Remove incorrect if statement that prevented operations to
           be started if ACC has completed
      afd39f62
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · a0ace4ea
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      a0ace4ea
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-5.0 · ef78d3ce
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      innobase/fil/fil0fil.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/t/ctype_ucs_binlog.test:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      ef78d3ce
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · f7ec9797
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      f7ec9797
    • unknown's avatar
      information_schema.result, information_schema.test: · 99584b9d
      unknown authored
        Added a test in connection with the fix for
        bug #6106.
      view.result, view.test:
        Added test cases for bugs #6106/6107.
      sql_show.cc:
        The addition of the case for items of the type REF_ITEM in the
        function uses_only_table_name_fields became necessary after
        the fix for bug #6106.
      sql_base.cc:
        The problem was due to the fact that two different column
        references were glued together though one of them belonged to
        a subquery while another to an outer query. This caused
        eventually a wrong calculation of values for the used_tables
        attribute.
      
      
      sql/sql_base.cc:
        The problem was due to the fact that two different column
        references were glued together though one of them belonged to
        a subquery while another to an outer query. This caused
        eventually a wrong calculation of values for the used_tables
        attribute.
      sql/sql_show.cc:
        The addition of the case for items of the type REF_ITEM in the
        function uses_only_table_name_fields became necessary after
        the fix for bug #6106.
      mysql-test/t/view.test:
        Added test cases for bugs #6106/6107.
      mysql-test/r/view.result:
        Added test cases for bugs #6106/6107.
      mysql-test/t/information_schema.test:
        Added a test in connection with the fix for
        bug #6106.
      mysql-test/r/information_schema.result:
        Added a test in connection with the fix for
        bug #6106.
      99584b9d
  4. 13 Apr, 2005 25 commits
    • unknown's avatar
      Merge mysql.com:/home/cps/mysql/trees/mysql-4.1 · d79f4051
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      mysys/default.c:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      d79f4051
    • unknown's avatar
      post review fix · af22097f
      unknown authored
      
      mysys/default.c:
        cleanup + check for the last line in the file in "!include" directive processing
      af22097f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 9f5ebec5
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      9f5ebec5
    • unknown's avatar
      Allow SQLCOM_CALL in prepared mode. · 67d8d63d
      unknown authored
      
      mysql-test/r/ps.result:
        Test results: adding tests for CALL statement in prepared mode.
      mysql-test/t/ps.test:
        Adding tests for CALL statement in prepared mode.
      67d8d63d
    • unknown's avatar
      Merge · a99d9aef
      unknown authored
      
      innobase/fil/fil0fil.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/t/ctype_ucs_binlog.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      scripts/make_binary_distribution.sh:
        SCCS merged
      a99d9aef
    • unknown's avatar
      Merge from 4.1 · e251a1d8
      unknown authored
      
      innobase/fil/fil0fil.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/t/ctype_ucs_binlog.test:
        Auto merged
      e251a1d8
    • unknown's avatar
      ha_innodb.cc: · 20457882
      unknown authored
        Fix part of bug #9670: if MySQL calls ::store_lock with TL_IGNORE, do not change prebuilt->select_lock_type; this fix may heal the assertion failures reported in UPDATE and multi-table UPDATE; it is not clear if this fixes the problems in OPTIMIZE TABLE
      
      
      sql/ha_innodb.cc:
        Fix part of bug #9670: if MySQL calls ::store_lock with TL_IGNORE, do not change prebuilt->select_lock_type; this fix may heal the assertion failures reported in UPDATE and multi-table UPDATE; it is not clear if this fixes the problems in OPTIMIZE TABLE
      20457882
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6f0f7231
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      6f0f7231
    • unknown's avatar
      Fix ctype_ucs_binlog test when ucs2 not available · f4d1c474
      unknown authored
      
      mysql-test/t/ctype_ucs_binlog.test:
        Require ucs support
      f4d1c474
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 98440227
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      98440227
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · db00ad74
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      db00ad74
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · a335580f
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      a335580f
    • unknown's avatar
      Fixed BUG#9674: Stored Procs: Using declared vars in algebric operation · bc63127d
      unknown authored
                      causes system crash.
      
      
      mysql-test/r/sp.result:
        Added test case for BUG#9674.
      mysql-test/t/sp.test:
        Added test case for BUG#9674.
      sql/item.cc:
        Returning a pointer to a local variable is not a good idea.
        Better to use parameter which is there for exactly this purpose.
      bc63127d
    • unknown's avatar
      Merge · 59d31e7f
      unknown authored
      
      ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      59d31e7f
    • unknown's avatar
      Fixed BUG#9856: Stored procedures: crash if handler for sqlexception, not found. · d6f420e9
      unknown authored
      
      mysql-test/r/sp.result:
        Added test case for BUG#6129.
      mysql-test/t/sp.test:
        Added test case for BUG#6129.
      sql/sp_pcontext.h:
        Only need one handler counter.
      sql/sql_yacc.yy:
        Count handlers correctly.
      d6f420e9
    • unknown's avatar
      Merge · da6b8a01
      unknown authored
      
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/dict/dict0load.c:
        Auto merged
      innobase/include/dict0dict.h:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_dynrec.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      mysql-test/r/kill.result:
        Auto merged
      mysql-test/t/kill.test:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      da6b8a01
    • unknown's avatar
      fil0fil.c: · 921eb204
      unknown authored
        At the shutdown, write the latest lsn only to the first pages of the ibdata files of the system tablespace, NOT to the .ibd files; writing to tens of thousands .ibd files can take minutes
      
      
      innobase/fil/fil0fil.c:
        At the shutdown, write the latest lsn only to the first pages of the ibdata files of the system tablespace, NOT to the .ibd files; writing to tens of thousands .ibd files can take minutes
      921eb204
    • unknown's avatar
      Added test case for BUG#6129: Stored procedure won't display @@sql_mode value. · b0242911
      unknown authored
      
      mysql-test/r/sp.result:
        Added testcase for BUG#6129: Check that sql_mode is really set in mysql.proc.
      mysql-test/t/sp.test:
        Added testcase for BUG#6129: Check that sql_mode is really set in mysql.proc.
      b0242911
    • unknown's avatar
      row0sel.c: · 7294af60
      unknown authored
        Fix the patch of Jan to optimize next-key locking in searches of type 'primary key >= some value'
      
      
      innobase/row/row0sel.c:
        Fix the patch of Jan to optimize next-key locking in searches of type 'primary key >= some value'
      7294af60
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1 · 49d388b6
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      49d388b6
    • unknown's avatar
      row0sel.c: · 1f3bfc88
      unknown authored
        Do not test the value of err if the lock operation was skipped because innodb_logs_unsafe_for_binlog was TRUE; though this did not cause any bugs visible to the user, because err is inited to DB_SUCCESS at the start of the function row_search_for_mysql()
      
      
      innobase/row/row0sel.c:
        Do not test the value of err if the lock operation was skipped because innodb_logs_unsafe_for_binlog was TRUE; though this did not cause any bugs visible to the user, because err is inited to DB_SUCCESS at the start of the function row_search_for_mysql()
      1f3bfc88
    • unknown's avatar
      Merge · 1eab61f2
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      1eab61f2
    • unknown's avatar
      Fixed failed merge · 599aebd9
      unknown authored
      599aebd9
    • unknown's avatar
      Merge · 37172400
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      37172400
    • unknown's avatar