1. 21 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21710 · faa71d3a
      unknown authored
        fix bug in drop_file during pageout (LCP)
      
      
      storage/ndb/src/kernel/blocks/pgman.cpp:
        1) Allow Page_entry::REQUEST, when dropping page (in drop_file path)
        2) Do all IO JBA
        3) Handle PAGEOUT during drop_file (caused by LCP)
      faa71d3a
  2. 17 Aug, 2006 1 commit
    • unknown's avatar
      ndb - pb random failures · 9f73d9d7
      unknown authored
        Fix bug in lcp during drop table
        Make sure that file thread is not started until meta data has completed
      
      
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Fix bug in lcp during drop table
        Make sure that file thread is not started until meta data has completed
      storage/ndb/src/kernel/blocks/backup/Backup.hpp:
        Fix bug in lcp during drop table
        Make sure that file thread is not started until meta data has completed
      storage/ndb/src/kernel/blocks/backup/FsBuffer.hpp:
        Fix bug in lcp during drop table
        Make sure that file thread is not started until meta data has completed
      9f73d9d7
  3. 16 Aug, 2006 1 commit
    • unknown's avatar
      ndb - · dbec4026
      unknown authored
        Increase deadlock-timeout to cater for slow test-machines (possibly running several tests in parallell)
        This will hopefully remove some volatile testfailures in pushbuild
          (i've seen a couple by looking at logs)
      
      
      mysql-test/ndb/ndb_config_1_node.ini:
        Increase deadlock-timeout to cater for slow test-machines (possibly running several tests in parallell)
      mysql-test/ndb/ndb_config_2_node.ini:
        Increase deadlock-timeout to cater for slow test-machines (possibly running several tests in parallell)
      mysql-test/ndb/ndb_config_4_node.ini:
        Increase deadlock-timeout to cater for slow test-machines (possibly running several tests in parallell)
      dbec4026
  4. 15 Aug, 2006 2 commits
    • unknown's avatar
      ndb - · 88166fe3
      unknown authored
        Fix ndb_condition_pushdown (5.0->5.1 merge error)
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Fix ndb_condition_pushdown
      88166fe3
    • unknown's avatar
      ndb - bug#21172 · 6beb5cfa
      unknown authored
        Fix build failure if O_DIRECT is not defined
        Fix stack overflow by making odirect_readbuf global
        Remove soem old debug variables
      
      
      storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Fix build failure if O_DIRECT is not defined
        Fix stack overflow by making odirect_readbuf global
        Remove soem old debug variables
      storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
        Fix build failure if O_DIRECT is not defined
        Fix stack overflow by making odirect_readbuf global
        Remove soem old debug variables
      6beb5cfa
  5. 14 Aug, 2006 6 commits
    • unknown's avatar
      ndb - bug#21213 · 68b8afe1
      unknown authored
        5.1-fix adopt to changes in node recovery
      
      
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        ix totSendLenAi also in "new" node recovery
      68b8afe1
    • unknown's avatar
      merge · 7542d1f7
      unknown authored
      7542d1f7
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · abd3a43b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/src/mgmapi/ndb_logevent.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testIndex.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        merge
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        merge
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      abd3a43b
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb · 5c484fd0
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      5c484fd0
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · d0bd2688
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      d0bd2688
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new · 2c2bf276
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      2c2bf276
  6. 10 Aug, 2006 7 commits
  7. 09 Aug, 2006 10 commits
    • unknown's avatar
      sql_base.cc, table.cc: · b6920c54
      unknown authored
        After merge fix
      
      
      sql/table.cc:
        After merge fix
      sql/sql_base.cc:
        After merge fix
      b6920c54
    • unknown's avatar
      ndb - bug#21536 · 3d7cb87b
      unknown authored
        Make sure updateNodeInfo is run on master also for temporary tables
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Run update nodeinfo also here to handle
          temprorary tables in some situations
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        new error insert
      ndb/test/ndbapi/testSystemRestart.cpp:
        test case
      3d7cb87b
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-5.0 · 893ed9fc
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-ndb
      
      
      mysql-test/r/ndb_read_multi_range.result:
        Auto merged
      mysql-test/t/ndb_lock.test:
        Auto merged
      mysql-test/t/ndb_read_multi_range.test:
        Auto merged
      storage/ndb/include/ndbapi/NdbTransaction.hpp:
        Auto merged
      mysql-test/r/ndb_lock.result:
        Merge (using local)
      sql/ha_ndbcluster.cc:
        Merge fix for bug #18184  SELECT ... FOR UPDATE does not work..
      sql/ha_ndbcluster.h:
        Merge fix for bug #18184  SELECT ... FOR UPDATE does not work..
      893ed9fc
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1-merge · 29701579
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1-rt-merge
      
      
      sql/handler.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      29701579
    • unknown's avatar
      Post-merge fix. · 5f34962a
      unknown authored
      
      sql/sql_parse.cc:
        Post-merge fix.  No need to check DB name twice.
      5f34962a
    • unknown's avatar
      Fix for bug #21059 Server crashes on join query with large dataset with NDB... · d81ace87
      unknown authored
      Fix for bug #21059  Server crashes on join query with large dataset with NDB tables: added more tests
      
      
      
      d81ace87
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/tmp_merge · 22b92457
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1-merge
      
      
      BitKeeper/deleted/.del-mysys.vcproj~40a49d09c4184822:
        Auto merged
      configure.in:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/warnings.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysql-test/t/mysqlbinlog.test:
        Auto merged
      mysql-test/t/udf.test:
        Auto merged
      mysql-test/t/warnings.test:
        Auto merged
      BitKeeper/deleted/.del-mysqld.vcproj~6aa7b3f9c3e28fcb:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      mysql-test/r/sp.result:
        Manual merge.  Place 5.0 test before 5.1 test.
      mysql-test/t/sp.test:
        Manual merge.  Place 5.0 test before 5.1 test.
      mysys/my_bitmap.c:
        Manual merge.
      scripts/make_binary_distribution.sh:
        Manual merge.
      sql/Makefile.am:
        Manual merge.
      sql/slave.cc:
        Manual merge.
      sql/sql_class.h:
        Manual merge.
      sql/sql_parse.cc:
        Manual merge.
      sql/sql_select.cc:
        Manual merge.
      tests/mysql_client_test.c:
        Manual merge.
      22b92457
    • unknown's avatar
      ndb - bug#21363 · e7fbb26c
      unknown authored
        add file that got missing from last changset
      
      
      e7fbb26c
    • unknown's avatar
      ndb - bug#21363 · 87a539a6
      unknown authored
        Add extra sleeps (conditionally) if user-ndb-object still exists during shutdown
        Note: This is not in anyway optimal, but i dont't really know in which order should be shutdown
              but it fixes problem...
      
      
      sql/ha_ndbcluster_binlog.cc:
        Add extra wait loop to make user "user" ndb-object go away...
          otherwise user thread can have ongoing SUB_DATA
      storage/ndb/include/ndbapi/ndb_cluster_connection.hpp:
        Add interface for getting active ndb-object count
      storage/ndb/src/ndbapi/Ndbif.cpp:
        Add return in case of incorrect magic
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Add interface for getting active ndb-object count
      storage/ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Add interface for getting active ndb-object count
      87a539a6
  8. 08 Aug, 2006 9 commits
    • unknown's avatar
      Merge sunlight.local:/local_work/leak_fix_orig · 68d26515
      unknown authored
      into  sunlight.local:/local_work/leak_fix-5.1-mysql
      
      
      sql/sql_lex.h:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/sql_view.h:
        Auto merged
      sql/unireg.h:
        Auto merged
      sql/sql_base.cc:
        Manual merge
      sql/table.cc:
        Manual merge
      68d26515
    • unknown's avatar
      BUG #21524 "'ps' test fails in --ps-protocol test AMD64 bit" · b6897efb
      unknown authored
      (this is not a fix to the bug, but simply to disable the test in 
      order to push a 5.0 to 5.1 merge)
      
      This merge contains:
      
      Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
      
      bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      
      
      mysql-test/t/disabled.def:
        BUG #21524 "'ps' test fails in --ps-protocol test AMD64 bit"
        
        (this is not a fix to the bug, but simply to disable the test in 
        order to push a 5.0 to 5.1 merge)
      b6897efb
    • unknown's avatar
      sql_base.cc, unireg.h, sql_lex.h, table.cc, sql_view.h, sql_view.cc: · 1e9ebd01
      unknown authored
        Correct memory leak fix
      
      
      sql/unireg.h:
        Correct memory leak fix
      sql/table.cc:
        Correct memory leak fix
      sql/sql_view.h:
        Correct memory leak fix
      sql/sql_view.cc:
        Correct memory leak fix
      sql/sql_lex.h:
        Correct memory leak fix
      sql/sql_base.cc:
        Correct memory leak fix
      1e9ebd01
    • unknown's avatar
      Merge govinda.patg.net:/home/patg/mysql-build/mysql-5.0-holyfoot · f1af1a5d
      unknown authored
      into  govinda.patg.net:/home/patg/mysql-build/mysql-5.1-5.0-merge2
      
      Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
      
      bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      
      
      BitKeeper/deleted/.del-libmysqld.dsp~78dc6a589e5a4149:
        Auto merged
      configure.in:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      mysql-test/t/merge.test:
        Auto merged
      sql/field.h:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      BitKeeper/deleted/.del-libmysqld.vcproj~a75d5b9a5967dea0:
        Auto merged
      BitKeeper/deleted/.del-libmysqld_ia64.dsp~578ab58d5f281d2a:
        Auto merged
      BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56:
        Auto merged
      BitKeeper/deleted/.del-mysqld.vcproj~6aa7b3f9c3e28fcb:
        Auto merged
      BitKeeper/deleted/.del-mysqld_ia64.dsp~7f8cf84d81ee04e2:
        Auto merged
      BitKeeper/deleted/.del-mysqldemb.dsp~1baf8c0e59ee9f7e:
        Auto merged
      BitKeeper/deleted/.del-mysqldemb.vcproj~54c64d55ccc51a7c:
        Auto merged
      BitKeeper/deleted/.del-mysqldemb_ia64.dsp~c7f7d75d542393cd:
        Auto merged
      BitKeeper/deleted/.del-mysqldmax.dsp~5d213fe1c204142e:
        Auto merged
      BitKeeper/deleted/.del-mysqldmax_ia64.dsp~25006b7cc0725ad1:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      include/my_base.h:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      mysql-test/r/federated.result:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      mysql-test/t/federated.test:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      sql/field.cc:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      sql/ha_federated.cc:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      sql/handler.cc:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      tests/mysql_client_test.c:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      f1af1a5d
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-4.1 · d2fd4efc
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.0
      
      
      mysql-test/r/ndb_lock.result:
        Auto merged
      mysql-test/t/ndb_lock.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Merge
      d2fd4efc
    • unknown's avatar
      bug #18184 SELECT ... FOR UPDATE does not work..: Added lockTuple call in close_scan · 01543ee2
      unknown authored
      
      sql/ha_ndbcluster.cc:
        bug #18184  SELECT ... FOR UPDATE does not work..: Added lockTuple call in closeScan
      mysql-test/r/ndb_lock.result:
        bug #18184  SELECT ... FOR UPDATE does not work..: Added lockTuple call in closeScan
      mysql-test/t/ndb_lock.test:
        bug #18184  SELECT ... FOR UPDATE does not work..: Added lockTuple call in closeScan
      01543ee2
    • unknown's avatar
      Fix windows pushbuild failure: the bug occured because · 9de602d2
      unknown authored
      we didn't check for NULL value of the
      lex_create_info->db_type pointer.
      The pointer is NULL in the case, when the engine name is
      unknown to the server. This happens with NDB on Windows.
      
      
      sql/sql_table.cc:
        don't check pointer in the case, it is NULL
      9de602d2
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · ad2a2f57
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ad2a2f57
    • unknown's avatar
      ndb - bug#21213 · 6e5ad691
      unknown authored
        Make sure totSendlenAi is set in case of ACC_ABORTCONF and activeCreate == true
        (only needed when >2 replica)
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Make sure totSendlenAi is set in case of ACC_ABORTCONF and activeCreate == true
      6e5ad691
  9. 07 Aug, 2006 3 commits