1. 19 May, 2003 6 commits
    • unknown's avatar
      Merge with 4.0.13 · daac922b
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      BUILD/SETUP.sh:
        Auto merged
      BitKeeper/deleted/.del-libmysql.def~29fc6d70335f1c4c:
        Auto merged
      Makefile.am:
        Auto merged
      acinclude.m4:
        Auto merged
      BitKeeper/triggers/post-commit:
        Auto merged
      Build-tools/Do-compile:
        Auto merged
      VC++Files/libmysql/libmysql.dsp:
        Auto merged
      VC++Files/mysql.dsw:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqlbinlog.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      include/config-win.h:
        Auto merged
      include/my_base.h:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      include/violite.h:
        Auto merged
      innobase/buf/buf0flu.c:
        Auto merged
      innobase/buf/buf0lru.c:
        Auto merged
      innobase/include/buf0buf.h:
        Auto merged
      innobase/include/buf0lru.h:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/include/srv0srv.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/log/log0log.c:
        Auto merged
      innobase/log/log0recv.c:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      innobase/trx/trx0sys.c:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      innobase/ut/ut0ut.c:
        Auto merged
      myisam/ft_boolean_search.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_key.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      myisam/mi_range.c:
        Auto merged
      myisam/mi_search.c:
        Auto merged
      myisam/sort.c:
        Auto merged
      mysql-test/r/delete.result:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/innodb_handler.result:
        Auto merged
      mysql-test/r/join.result:
        Auto merged
      mysql-test/r/join_outer.result:
        Auto merged
      mysql-test/r/key.result:
        Auto merged
      mysql-test/r/multi_update.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/alter_table.test:
        Auto merged
      mysql-test/t/ctype_latin1_de.test:
        Auto merged
      mysql-test/t/delete.test:
        Auto merged
      mysql-test/t/fulltext.test:
        Auto merged
      mysql-test/t/innodb_handler.test:
        Auto merged
      mysql-test/t/join.test:
        Auto merged
      mysql-test/t/join_outer.test:
        Auto merged
      mysql-test/t/key.test:
        Auto merged
      mysql-test/t/multi_update.test:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      mysql-test/t/repair.test:
        Auto merged
      mysql-test/t/select_safe.test:
        Auto merged
      mysql-test/t/type_decimal.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      scripts/mysql_fix_privilege_tables.sh:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/ha_heap.h:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/init.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/mini_client.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/records.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_acl.h:
        Auto merged
      sql/sql_analyse.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_list.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/share/czech/errmsg.txt:
        Auto merged
      sql/share/danish/errmsg.txt:
        Auto merged
      sql/share/dutch/errmsg.txt:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/estonian/errmsg.txt:
        Auto merged
      sql/share/french/errmsg.txt:
        Auto merged
      sql/share/greek/errmsg.txt:
        Auto merged
      sql/share/hungarian/errmsg.txt:
        Auto merged
      sql/share/italian/errmsg.txt:
        Auto merged
      sql/share/japanese/errmsg.txt:
        Auto merged
      sql/share/korean/errmsg.txt:
        Auto merged
      sql/share/norwegian-ny/errmsg.txt:
        Auto merged
      sql/share/norwegian/errmsg.txt:
        Auto merged
      sql/share/portuguese/errmsg.txt:
        Auto merged
      sql/share/romanian/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/slovak/errmsg.txt:
        Auto merged
      sql/share/spanish/errmsg.txt:
        Auto merged
      sql/share/swedish/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      sql/unireg.h:
        Auto merged
      sql-bench/crash-me.sh:
        Auto merged
      sql-bench/test-transactions.sh:
        Auto merged
      strings/ctype-tis620.c:
        Auto merged
      tests/grant.res:
        Auto merged
      sql/log_event.cc:
        Merge with 4.0.13
        Cleaned up comment syntax
      daac922b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 68aa31f2
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      sql/mysql_priv.h:
        Auto merged
      68aa31f2
    • unknown's avatar
      Added option --read-only (Thanks to Markus Benning) · 18dd37b8
      unknown authored
      
      myisam/myisamchk.c:
        Removed warning from fulltext when repairing many tables with fulltext index
      sql/init.cc:
        Remove not used variables
      sql/mysql_priv.h:
        Remove not used variables
      sql/mysqld.cc:
        Removed not used variables
        Added option --read-only
        Change opt_do_pstack and master_ssl to get them to work with my_getopt
      sql/set_var.cc:
        Option --read-only
      sql/sql_parse.cc:
        Option --read-only
      18dd37b8
    • unknown's avatar
      Fix for when compiling with HAVE_ISAM enabled · 7c189b0d
      unknown authored
      7c189b0d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 2dd3c929
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      sql/mysqld.cc:
        Auto merged
      2dd3c929
    • unknown's avatar
      Add empty() function for baselist. · 6832b0a9
      unknown authored
      
      sql/mysqld.cc:
        Simple cleanup
      6832b0a9
  2. 18 May, 2003 1 commit
    • unknown's avatar
      srv0start.c: · c2c0e70f
      unknown authored
        Better instructions for the user if adding of new ibdata files fails
      
      
      innobase/srv/srv0start.c:
        Better instructions for the user if adding of new ibdata files fails
      c2c0e70f
  3. 17 May, 2003 1 commit
    • unknown's avatar
      buf0buf.c: · bdf002d9
      unknown authored
        When calculating the buf pool dirty pages ratio, add also free pages to the LRU list length: no need to active flushing if there are lots of free pages in the buffer pool
      
      
      innobase/buf/buf0buf.c:
        When calculating the buf pool dirty pages ratio, add also free pages to the LRU list length: no need to active flushing if there are lots of free pages in the buffer pool
      bdf002d9
  4. 16 May, 2003 4 commits
    • unknown's avatar
      LOCAL is an alias of NO_WRITE_TO_BINLOG · da737d14
      unknown authored
      da737d14
    • unknown's avatar
      buf0lru.c, buf0flu.c, buf0buf.c, buf0lru.h: · e4a95f29
      unknown authored
        Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush
      trx0trx.c:
        Add forgotten return value (it was not used anywhere, fortunately)
      ha_innodb.h, mysql_priv.h:
        Move declaration of srv_buf_pool_max_modified_pct to ha_innodb.h and enclose it to denote it is a C variable, not C++
      
      
      sql/mysql_priv.h:
        Move declaration of srv_buf_pool_max_modified_pct to ha_innodb.h and enclose it to denote it is a C variable, not C++
      sql/ha_innodb.h:
        Move declaration of srv_buf_pool_max_modified_pct to ha_innodb.h and enclose it to denote it is a C variable, not C++
      innobase/trx/trx0trx.c:
        Add forgotten return value (it was not used anywhere, fortunately)
      innobase/include/buf0lru.h:
        Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush
      innobase/buf/buf0buf.c:
        Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush
      innobase/buf/buf0flu.c:
        Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush
      innobase/buf/buf0lru.c:
        Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush
      e4a95f29
    • unknown's avatar
      d57d45bb
    • unknown's avatar
      my_global.h: · 71df0f64
      unknown authored
        - QNX 6.2.1 actually defines HAVE_RINT
        - fixed rint(A) #define as it was causing compile errors on QNX
      
      
      include/my_global.h:
        - QNX 6.2.1 actually defines HAVE_RINT
        - fixed rint(A) #define as it was causing compile errors on QNX
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      71df0f64
  5. 15 May, 2003 7 commits
    • unknown's avatar
      changes to mysqladmin : use queries instead of commands (so that they have a chance to go · 80c1556a
      unknown authored
      into the binlog), SLAVE START -> START SLAVE, error test changes.
      
      
      client/mysqladmin.c:
        Now that FLUSH TABLES and some other FLUSH go into the binlog, the same commands
        issued from mysqladmin should also go into the binlog. How could I explain to
        a user that "mysql -e 'flush tables'" is not exactly the same as "mysqladmin
        flush-tables" ?? So I replace mysql_refresh() by mysql_query().
        Also SLAVE START -> START SLAVE to make this work with 4.1 (it won't work with
        3.23 anymore).
        Also the code tested for mysql_refresh() < 0 for errors, but this cannot happen :
        - mysql_refresh() calls simple_command()
        - in 4.1 the return type of simple_command() is my_bool, and I have checked the 4.1 libmysql
        code and it returns 0 or 1, not negative values.
        - note that in 4.0 libmysql, simple_command() returns int which can be < 0, but we don't
        care here as we link the 4.1 mysqladmin with the 4.1 libmysql.
        Btw, some other parts of the code already checked
        for mysql_refresh() != 0, not < 0. So now it's homogenous : we always test for != 0
        instead of < 0.
      80c1556a
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · ddabd51c
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      ddabd51c
    • unknown's avatar
      Scrum task 845. Thi is a behaviour change : · ec72bda5
      unknown authored
      now by default, FLUSH, OPTIMIZE, ANALYZE, REPAIR commands are written to the
      binlog, unless the new NO_WRITE_TO_BINLOG keyword was used :
      OPTIMIZE NO_WRITE_TO_BINLOG table t;
      
      Previously these commands were never written to the binlog, but there are
      2 reasons to change this :
      - the RENAME TABLE in MERGE table bug (#175) on slave
      - the possible "differently optimised queries may lead to different
      updates on the master and slave" bug, until we have automatic ORDER BY.
      
      FLUSH LOGS/SLAVE/MASTER/TABLES WITH READ LOCK are never written to the binlog.
      New test for the new logging behaviour.
      Other small change : reload_acl_and_cache() and reset_slave() don't send their errors themselves,
      this is more usual.
      
      
      mysql-test/mysql-test-run.sh:
        rpl_flush_tables.test generates 'table xx is open on rename'.
        This is normal and done on purpose, so don't report it.
      sql/lex.h:
        New keyword NO_WRITE_TO_BINLOG
      sql/mysql_priv.h:
        reload_acl_and_cache() now decides if we want to write the FLUSH command
        to the binlog or not (FLUSH MASTER, FLUSH SLAVE, FLUSH TABLES
        WITH READ LOCK, FLUSH LOGS cannot go into the binlog).
      sql/mysqld.cc:
        updated for new prototype of reload_acl_and_cache().
      sql/sql_lex.h:
        New boolean no_write_to_binlog in the lex structure.
      sql/sql_parse.cc:
        reload_acl_and_cache() now does not send its errors itself;
        it saves the error and the caller sends it.
        FLUSH, OPTIMIZE, ANALYZE, REPAIR commands don't write to the binlog
        if the NO_WRITE_TO_BINLOG keyword was used.
      sql/sql_repl.cc:
        reset_slave() does not send its errors himself.
      sql/sql_yacc.yy:
        New optional keyword NO_WRITE_TO_BINLOG for OPTIMIZE/ANALYZE/REPAIR/FLUSH :
        OPTIMIZE NO_WRITE_TO_BINLOG TABLE t;
        ANALYZE NO_WRITE_TO_BINLOG TABLE t;
        REPAIR NO_WRITE_TO_BINLOG TABLE t;
        FLUSH NO_WRITE_TO_BINLOG TABLE t;
      ec72bda5
    • unknown's avatar
      Fix to get thread_test to compile · 8178016c
      unknown authored
      
      BitKeeper/etc/ignore:
        added insert_test
      tests/thread_test.c:
        Remove compiler warnings
      8178016c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · df9068e3
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      df9068e3
    • unknown's avatar
      Remove warning from automake · 5dc31217
      unknown authored
      5dc31217
    • unknown's avatar
      configure.in: · e6ea512d
      unknown authored
        ./configure --with-charset=big5  didn't work
      
      
      configure.in:
        ./configure --with-charset=big5  didn't work
      e6ea512d
  6. 14 May, 2003 13 commits
  7. 13 May, 2003 8 commits