1. 03 Mar, 2005 7 commits
  2. 02 Mar, 2005 24 commits
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 564a7d7c
      unknown authored
      into mysql.com:/home/cps/mysql/devel/im-fix-review
      
      
      564a7d7c
    • unknown's avatar
      fix to avoid relinking on each "make" · 6990e80d
      unknown authored
      
      server-tools/instance-manager/Makefile.am:
        "Makefile" target removed
      6990e80d
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 436e2f83
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      436e2f83
    • unknown's avatar
      Merge mysqldev@production.mysql.com:/data0/mysqldev/my/mysql-5.0-merge · a766c7bf
      unknown authored
      into krsna.patg.net:/home/patg/mysql-5.0
      
      
      a766c7bf
    • unknown's avatar
      Last part of fix for BUG#7998 "Replication should be more clever about when to... · 5a5fc343
      unknown authored
      Last part of fix for BUG#7998 "Replication should be more clever about when to replicate RELEASE_LOCK()" + fixes after merge
      
      
      mysql-test/r/drop_temp_table.result:
        result update
      mysql-test/r/mix_innodb_myisam_binlog.result:
        result update
      mysql-test/r/rpl000001.result:
        result update
      mysql-test/r/rpl_change_master.result:
        result update
      mysql-test/r/rpl_deadlock.result:
        result update (merge)
      mysql-test/t/rpl000001.test:
        can't rely on GET_LOCK() to do slave synchro (use table lock instead)
      mysql-test/t/rpl_change_master.test:
        changing the test as we can't use GET_LOCK() for slave synchro
      mysql-test/t/rpl_deadlock.test:
        update (merge) binlog positions
      mysql-test/t/rpl_get_lock.test:
        comment
      5a5fc343
    • unknown's avatar
      Fixed BUG#8762: Stored Procedures: Inconsistent behavior · 5699934f
      unknown authored
                      of DROP PROCEDURE IF EXISTS statement.
      
      
      mysql-test/r/sp.result:
        New test case for BUG#8757
      mysql-test/t/sp.test:
        New test case for BUG#8757
      sql/sp.cc:
        Don't zap lex->found_semicolon. (For compound statements)
      5699934f
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · b7943b7a
      unknown authored
      into krsna.patg.net:/home/patg/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      b7943b7a
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 1972aa7d
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-xa
      
      
      sql/item_func.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      1972aa7d
    • unknown's avatar
      First part of fix for BUG#7998 "Replication should be more clever about when... · 463ee77d
      unknown authored
      First part of fix for BUG#7998 "Replication should be more clever about when to replicate RELEASE_LOCK()"
      (next part is updating test results)
      
      
      sql/item_func.cc:
        no need for binlogging DO RELEASE_LOCK() anymore. Make GET_LOCK() do nothing in slave thread.
      sql/log_event.cc:
        comment fixes
      sql/mysqld.cc:
        warning removed
      sql/slave.cc:
        fix after merge
      463ee77d
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · ecdfe7c2
      unknown authored
      into mysql.com:/M50/mysql-5.0
      
      
      ecdfe7c2
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 53ec5f06
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/ha_innodb.cc:
        Auto merged
      53ec5f06
    • unknown's avatar
      workaround for a bug removed · 61866909
      unknown authored
      
      mysys/my_mmap.c:
        cleanup
      sql/ha_innodb.cc:
        don's start a transaction in prepare().
        restore disabled code for ibbackup
      61866909
    • unknown's avatar
      Merge · 8fdc684b
      unknown authored
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        SCCS merged
      sql/slave.h:
        SCCS merged
      8fdc684b
    • unknown's avatar
      InnoDB: Merge fix of Bug #8771 from the 4.1 tree · 21a6c52c
      unknown authored
      
      innobase/row/row0sel.c:
        Manual merge (Bug #8771)
      21a6c52c
    • unknown's avatar
      Bug#8306 - TRUNCATE leads to index corruption · 199e195d
      unknown authored
      After merge fix.
      The bugfix results in a different error message in this situation.
      
      
      199e195d
    • unknown's avatar
      Variable 'k' declared at both loop and function level caused compiler failures - · ff7d3c3d
      unknown authored
      use function-wide declaration also for loop body.
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Get rid of a duplicate declaration ('Uint32 k;' at function start) that caused 
        compiler failures on 'octane2' (both 32 and 64 bit) and a compiler crash on 'ds20'.
        It would be better not to use those variable declarations with a loop scope,
        they have caused compile problems again and again.
      ff7d3c3d
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 91820633
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      sql/mysqld.cc:
        Auto merged
      91820633
    • unknown's avatar
      Fix for BUG#8325 "Deadlock in replication thread stops replication": · d7e0784c
      unknown authored
      in slave SQL thread: if a transaction fails because of InnoDB deadlock or innodb_lock_wait_timeout exceeded,
      optionally retry the transaction a certain number of times (new variable --slave_transaction_retries).
      
      
      sql/mysql_priv.h:
        new var slave_transaction_retries
      sql/mysqld.cc:
        new variable slave_transaction_retries. Plus fixing a typo.
      sql/set_var.cc:
        new global variable slave_transaction_retries (will be one per subslave, when we have multimaster).
      sql/slave.cc:
        Slave SQL thread: if a transaction fails because of InnoDB deadlock or innodb_lock_wait_timeout exceeded,
        optionally retry the transaction a certain number of times (--slave_transaction_retries).
      sql/slave.h:
        new RELAY_LOG_INFO::trans_retries.
      d7e0784c
    • unknown's avatar
      Merge · cc445563
      unknown authored
      
      innobase/include/srv0srv.h:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      myisam/mi_create.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      mysql-test/r/myisam.result:
        SCCS merged
      mysql-test/t/myisam.test:
        SCCS merged
      sql/ha_innodb.h:
        SCCS merged
      cc445563
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · f508a6ca
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/ha_innodb.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      f508a6ca
    • unknown's avatar
      bug#8151 - truncate leaves a transaction open · e1ba1632
      unknown authored
      deadlock in MYSQL_LOG::new_file()
      style fixes
      
      
      mysql-test/r/innodb.result:
        one more test for truncate
      mysql-test/t/innodb.test:
        one more test for truncate
      sql/ha_innodb.cc:
        bug#8151 - truncate leaves a transaction open
      sql/handler.cc:
        bug#8151 - truncate leaves a transaction open
      sql/item.h:
        style fix
      sql/item_cmpfunc.cc:
        style fix
      sql/item_cmpfunc.h:
        style fix
      sql/item_func.cc:
        style fix
      sql/item_func.h:
        style fix
      sql/log.cc:
        let new_file() to lock LOCK_index,
        don't check for prepared_xids in rotate_and_purge()
        increase thread_safe_increment when LOCK_log is taken
      sql/log_event.cc:
        mysqlbinlog now prints a warning if binlog was not closed properly
      sql/sql_class.h:
        comments
      sql/sql_repl.cc:
        DBUG_ENTER tag corrected
      e1ba1632
    • unknown's avatar
      Bug#8306 - TRUNCATE leads to index corruption · 26f75ffc
      unknown authored
      Added a check, if the table, which we are going to create, is open.
      This can happen if a MERGE mapped table is TRUNCATEd.
      
      
      myisam/mi_open.c:
        Bug#8306 - TRUNCATE leads to index corruption
        Made test_if_reopen() globally available.
      myisam/myisamdef.h:
        Bug#8306 - TRUNCATE leads to index corruption
        Declared test_if_reopen() as globally available.
      mysql-test/r/myisam.result:
        Bug#8306 - TRUNCATE leads to index corruption
        The test result.
      mysql-test/t/myisam.test:
        Bug#8306 - TRUNCATE leads to index corruption
        The test case.
      26f75ffc
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 055273c1
      unknown authored
      into krsna.patg.net:/home/patg/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      055273c1
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0 · c4409a7c
      unknown authored
      into hundin.mysql.fi:/home/jan/mysql-5.0
      
      
      sql/ha_innodb.cc:
        Auto merged
      c4409a7c
  3. 01 Mar, 2005 9 commits
    • unknown's avatar
      ha_innodb.cc: · 67457597
      unknown authored
        Correct indentation + some small style corrections
      
      
      sql/ha_innodb.cc:
        Correct indentation + some small style corrections
      67457597
    • unknown's avatar
      Makefile.am: · af529fd1
      unknown authored
        updated ndb test makefile to make src dist complete
      
      
      ndb/test/ndbapi/Makefile.am:
        updated ndb test makefile to make src dist complete
      af529fd1
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 36dbdf01
      unknown authored
      into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      
      36dbdf01
    • unknown's avatar
      Fix for Bug#5615 and merge from 4.1 · 53bfeb48
      unknown authored
      
      
      mysql-test/r/func_group.result:
        Added some tests and fix for Bug#5615.
      mysql-test/r/show_check.result:
        Fix for Bug#5615.
      mysql-test/t/func_group.test:
        Added some tests.
      sql/item_sum.cc:
        Fix for Bug#5615.
      sql/item_sum.h:
        Fix for Bug#5615.
      sql/sql_select.cc:
        Fix for Bug#5615.
      sql/sql_select.h:
        Fix for Bug#5615.
      53bfeb48
    • unknown's avatar
      ha_innodb.cc: · c0b12553
      unknown authored
        delete_all_rows(): Revert previous change.
        The transaction has been marked started already
        in external_lock().
      
      
      sql/ha_innodb.cc:
        delete_all_rows(): Revert previous change.
        The transaction has been marked started already
        in external_lock().
      c0b12553
    • unknown's avatar
      row0sel.c: · a10fb697
      unknown authored
        row_sel_store_mysql_rec(): Do not try to space-pad BLOB fields. (Bug #8771)
      
      
      innobase/row/row0sel.c:
        row_sel_store_mysql_rec(): Do not try to space-pad BLOB fields. (Bug #8771)
      a10fb697
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8c9d2612
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      sql/ha_innodb.cc:
        Auto merged
      8c9d2612
    • unknown's avatar
      ha_innodb.cc: · 0319b958
      unknown authored
        In TRUNCATE TABLE, MySQL may call innobase_xa_prepare() even though there is no active transaction because it was committed in ha_innobase::delete_all_rows(); in innobase_xa_prepare() InnoDB starts then a new transaction; let us adjust the trx->active_trans flag accordingly
      
      
      sql/ha_innodb.cc:
        In TRUNCATE TABLE, MySQL may call innobase_xa_prepare() even though there is no active transaction because it was committed in ha_innobase::delete_all_rows(); in innobase_xa_prepare() InnoDB starts then a new transaction; let us adjust the trx->active_trans flag accordingly
      0319b958
    • unknown's avatar
      After review fixes. Fix bugs in TRUNCATE. · 39cf45fd
      unknown authored
      
      innobase/dict/dict0crea.c:
        dict_truncate_index_tree(): Commit the mtr after deleting the
        index tree. Add diagnostics for error cases. Let the caller update
        SYS_INDEXES.PAGE_NO to the new root page number. Return the new
        root page number, or FIL_NULL on error.
      innobase/include/dict0crea.h:
        dict_truncate_index_tree(): Commit the mtr after deleting the
        index tree. Add diagnostics for error cases. Let the caller update
        SYS_INDEXES.PAGE_NO to the new root page number. Return the new
        root page number, or FIL_NULL on error.
      innobase/include/page0page.ic:
        page_mem_free(): Disable the memset() call, to make it possible to
        recover some data if someone accidentally deletes a large number
        of records from a table.
      innobase/log/log0recv.c:
        Do not disable InnoDB Hot Backup specific code in MySQL builds.
      innobase/row/row0mysql.c:
        row_truncate_table_for_mysql(): Remove an infinite loop in case
        a SYS_INDEXES record has been deleted. Avoid deadlocks by committing
        and restarting the mini-transaction.
      sql/ha_innodb.cc:
        ha_innobase::delete_all_rows(): set trx->active_trans = 1
      39cf45fd