1. 16 Mar, 2004 12 commits
  2. 13 Mar, 2004 4 commits
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.0 · e9eb0239
      unknown authored
      into hundin.mysql.fi:/home/marko/l/mysql-4.0
      
      
      e9eb0239
    • unknown's avatar
      InnoDB: Replace ut_a(0) with ut_error · 1f7f2662
      unknown authored
      
      innobase/btr/btr0btr.c:
        Replace ut_a(0) with ut_error
      innobase/buf/buf0flu.c:
        Replace ut_a(0) with ut_error
      innobase/buf/buf0lru.c:
        Replace ut_a(0) with ut_error
      innobase/data/data0data.c:
        Replace ut_a(0) with ut_error
      innobase/dict/dict0crea.c:
        Replace ut_a(0) with ut_error
      innobase/dict/dict0dict.c:
        Replace ut_a(0) with ut_error
      innobase/dict/dict0load.c:
        Replace ut_a(0) with ut_error
      innobase/fil/fil0fil.c:
        Replace ut_a(0) with ut_error
      innobase/fsp/fsp0fsp.c:
        Replace ut_a(0) with ut_error
      innobase/ibuf/ibuf0ibuf.c:
        Replace ut_a(0) with ut_error
      innobase/include/buf0buf.ic:
        Replace ut_a(0) with ut_error
      innobase/include/data0type.ic:
        Replace ut_a(0) with ut_error
      innobase/include/mtr0log.ic:
        Replace ut_a(0) with ut_error
      innobase/include/trx0rseg.ic:
        Replace ut_a(0) with ut_error
      innobase/lock/lock0lock.c:
        Replace ut_a(0) with ut_error
      innobase/log/log0log.c:
        Replace ut_a(0) with ut_error
      innobase/log/log0recv.c:
        Replace ut_a(0) with ut_error
      innobase/mem/mem0pool.c:
        Replace ut_a(0) with ut_error
      innobase/mtr/mtr0log.c:
        Replace ut_a(0) with ut_error
      innobase/os/os0file.c:
        Replace ut_a(0) with ut_error
      innobase/page/page0cur.c:
        Replace ut_a(0) with ut_error
      innobase/page/page0page.c:
        Replace ut_a(0) with ut_error
      innobase/pars/lexyy.c:
        Replace ut_a(0) with ut_error
      innobase/que/que0que.c:
        Replace ut_a(0) with ut_error
      innobase/rem/rem0cmp.c:
        Replace ut_a(0) with ut_error
      innobase/rem/rem0rec.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0ins.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0mysql.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0purge.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0row.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0sel.c:
        Replace ut_a(0) with ut_error
      innobase/row/row0undo.c:
        Replace ut_a(0) with ut_error
      innobase/srv/srv0srv.c:
        Replace ut_a(0) with ut_error
      innobase/sync/sync0arr.c:
        Replace ut_a(0) with ut_error
      innobase/trx/trx0purge.c:
        Replace ut_a(0) with ut_error
      innobase/trx/trx0trx.c:
        Replace ut_a(0) with ut_error
      innobase/trx/trx0undo.c:
        Replace ut_a(0) with ut_error
      1f7f2662
    • unknown's avatar
      after merge fixes. · 8dd15d31
      unknown authored
      8dd15d31
    • unknown's avatar
      multi_update.result: · 05b10203
      unknown authored
        Fix for a bug in the result
      multi_update.test:
        Fix for a bug in the test
      
      
      mysql-test/t/multi_update.test:
        Fix for a bug in the test
      mysql-test/r/multi_update.result:
        Fix for a bug in the result
      05b10203
  3. 12 Mar, 2004 13 commits
  4. 11 Mar, 2004 11 commits
    • unknown's avatar
      Merge · 965158f2
      unknown authored
      
      mysql-test/install_test_db.sh:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      mysql-test/mysql-test-run.sh:
        SCCS merged
      965158f2
    • unknown's avatar
      Merge with 3.23 to get patch for floor() · dd8b2551
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      myisam/mi_check.c:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/t/func_math.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      dd8b2551
    • unknown's avatar
      Ensure that install_test_db.sh script works with both 'make install' and... · a1d9e1ee
      unknown authored
      Ensure that install_test_db.sh script works with both 'make install' and 'make_binary_distribution' layouts
      Abort if we can't allocate memory for table cache
      Fix bug with multi-update-tables and BDB tables.
      
      
      extra/replace.c:
        Fix comments
      mysql-test/install_test_db.sh:
        Change internal option from -bin to --bin
        Ensure that script works with both 'make install' and 'make_binary_distribution' layouts (Bug #3031)
      mysql-test/mysql-test-run.sh:
        Change internal option from -bin to --bin
      sql/ha_berkeley.cc:
        More debug
      sql/mysql_priv.h:
        Change table_cache_init to return error
      sql/mysqld.cc:
        Abort if we can't allocate memory for table cache. (Bug #3085)
        Enable warnings by default
      sql/sql_base.cc:
        Change table_cache_init to return error
      sql/sql_update.cc:
        Fix bug with multi-update-tables and BDB tables. Bug #3098
        Problem was that we didn't initialize BDB for calls to rnd_pos()
      a1d9e1ee
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.0 · bebe22a9
      unknown authored
      into hundin.mysql.fi:/home/marko/l/mysql-4.0
      
      
      bebe22a9
    • unknown's avatar
      More consistent handling of magic numbers · edc17c00
      unknown authored
      
      innobase/include/data0data.h:
        dtuple_struct:magic_n: Enclose in #ifdef UNIV_DEBUG
      innobase/dict/dict0dict.c:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/dict/dict0mem.c:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/ha/hash0hash.c:
        Remove unused functions hash_mutex_enter_all and hash_mutex_exit_all
        Use magic_n only #ifdef UNIV_DEBUG
        Add ut_ad(table->magic_n == HASH_TABLE_MAGIC_N)
      innobase/include/dict0mem.h:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/include/hash0hash.h:
        Remove unused functions hash_mutex_enter_all and hash_mutex_exit_all
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/include/hash0hash.ic:
        Add ut_ad(table->magic_n == HASH_TABLE_MAGIC_N)
      innobase/include/mtr0mtr.h:
        Use state, magic_n only #ifdef UNIV_DEBUG
      innobase/include/row0ins.h:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/include/row0upd.h:
        Use magic_n only #ifdef UNIV_DEBUG
      innobase/row/row0ins.c:
        Use magic_n only #ifdef UNIV_DEBUG
        Add ut_ad(node->magic_n == INS_NODE_MAGIC_N)
      innobase/row/row0upd.c:
        Use magic_n only #ifdef UNIV_DEBUG
        Add ut_ad(node->magic_n == UPD_NODE_MAGIC_N)
      innobase/thr/thr0loc.c:
        Use magic_n only #ifdef UNIV_DEBUG
      edc17c00
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · e6f59dd6
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      e6f59dd6
    • unknown's avatar
      multi_update.result: · dc970f95
      unknown authored
        Test case for a #2996 bug fix
      multi_update.test:
        test case for a #2996 bug fix
      sql_select.cc:
        Fix for a bug #2996 involving multi-table updates over the const tables
      
      
      sql/sql_select.cc:
        Fix for a bug #2996 involving multi-table updates over the const tables
      mysql-test/t/multi_update.test:
        test case for a #2996 bug fix
      mysql-test/r/multi_update.result:
        Test case for a #2996 bug fix
      dc970f95
    • unknown's avatar
      Fixed error in version. · bb305494
      unknown authored
      bb305494
    • unknown's avatar
      Fix for BUG#2983 "If statement was killed on master, slave errors despite replicate-wild-ignore-t" · bd6c4ef4
      unknown authored
      We introduce a new function mysql_test_parse_for_slave().
      If the slave sees that the query got a really bad error on master
      (killed e.g.), then it calls this function to know if this query
      can be ignored because of replicate-*-table rules (do not worry
      about replicate-*-db rules: they are checked so early that they have
      no bug). If the answer is yes, it skips the query and continues. If
      it's no, then it stops and say "fix your slave data manually" (like it
      did before this change).
      
      
      mysql-test/r/rpl_error_ignored_table.result:
        result update
      mysql-test/t/rpl_error_ignored_table-slave.opt:
        ignore more tables
      mysql-test/t/rpl_error_ignored_table.test:
        we test if a killed query on the master, is ignored on the slave
        if the tables it involves should be excluded because of replicate-*-table
        rules.
      sql/log_event.cc:
        If the query got a really bad error on the master (thread killed etc),
        parse it to test the table names: if the replicate-*-do|ignore-table
        rules say "this query must be ignored" then we exit gracefully;
        otherwise we warn about the bad error and tell DBA to check/fix it.
        Before this change, we always warned and stopped.
      sql/mysql_priv.h:
        new function
      sql/slave.cc:
        don't print error immediately as we need to do one more test to
        be sure.
      sql/sql_parse.cc:
        we add a function mysql_test_parse_for_slave(), to be used only
        by the slave if it wants to know if the query should be ignored or not;
        so this function only parses the query, does not execute it.
      bd6c4ef4
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · b1e0a38f
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      sql/set_var.cc:
        Auto merged
      b1e0a38f
    • unknown's avatar
      Fix for BUG#2921 "Replication problem on mutex lock in mySQL-4.0.18": · f8080302
      unknown authored
      re-using unused LOCK_active_mi to serialize all administrative
      commands related to replication:
      START SLAVE, STOP SLAVE, RESET SLAVE, CHANGE MASTER, init_slave()
      (replication autostart at server startup), end_slave() (replication
      autostop at server shutdown), LOAD DATA FROM MASTER.
      This protects us against a handful of deadlocks (like BUG#2921
      when two START SLAVE, but when two STOP SLAVE too).
      Removing unused variables.
      
      
      sql/item_func.cc:
        We don't need LOCK_active_mi just to MASTER_POS_WAIT().
      sql/repl_failsafe.cc:
        no need for macro
      sql/set_var.cc:
        no need for macro
      sql/slave.cc:
        Re-using unused LOCK_active_mi to serialize all administrative
        commands related to replication:
        START SLAVE, STOP SLAVE, RESET SLAVE, CHANGE MASTER, init_slave()
        (replication autostart at server startup), end_slave() (replication
        autostop at server shutdown), LOAD DATA FROM MASTER.
        This protects us against a handful of deadlocks.
        Removing unused variables.
      sql/slave.h:
        Re-using LOCK_active_mi to serialize administrative replication commands.
        Macros unneeded. Removing unneeded variables.
      sql/sql_parse.cc:
        found unused variable.
        Replacing macros.
      sql/sql_show.cc:
        replacing macros
      f8080302