1. 07 Jul, 2003 5 commits
  2. 06 Jul, 2003 5 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · dfa08e3a
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      dfa08e3a
    • unknown's avatar
      WL#912 (more user control on relay logs): · c22f493a
      unknown authored
      FLUSH LOGS now rotates relay logs,
      and a new variable max_relay_log_size.
      Plus a very small bit of code cleaning.
      
      
      libmysqld/lib_sql.cc:
        open_log has no default arguments anymore.
      mysql-test/r/rpl_flush_log_loop.result:
        result update now that FLUSH LOGS rotates relay logs.
      mysql-test/r/rpl_log.result:
        result update now that FLUSH LOGS rotates relay logs.
      mysql-test/r/rpl_rotate_logs.result:
        result update now that max_binlog_size is 4096.
      mysql-test/t/rpl_rotate_logs-master.opt:
        now max_binlog_size must be a multiple of 4096 (see change in mysqld.cc)
      sql/log.cc:
        Got rid of default arguments of various MYSQL_LOG methods (the default arguments
        made code reading uneasy).
        Set max_size in ::init().
        New function set_max_size() to set max_size of a MYSQL_LOG on-the-fly.
        More DBUG info.
      sql/mysql_priv.h:
        no defaults in open_log().
        New variables max_relay_log_size.
      sql/mysqld.cc:
        New variable and option max_relay_log_size.
        max_binlog_size and max_relay_log_size are multiples of IO_SIZE.
        No more default arguments for log functions.
      sql/set_var.cc:
        New variable max_relay_log_size.
        If it is 0, then max_binlog_size will apply to relay logs.
        When one of these variables is changed, fix_max_%log_size is called
        to update max_size of the binary and/or relay logs.
      sql/slave.cc:
        New function rotate_relay_log().
      sql/slave.h:
        New function rotate_relay_log().
      sql/sql_class.h:
        New member max_size of MYSQL_LOG (for automatic rotation).
        New method set_max_size() for setting on-the-fly.
      sql/sql_parse.cc:
        Flush the relay log in FLUSH LOGS.
      c22f493a
    • unknown's avatar
      row0mysql.c: · b1b806af
      unknown authored
        Fix performance bug: if there were thousands of tables, DROP TABLE could take as much as a second CPU time
      
      
      innobase/row/row0mysql.c:
        Fix performance bug: if there were thousands of tables, DROP TABLE could take as much as a second CPU time
      b1b806af
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · a03dbb21
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      a03dbb21
    • unknown's avatar
      srv0srv.c: · 0bd6c914
      unknown authored
        In background loop run purge to completion before doing other background operations: it does not make sense to flush buffer pool pages if they are soon modified again by purge
      trx0purge.c:
        Increase purge_sys->n_pages_handled for every undo log we purge, even if that log would be only a hundred bytes: that way we get the purge batches of 20 pages to set a fresh purge view (limit) more often, and we can reduce the number of old row versions purge has to look at when it decides if it can remove some delete-marked index record
      
      
      innobase/trx/trx0purge.c:
        Increase purge_sys->n_pages_handled for every undo log we purge, even if that log would be only a hundred bytes: that way we get the purge batches of 20 pages to set a fresh purge view (limit) more often, and we can reduce the number of old row versions purge has to look at when it decides if it can remove some delete-marked index record
      innobase/srv/srv0srv.c:
        In background loop run purge to completion before doing other background operations: it does not make sense to flush buffer pool pages if they are soon modified again by purge
      0bd6c914
  3. 05 Jul, 2003 1 commit
  4. 04 Jul, 2003 14 commits
  5. 03 Jul, 2003 15 commits
    • unknown's avatar
      Fix for bug #676 · 4e472ffd
      unknown authored
      A security leak with SHOW TABLES/ TABLE STATUS FROM db ...
      
      4e472ffd
    • unknown's avatar
      ha_innodb.cc: · 41dac6fe
      unknown authored
        Since the mysql interactive client or some other phase in communication cuts > 64 kB strings to very short, restrict the output of SHOW INNODB STATUS to at most 60 kB
      
      
      sql/ha_innodb.cc:
        Since the mysql interactive client or some other phase in communication cuts > 64 kB strings to very short, restrict the output of SHOW INNODB STATUS to at most 60 kB
      41dac6fe
    • unknown's avatar
      Many files: · 17348394
      unknown authored
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      os0sync.h, os0sync.c:
        Fix a bug in os_event on Unix: even though we signaled the event, some threads could continue waiting if the event became nonsignaled quickly again; this made group commit less efficient than it should be
      
      
      innobase/os/os0sync.c:
        Fix a bug in os_event on Unix: even though we signaled the event, some threads could continue waiting if the event became nonsignaled quickly again; this made group commit less efficient than it should be
      innobase/include/os0sync.h:
        Fix a bug in os_event on Unix: even though we signaled the event, some threads could continue waiting if the event became nonsignaled quickly again; this made group commit less efficient than it should be
      innobase/log/log0log.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/include/log0log.h:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/srv/srv0srv.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/row/row0mysql.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/trx/trx0trx.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      sql/ha_innodb.cc:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      innobase/btr/btr0btr.c:
        Remove potential starvation of a full log buffer flush: only flush up to the lsn which was the largest at the time when we requested the full log buffer flush
      17348394
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0 · 5bfda7a5
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.0.739
      
      5bfda7a5
    • unknown's avatar
      Fix for #739 · b1785ea6
      unknown authored
      check for negative count in RPAD added
      
      
      mysql-test/r/func_str.result:
        Appropriate result
      mysql-test/t/func_str.test:
        testcase added
      sql/item_strfunc.cc:
        we return NULL if count < 0
      b1785ea6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · b33ef085
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      b33ef085
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 6a3c0994
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      6a3c0994
    • unknown's avatar
      Fix for UNIXWARE 7 · 5179b541
      unknown authored
      Remove unaligned warnings on Ia64 from client library when using --host
      Fix for replication when using many file descriptors 
      
      
      include/my_global.h:
        Fix for UNIXWARE 7
      libmysql/libmysql.c:
        Portability fix (removes unaligned warnings on Ia64)
      mysql-test/r/symlink.result:
        Updated results
      sql/mini_client.cc:
        Ported connect timeout code from libmysql.c
      5179b541
    • unknown's avatar
      Proposed fix for #751 · 460ffd36
      unknown authored
      Fields in key_expr (mysql_ha_read) wasn't linked to tables.
      Hmm. How did it work at all?
      
      
      mysql-test/r/alias.result:
        It's better to delete table after the test
      mysql-test/r/handler.result:
        appropriate result
      mysql-test/t/alias.test:
        it's better to drop table after test
      mysql-test/t/handler.test:
        test case for #751
      sql/sql_handler.cc:
        fix_fields called
      460ffd36
    • unknown's avatar
      trx0trx.c: · 039a9877
      unknown authored
        Fix bug: group commit still did not work when we had MySQL binlogging on
      
      
      innobase/trx/trx0trx.c:
        Fix bug: group commit still did not work when we had MySQL binlogging on
      039a9877
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0 · 088e77b6
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.0
      
      088e77b6
    • unknown's avatar
      Test case for #570 added · f37a9d94
      unknown authored
      
      mysql-test/r/alias.result:
        Appropriate test result
      mysql-test/t/alias.test:
        Testcase for #570
      f37a9d94
    • unknown's avatar
      Fix and test-case for the bug #775: SELECT misses rows in indexed HEAP table columns. · 9227424a
      unknown authored
      
      heap/hp_open.c:
        Fix for the bug #775: SELECT misses rows in indexed HEAP table columns.
      mysql-test/r/heap.result:
        Test-case for the bug #775: SELECT misses rows in indexed HEAP table columns.
      mysql-test/t/heap.test:
        Test-case for the bug #775: SELECT misses rows in indexed HEAP table columns.
      9227424a
    • unknown's avatar
      Merge pzaitsev@bk-internal.mysql.com:/home/bk/mysql-4.0 · c5987388
      unknown authored
      into mysql.com:/home/pz/mysql/mysql-4.0-root
      
      c5987388
    • unknown's avatar
      New Sample config file. · c0c937e0
      unknown authored
      The changes for actual loads and memory sizes are to be done after
      text and format are  improved.
      
      c0c937e0