1. 05 Oct, 2006 1 commit
    • unknown's avatar
      I had forgotten to delete an already disabled line of C++ code. · 4e46f2db
      unknown authored
      ---
      BUG#20265 (Replication of CREATE-SELECT does not work correctly):
      Fixing bug by making binary log handle statement transactions.
      The binary log transaction cache can now be truncated to remove 
      events inserted during this statement or transaction. Also, the
      binary log participate in XA transaction handling, although not
      as a full 2pc resource.
      
      
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        Result change
      sql/log.cc:
        Making change to binlog_end_trans() to support that it can be called
        for statement transactions as well.
      sql/sql_class.h:
        Adding function THD::binlog_start_trans_and_stmt() to start a real transaction
        (if necessary) and also a statement transaction.
      sql/sql_insert.cc:
        I had forgotten to delete this line (it was already disabled using //;
        this line was not needed because we do the empty() every time
        we write to the binlog (in MYSQL_LOG::write());
        t/binlog_stm_binlog.test already tests that the empty() indeed happens
        for INSERT DELAYED.
        ---
        Changes to use the statement transactions that the binary log now can handle.
      4e46f2db
  2. 01 Aug, 2006 2 commits
  3. 31 Jul, 2006 3 commits
  4. 30 Jul, 2006 1 commit
  5. 29 Jul, 2006 2 commits
    • unknown's avatar
      Make innodb_flush_log_at_trx_commit a settable global variable. · 7d43d6fd
      unknown authored
      
      sql/ha_innodb.cc:
        Remove innobase_flush_log_at_trx_commit
        (set srv_flush_log_at_trx_commit directly).
      sql/ha_innodb.h:
        Remove innobase_flush_log_at_trx_commit.
        Declare srv_flush_log_at_trx_commit.
      sql/mysqld.cc:
        Bypass the innobase_flush_log_at_trx_commit variable.
      storage/innobase/include/srv0srv.h:
        Change the type of srv_flush_log_at_trx_commit.
      storage/innobase/srv/srv0srv.c:
        Change the type of srv_flush_log_at_trx_commit.
      7d43d6fd
    • unknown's avatar
      Fix tests after merge and disable rpl_ndb_dd_advance due to bug 18679. · b230225b
      unknown authored
      
      mysql-test/r/date_formats.result:
        Fix results after merge
      mysql-test/r/mysqldump.result:
        Fix results after merge
      mysql-test/t/disabled.def:
        Add randomly-failing test with open bug
      mysql-test/t/mysqldump.test:
        Clean up test after merge and fix 'End of test' markers
      b230225b
  6. 28 Jul, 2006 7 commits
    • unknown's avatar
      Make innodb_thread_concurrency 0 by default, and extend · 605871f5
      unknown authored
       the usable range to 0..1000 (0 disables the thread throttling).
      
      
      sql/mysqld.cc:
        innodb_thread_concurrency is 0..1000 now, and
         0 (the default) disables the thread throttling.
      605871f5
    • unknown's avatar
      Merge rama.(none):/home/jimw/my/tmp_merge · d10db4cf
      unknown authored
      into  rama.(none):/home/jimw/my/mysql-5.1-clean
      
      
      client/mysql.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      extra/yassl/include/openssl/ssl.h:
        Auto merged
      extra/yassl/include/yassl_int.hpp:
        Auto merged
      extra/yassl/src/ssl.cpp:
        Auto merged
      extra/yassl/src/template_instnt.cpp:
        Auto merged
      extra/yassl/src/yassl_imp.cpp:
        Auto merged
      extra/yassl/src/yassl_int.cpp:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/embedded_priv.h:
        Auto merged
      BitKeeper/deleted/.del-mysql_explain_log.sh~5ddc62808e16bd57:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      libmysqld/libmysqld.c:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/r/func_str.result:
        Auto merged
      mysql-test/r/mysqldump-max.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_string.h:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      sql/time.cc:
        Auto merged
      storage/myisam/mi_create.c:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      BitKeeper/deleted/.del-have_case_sensitive_file_system.inc:
        Delete: mysql-test/include/have_case_sensitive_file_system.inc
      BitKeeper/deleted/.del-case_sensitive_file_system.require:
        Delete: mysql-test/r/case_sensitive_file_system.require
      mysql-test/lib/mtr_cases.pl:
        Resolve conflict
      mysql-test/mysql-test-run.pl:
        Resolve conflict
      mysql-test/r/mysqldump.result:
        Resolve conflict
      mysql-test/t/mysqldump.test:
        Resolve conflict
      sql/sql_parse.cc:
        Resolve conflict
      d10db4cf
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · a13b3c49
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
      
      
      mysql-test/r/create_not_windows.result:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      a13b3c49
    • unknown's avatar
      Add sql_locale.cc to cmake scripts. · 8ed51c92
      unknown authored
      8ed51c92
    • unknown's avatar
      Removing temporary changes. · 7b283775
      unknown authored
      7b283775
    • unknown's avatar
      Removing temporary changes. · 78e24656
      unknown authored
      78e24656
    • unknown's avatar
      0c3d9f33
  7. 27 Jul, 2006 6 commits
  8. 26 Jul, 2006 18 commits
    • unknown's avatar
      Merge bodhi.local:/opt/local/work/tmp_merge · 5b6016c1
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
      
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/deleted/.del-libmysqld.dsp~78dc6a589e5a4149:
        Auto merged
      BitKeeper/deleted/.del-libmysqld.vcproj~a75d5b9a5967dea0:
        Auto merged
      BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56:
        Auto merged
      BitKeeper/deleted/.del-mysqld.vcproj~6aa7b3f9c3e28fcb:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/r/view_grant.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      mysql-test/t/init_connect.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/view_grant.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_create.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_udf.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ndberror.c:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      mysql-test/r/federated.result:
        Use local.
      mysql-test/r/myisam.result:
        Manual merge.
      mysql-test/t/federated.test:
        Manual merge.
      mysql-test/t/myisam.test:
        Manual merge.
      sql/Makefile.am:
        Manual merge.
      sql/set_var.cc:
        Manual merge.
      sql/sql_parse.cc:
        Manual merge.
      sql/sql_update.cc:
        Manual merge.
      storage/myisam/mi_create.c:
        Manual merge.
      5b6016c1
    • unknown's avatar
      Merge orca.ndb.mysql.com:/space/pekka/ndb/version/my51 · a9f0f116
      unknown authored
      into  orca.ndb.mysql.com:/space_old/pekka/ndb/version/my51-bug14935
      
      
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        manual
      a9f0f116
    • unknown's avatar
      ndb - bug#14935 - post-review · 743c4d99
      unknown authored
      
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        bug#14935 - post-review
      storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        bug#14935 - post-review
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        bug#14935 - post-review
      743c4d99
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · a920f554
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
      
      
      sql/sql_table.cc:
        Auto merged
      a920f554
    • unknown's avatar
      Add support for valgrind with callgrind · 1585d76e
      unknown authored
      1585d76e
    • unknown's avatar
      Merge 192.168.0.20:mysql/my51-m-bug21039 · 98e8c0bf
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      98e8c0bf
    • unknown's avatar
      Cset exclude: msvensson@neptunus.(none)|ChangeSet|20060721184912|58688 · 35663401
      unknown authored
      
      mysql-test/r/sp.result:
        Exclude
      mysql-test/t/sp.test:
        Exclude
      35663401
    • unknown's avatar
      Disable rpl_insert due to bug#21297 · 0a3d75e5
      unknown authored
      0a3d75e5
    • unknown's avatar
      Bug#21039 Transaction cache not flushed after SELECT CREATE · 8bf8776c
      unknown authored
       - Add prelocking for stored procedures that uses sp or sf
       - Update test result for sp_error(reported as bug#21294)
       - Make note about new error message from sp-error(bug#17244)
      
      
      mysql-test/r/sp-error.result:
        Update test result(reported as bug#21294)
      mysql-test/r/sp_notembedded.result:
        Update test result after disabling test case
      mysql-test/t/sp-error.test:
        Add note about the faulty error message
      mysql-test/t/sp_notembedded.test:
        Disable test case until bug#17244 has been fixed
      sql/sp.cc:
        Add prelocking for all stored procedures that uses another sp or sf
      sql/sp.h:
        Add prelocking for all stored procedures that uses another sp or sf
      sql/sql_base.cc:
        Add prelocking for all stored procedures that uses another sp or sf
      8bf8776c
    • unknown's avatar
      Change mtr_error to mtr_warning allowing processing to continue when mysqld fails to start · 97947a72
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Report warining when failure to start mysqld was detected, this will allow the testcase to continue executing.
        The failure to start mysqld will be caugt when executing mysqltest
      97947a72
    • unknown's avatar
      Disabled ndb_restore_compat for BUG#21283. · bf1f1ea8
      unknown authored
      bf1f1ea8
    • unknown's avatar
      Applied innodb-5.1-ss660 snapshot. · d36f9479
      unknown authored
       Changes in SQL parser:
       * Change default mode of SELECT from "lock in share mode"
         to "consistent read".
       * Remove support from SELECT for specifying "consistent read".
       * Add support in SELECT for specifying "lock in share mode".
       * Change all uses of SQL parser to specify "lock in share mode".
       * Modify syntax so that the only valid top-level statement is
         a procedure definition, since it's the only one that actually
         works.
       * Add support for lock waits.
      
      
      sql/ha_innodb.cc:
        Applied innodb-5.1-ss660 snapshot.
         Document better the "bool table_id" flag.
      storage/innobase/btr/btr0cur.c:
        Applied innodb-5.1-ss660 snapshot.
         btr_cur_search_to_nth_level(): Reacquire btr_search_latch after
         inserting to the insert buffer. This was noticed while analysing
         Bug#19801, but this should not fix this bug since, according to
         Heikki, btr_search_latch is not reserved during an insert.
      storage/innobase/configure.in:
        Applied innodb-5.1-ss660 snapshot.
         Add -Wpointer-arith to CFLAGS when using GCC.
      storage/innobase/data/data0type.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/dict/dict0crea.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/dict/dict0dict.c:
        Applied innodb-5.1-ss660 snapshot.
         Make dict_remove_db_name() non-static.
      storage/innobase/ibuf/ibuf0ibuf.c:
        Applied innodb-5.1-ss660 snapshot.
         ibuf_fixed_addr_page(): Add parameter space. As the insert buffer
         B-tree is only located in the system tablespace (space 0),
         IBUF_TREE_ROOT_PAGE_NO is only special in space 0.
      storage/innobase/include/data0type.h:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/include/dict0dict.h:
        Applied innodb-5.1-ss660 snapshot.
         Make dict_remove_db_name() non-static.
      storage/innobase/include/pars0grm.h:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/include/pars0pars.h:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/include/que0que.h:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/include/sync0rw.ic:
        Applied innodb-5.1-ss660 snapshot.
         rw_lock_s_unlock_func(): Change a debug assertion to a
         production assertion in order to track down Bug#19081.
      storage/innobase/include/trx0trx.h:
        Applied innodb-5.1-ss660 snapshot.
         trx_sig_send() always succeeds or asserts.
      storage/innobase/include/ut0ut.h:
        Applied innodb-5.1-ss660 snapshot.
         Document better the "bool table_id" flags.
      storage/innobase/mem/mem0mem.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/pars/lexyy.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/pars/pars0grm.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/pars/pars0grm.h:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/pars/pars0grm.y:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/pars/pars0lex.l:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/pars/pars0pars.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/que/que0que.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/row/row0mysql.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/row/row0sel.c:
        Applied innodb-5.1-ss660 snapshot.
         * Disable prefetch and adaptive hash index for tables
           with rows over 1024 bytes in InnoDB's SQL parser.
         * row_sel_try_search_shortcut(): Do not return SEL_FOUND
           when the record was not found. This bug was introduced
           in MySQL/InnoDB 5.0.3, but luckily it should never
           manifest itself, given that existing InnoDB SQL code
           never makes use of consistent reads.
         * Don't take unnecesary locks on supremum records when the
           srv_locks_unsafe_for_binlog option is enabled. Fixes an
           assertion failure in the innodb_unsafe_binlog testcase
           when compiled with UNIV_DEBUG.
      storage/innobase/row/row0upd.c:
        Applied innodb-5.1-ss660 snapshot.
      storage/innobase/trx/trx0roll.c:
        Applied innodb-5.1-ss660 snapshot.
         trx_sig_send() always succeeds or asserts.
      storage/innobase/trx/trx0trx.c:
        Applied innodb-5.1-ss660 snapshot.
         trx_sig_send() always succeeds or asserts.
      storage/innobase/ut/ut0ut.c:
        Applied innodb-5.1-ss660 snapshot.
         Document better the "bool table_id" flags.
      d36f9479
    • unknown's avatar
    • unknown's avatar
      Fix problem with detecting wheter im processes has shutdown cleanly · 9229ce4c
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Fix problem with checking that all im processes has shutdown cleanly
        When it was detected that one of "im mysqlds" didn't shutdown, last was called to break the loop, but it only broke the inner loop.
        Remove the while(0) loop and make this easier by setting $clean_shutdown to 0 if any such problem is detected.
      9229ce4c
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/home/alexi/innodb/mysql-5.0-work · 3a409d4a
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.1-work
       Null merge.
      
      
      storage/innobase/btr/btr0cur.c:
        Null merge.
      storage/innobase/ibuf/ibuf0ibuf.c:
        Null merge.
      storage/innobase/include/sync0rw.ic:
        Null merge.
      3a409d4a
    • unknown's avatar
      Applied innodb-5.0-ss660 snapshot. · 820840a0
      unknown authored
      
      innobase/btr/btr0cur.c:
        Applied innodb-5.0-ss660 snapshot.
         btr_cur_search_to_nth_level(): Reacquire btr_search_latch after
         inserting to the insert buffer. This was noticed while analyzing
         Bug#19081 but this shold not fix this bug since according to
         Heikki, btr_search_latch is not reserved during an insert.
      innobase/ibuf/ibuf0ibuf.c:
        Applied innodb-5.0-ss660 snapshot.
         ibuf_fixed_addr_page(): Add parameter space. As the insert buffer
         B-tree is only located in the system tablespace (space 0),
         IBUF_TREE_ROOT_PAGE_NO is only special in space 0.
      innobase/include/sync0rw.ic:
        Applied innodb-5.0-ss660 snapshot.
         rw_lock_s_unlock_func(): Change a debug assertion to a
         production assertion in order to track down Bug#19081.
      820840a0
    • unknown's avatar
      Merge mysql.com:/home/alexi/innodb/mysql-4.1-work · d8bb59fc
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-work
        Null merge.
      
      
      innobase/ibuf/ibuf0ibuf.c:
        Null merge.
      d8bb59fc