1. 01 Dec, 2004 2 commits
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0 · 15c9ed8e
      unknown authored
      into hundin.mysql.fi:/home/jan/mysql-5.0
      
      
      sql/ha_innodb.cc:
        Auto merged
      15c9ed8e
    • unknown's avatar
      This is a code cleanup patch for X/Open XA. · 6f99f4ef
      unknown authored
      
      BitKeeper/deleted/.del-xa.h~4021d7e61ff515b:
        Delete: innobase/include/xa.h
      innobase/include/trx0trx.h:
        Change xa.h to trx0ha.h.
      innobase/include/trx0undo.h:
        Split TRX_UNDO_DICT_OPERATION field to two fiels: first contains
        TRX_UNDO_XID_EXISTS flag which is TRUE if log header contains
        X/Open XA XID and the second one contains TRX_UNDO_DICT_TRANS
        flag which is TRUE if the transaction is dictionary transaction.
      innobase/trx/trx0trx.c:
        Remove unnecessary and erroneus code from prepare. Add some 
        informative printouts of prepared transactions.
      innobase/trx/trx0undo.c:
        Split TRX_UNDO_DICT_OPERATION field to two fields: the first field
        is TRX_UNDO_XID_EXISTS flag which is true if the log header contains
        X/Open XA XID and the second field is TRX_UNDO_DICT_TRANS flag
        which is true if the transaction was a dictionary transaction.
      sql/ha_innodb.cc:
        Code cleanup.
      6f99f4ef
  2. 30 Nov, 2004 38 commits
    • unknown's avatar
      strict.result: · b6e6313e
      unknown authored
        Add warning line to result so that test passes
      
      
      mysql-test/r/strict.result:
        Add warning line to result so that test passes
      b6e6313e
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · cfa57d2b
      unknown authored
      into avenger.(none):/export/brian/mysql/merge/5.0
      
      
      innobase/include/row0mysql.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      cfa57d2b
    • unknown's avatar
      Merge avenger.(none):/export/brian/mysql/merge/4.1 · 300ac0b8
      unknown authored
      into avenger.(none):/export/brian/mysql/merge/5.0
      
      
      sql/mysqld.cc:
        Auto merged
      300ac0b8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · a899d4e6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      a899d4e6
    • unknown's avatar
      fixed so that warning on missing support for engine only printed once even if... · 9cb139fa
      unknown authored
      fixed so that warning on missing support for engine only printed once even if option given multiple times
      
      
      9cb139fa
    • unknown's avatar
      typo fixed · db9837cc
      unknown authored
      db9837cc
    • unknown's avatar
      Merge for Matt for Innodb bug. · 54a15df8
      unknown authored
      
      client/mysqldump.c:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/ndb_index_unique.result:
        Auto merged
      mysql-test/r/rpl_start_stop_slave.result:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/ndb_grant.later:
        Auto merged
      mysql-test/t/ndb_index_unique.test:
        Auto merged
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      ndb/test/ndbapi/testScanPerf.cpp:
        Auto merged
      netware/comp_err.def:
        Auto merged
      netware/isamchk.def:
        Auto merged
      netware/isamlog.def:
        Auto merged
      netware/libmysql.def:
        Auto merged
      netware/my_print_defaults.def:
        Auto merged
      netware/myisam_ftdump.def:
        Auto merged
      netware/myisamchk.def:
        Auto merged
      netware/myisamlog.def:
        Auto merged
      netware/myisampack.def:
        Auto merged
      netware/mysql.def:
        Auto merged
      netware/mysql_install.def:
        Auto merged
      netware/mysql_install_db.def:
        Auto merged
      netware/mysql_test_run.def:
        Auto merged
      netware/mysql_waitpid.def:
        Auto merged
      netware/mysqladmin.def:
        Auto merged
      netware/mysqlbinlog.def:
        Auto merged
      netware/mysqlcheck.def:
        Auto merged
      netware/mysqld.def:
        Auto merged
      netware/mysqld_safe.def:
        Auto merged
      netware/mysqldump.def:
        Auto merged
      netware/mysqlimport.def:
        Auto merged
      netware/mysqlshow.def:
        Auto merged
      netware/mysqltest.def:
        Auto merged
      netware/pack_isam.def:
        Auto merged
      netware/perror.def:
        Auto merged
      netware/replace.def:
        Auto merged
      netware/resolve_stack_dump.def:
        Auto merged
      netware/resolveip.def:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      client/mysqladmin.cc:
        Merge for Netware changes. Indention fixes.
      sql/field.cc:
        Merge fixes, warnings added from 4.1 to 5.0
      sql/mysqld.cc:
        Merge fixes, just indention fixes.
      54a15df8
    • unknown's avatar
      row0mysql.h, ha_innodb.cc: · a0bbebc2
      unknown authored
        Sergey Petrunia's ROR code fails to tell handlers that they should retrieve the primary key columns; let InnoDB ALWAYS retrieve them, to fix many bugs and potential bugs
      
      
      sql/ha_innodb.cc:
        Sergey Petrunia's ROR code fails to tell handlers that they should retrieve the primary key columns; let InnoDB ALWAYS retrieve them, to fix many bugs and potential bugs
      innobase/include/row0mysql.h:
        Sergey Petrunia's ROR code fails to tell handlers that they should retrieve the primary key columns; let InnoDB ALWAYS retrieve them, to fix many bugs and potential bugs
      a0bbebc2
    • unknown's avatar
      fixed error in test result · a668ea8f
      unknown authored
          added extra calls to retrieve connectstring used
          reengineered connect somewhat to make retries etc explicit
      
      
      mysql-test/r/ndb_index_unique.result:
        fixed error in test result
      ndb/include/mgmapi/mgmapi.h:
        added extra calls to retrieve connectstring used
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        added extra calls to retrieve connectstring used
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmapi/mgmapi.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved parse of quit to avoid connect before
      ndb/src/ndbapi/Ndbinit.cpp:
        reengineered connect somewhat to make retries etc explicit
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/tools/listTables.cpp:
        reengineered connect somewhat to make retries etc explicit
      sql/ha_ndbcluster.cc:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      a668ea8f
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5a21e772
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      innobase/lock/lock0lock.c:
        Auto merged
      5a21e772
    • unknown's avatar
      lock0lock.c: · 555a0eec
      unknown authored
        If UNIV_DEBUG is defined, lock_get_type() was called before function definition: fix this
      
      
      innobase/lock/lock0lock.c:
        If UNIV_DEBUG is defined, lock_get_type() was called before function definition: fix this
      555a0eec
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0b717e0c
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      0b717e0c
    • unknown's avatar
      row0sel.c: · fdbd7701
      unknown authored
        Remove compiler warning as I had forgotten an include file
      
      
      innobase/row/row0sel.c:
        Remove compiler warning as I had forgotten an include file
      fdbd7701
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · e3b9dd2a
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      e3b9dd2a
    • unknown's avatar
      c3755204
    • unknown's avatar
      InnoDB: Allow ALTER TABLE to do intermediate COMMIT also when the table · fb8c2315
      unknown authored
      contains auto_increment columns.  (Bug #6633)
      
      
      innobase/include/lock0lock.h:
        Replaced lock_get_table()
        with lock_get_src_table() and lock_is_table_exclusive()
      innobase/lock/lock0lock.c:
        Replaced lock_get_table()
        with lock_get_src_table() and lock_is_table_exclusive()
      sql/ha_innodb.cc:
        ha_innobase::write_row(): Improve the ALTER TABLE optimization
        (do intermediate COMMIT also if table contains auto_increment columns)
      fb8c2315
    • unknown's avatar
      ps_7ndb.result, ps_7ndb.test: · 4c3da7c1
      unknown authored
        ndb now runs ps tests just like the others
      
      
      mysql-test/t/ps_7ndb.test:
        ndb now runs ps tests just like the others
      mysql-test/r/ps_7ndb.result:
        ndb now runs ps tests just like the others
      4c3da7c1
    • unknown's avatar
      mysqld.cc: · 74296504
      unknown authored
        fixed erroneous previous push
      
      
      sql/mysqld.cc:
        fixed erroneous previous push
      74296504
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0aa9bc37
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      0aa9bc37
    • unknown's avatar
      added check connection mgmapi method · 137002d6
      unknown authored
      added ndb_mgm_check_connection when error is printed
      
      
      ndb/include/mgmapi/mgmapi.h:
        added check connection mgmapi method
      ndb/src/mgmapi/mgmapi.cpp:
        added check connection mgmapi method
      ndb/src/mgmclient/CommandInterpreter.cpp:
        added mgm_check_check_connection when error is printed
      ndb/src/mgmsrv/Services.cpp:
        added check connection mgmapi method
      ndb/src/mgmsrv/Services.hpp:
        added check connection mgmapi method
      137002d6
    • unknown's avatar
      Portability fix. Why not to use UINT_MAX32 here? · 635f95d5
      unknown authored
      635f95d5
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · d8c754b4
      unknown authored
      into avenger.(none):/export/brian/mysql/archive-delayed
      
      d8c754b4
    • unknown's avatar
      Changes to support optimized bulk inserts. This will solve the problem of... · 4485ee63
      unknown authored
      Changes to support optimized bulk inserts. This will solve the problem of selects occurring during a bulk insert, and causing the compression factor to drop. 
      
      
      mysql-test/r/archive.result:
        Updated result set for changes amde to support delayed insert and bulk insert optimizations.
      mysql-test/t/archive.test:
        Test cases to test bulk insert statements and delayed insert syntax.
      sql/examples/ha_archive.cc:
        Added methods needed for bulk operations to be optimized. Bulk inserts now do not trigger the file as dirty until they are complete. A normal insert though can still cause them to be synced though since it is not effected by the flag. Removed share variable to determine if row count is right or not (it should not be treated as an upper end estimate).
      sql/examples/ha_archive.h:
        Removed share variable for delayed flag since it is no longer needed. 
        Added flag in table instance to know if a bulk insert is happening.
        
        Added method declarations for bulk insert optimizations.
      4485ee63
    • unknown's avatar
      mysqld.cc: · 69d1b437
      unknown authored
        fixed typo
      
      
      sql/mysqld.cc:
        fixed typo
      69d1b437
    • unknown's avatar
      fixed bug/compiler warning · d01d27e6
      unknown authored
          rewrote safer
          added return value to shutdown
          nicer printouts
          removed exit at shutdown
      
      
      ndb/src/common/logger/Logger.cpp:
        fixed bug/compiler warning
      ndb/src/mgmapi/LocalConfig.cpp:
        removed compiler warning
        rewrote safer
      ndb/src/mgmclient/CommandInterpreter.cpp:
        added return value to shutdown
        nicer printouts
        removed exit at shutdown
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        fixed compiler warning
      d01d27e6
    • unknown's avatar
      Auto merged. · f9e8677c
      unknown authored
      
      innobase/row/row0ins.c:
        Auto merged
      innobase/trx/trx0undo.c:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/handler.h:
        Auto merged
      f9e8677c
    • unknown's avatar
      Added support for X/Open XA prepare, recover, commit and rollback. · 818fc025
      unknown authored
      
      innobase/include/trx0roll.h:
        Changed prototype of the function trx_rollback_or_clean_all_without_sess
        because this function is executed in a background thread.
      innobase/include/trx0trx.h:
        Added support for X/Open XA prepare, recover and search by X/Open XA XID.
      innobase/include/trx0undo.h:
        Added support for X/Open XA prepare and recover. We need to store X/Open XA XID
        to the undo log header for recovery.
      innobase/log/log0recv.c:
        Create a thread to run trx_rollback_or_clean_all_without_sess function
        to rollback the uncommitted transactions which have no user session.
      innobase/row/row0ins.c:
        Remove unnecessary variables.
      innobase/trx/trx0roll.c:
        Changed so that trx_rollback_or_clean_all_without_sess is executed
        in a background thread. We should also leave all prepared transactions
        active to wait for commit or abort from MySQL.
      innobase/trx/trx0sys.c:
        Only those rows which belong to the active transaction in crash recovery
        are undone.
      innobase/trx/trx0trx.c:
        Added support for X/Open XA prepare and recover. We need to store X/Open XA
        XID to trx structure and left prepared transactions to wait for a
        commit or abort from MySQL. This requires also that we add TRX_PREPARED
        state to the transaction and TRX_UNDO_PREPARED state for undo logs.
      innobase/trx/trx0undo.c:
        Added support for X/Open XA prepare and recover. We need to store X/Open XA
        XID to undo log header for recovery of distributed transactions.
      sql/ha_innodb.h:
        Added prototypes for X/Open XA prepare, recover, commit and rollback.
      sql/handler.h:
        Added definition for X/Open XA XID structure.
      818fc025
    • unknown's avatar
      add warnings for INNODB,BDB,ISAM being unavailable if switch to use is... · 1fb5821b
      unknown authored
      add warnings for INNODB,BDB,ISAM being unavailable if switch to use is supplied, i.e. --bdb,--isam,--innodb
      
      
      1fb5821b
    • unknown's avatar
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 37bc1b04
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      sql/mysqld.cc:
        Auto merged
      37bc1b04
    • unknown's avatar
      added use of mysql_cluster in mysqld (e.g. for ndb-connectstring) · c7612e3d
      unknown authored
      added warning printout if --ndbcluster switch is given in a "non-cluster" binary
      
      c7612e3d
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 70f73798
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b6101
      
      
      client/mysqldump.c:
        Auto merged
      70f73798
    • unknown's avatar
      ndb - Fixed INCORRECT result file for unique index test · 98fcd841
      unknown authored
      
      mysql-test/r/ndb_index_unique.result:
        Fixed INCORRECT result file for unique index test! SHAME!
      98fcd841
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0cf029f8
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      0cf029f8
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · c140924d
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      mysql-test/r/ndb_index_unique.result:
        Auto merged
      mysql-test/t/ndb_index_unique.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      c140924d
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3f3c904b
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      3f3c904b
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 97e369b5
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      mysql-test/r/ndb_index_unique.result:
        Auto merged
      mysql-test/t/ndb_index_unique.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      97e369b5
    • unknown's avatar
      ndb - fixed long overdue problems with unique indexes and null values · aa1fb2c4
      unknown authored
      
      mysql-test/r/ndb_index_unique.result:
        Test of unique index and null
      mysql-test/t/ndb_index_unique.test:
        Test of unique index and null
      sql/ha_ndbcluster.cc:
        Fixed long overdue problems with unique indexes and null values
      aa1fb2c4