1. 06 Jul, 2003 1 commit
    • unknown's avatar
      WL#912 (more user control on relay logs): · 27601fc5
      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.
      27601fc5
  2. 02 Jul, 2003 14 commits
    • unknown's avatar
      I committed the same changeset in my tree yesterday, but broke the tree since, · e22a31f1
      unknown authored
      so I commit again in a fresh tree.
      Fix for bug#763 (Relay_log_space too big by 4 bytes),
      plus comments and DBUG_PRINT, and we don't start replication
      if --bootstrap.
      
      
      mysql-test/r/rpl_log.result:
        Result update
      mysql-test/r/rpl_log_pos.result:
        Result update
      sql/mysqld.cc:
        Don't start replication if in bootstrap mode (bootstrap isn't supposed to have
        several threads).
      sql/slave.cc:
        Fix for bug 763 (Relay_log_space too big by 4 bytes).
        A DBUG_PRINT.
      sql/sql_acl.cc:
        Replaced a return by DBUG_RETURN (happened to find this reading a debug log).
      sql/sql_repl.cc:
        A comment.
      e22a31f1
    • unknown's avatar
      Added missing (char*) casts in bzero calls. · c0eb4485
      unknown authored
      (Needed for platforms with the traditional bzero prototype.)
      Fixes BUG#460.
      
      
      c0eb4485
    • unknown's avatar
      innodb.result, innodb.test: · 0b37eae1
      unknown authored
        Remove all nondeterministic tests from innodb.test; but I have to study why on 64 bits we get different estimates
      
      
      mysql-test/t/innodb.test:
        Remove all nondeterministic tests from innodb.test; but I have to study why on 64 bits we get different estimates
      mysql-test/r/innodb.result:
        Remove all nondeterministic tests from innodb.test; but I have to study why on 64 bits we get different estimates
      0b37eae1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · cb151c2a
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      cb151c2a
    • unknown's avatar
      add comment for BUG 672 · 34b4da78
      unknown authored
      34b4da78
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 4872adb6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      4872adb6
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0 · 8c113acf
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_672/mysql-4.0
      
      
      client/mysqlbinlog.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      8c113acf
    • unknown's avatar
      fixed bug #672 · 71373afb
      unknown authored
      
      client/mysqlbinlog.cc:
        changed format of eof-packet for protocol 4.1
      71373afb
    • unknown's avatar
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · fd693194
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      fd693194
    • unknown's avatar
      Fix for a problem with : · 66237f45
      unknown authored
      CREATE / INSERT ... (SELECT ...) UNION (SELECT ...) LIMIT;
      
      
      66237f45
    • unknown's avatar
      innodb.test, innodb.result: · 7ad2b849
      unknown authored
        Remove nondeterministic EXPLAIN SELECT which gives on 64-bit platforms a slightly different estimate (sometimes we should study why we get different results on 64-bit and 32-bit)
      
      
      mysql-test/r/innodb.result:
        Remove nondeterministic EXPLAIN SELECT which gives on 64-bit platforms a slightly different estimate (sometimes we should study why we get different results on 64-bit and 32-bit)
      mysql-test/t/innodb.test:
        Remove nondeterministic EXPLAIN SELECT which gives on 64-bit platforms a slightly different estimate (sometimes we should study why we get different results on 64-bit and 32-bit)
      7ad2b849
    • unknown's avatar
      sync0sync.c: · c7c8a913
      unknown authored
        Make execution with UNIV_SYNC_DEBUG faster
      
      
      innobase/sync/sync0sync.c:
        Make execution with UNIV_SYNC_DEBUG faster
      c7c8a913
    • unknown's avatar
      lock0lock.c: · 62389a5a
      unknown authored
        Fix a latching order violation in the previous (2003-06-15) push: could lead to a hang on the btr0sea.c semaphore
      
      
      innobase/lock/lock0lock.c:
        Fix a latching order violation in the previous (2003-06-15) push: could lead to a hang on the btr0sea.c semaphore
      62389a5a
  3. 01 Jul, 2003 19 commits
    • unknown's avatar
      ha_innodb.cc: · 24d93bed
      unknown authored
        Cleanup
      
      
      sql/ha_innodb.cc:
        Cleanup
      24d93bed
    • unknown's avatar
      ha_innodb.cc: · 593c6d9a
      unknown authored
        Remove still some potential hangs over the btr0sea.c semaphore
      
      
      sql/ha_innodb.cc:
        Remove still some potential hangs over the btr0sea.c semaphore
      593c6d9a
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · a2dfa952
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      a2dfa952
    • unknown's avatar
      Some fixes for CREATE / INSERT FROM UNIO >.. · 417c571b
      unknown authored
      417c571b
    • unknown's avatar
      merge changes · 65d79805
      unknown authored
      
      mysql-test/r/insert_select.result:
        Auto merged
      mysql-test/t/insert_select.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      65d79805
    • unknown's avatar
      Lot's of clean-ups and fixes for 4.0.14. · 12d879c9
      unknown authored
      
      include/my_global.h:
        CONFIG_SMP
      mysql-test/r/grant.result:
        Test cases for bug fixes
      mysql-test/r/insert_select.result:
        Test cases for bug fixes
      mysql-test/r/union.result:
        Test cases for bug fixes
      mysql-test/t/grant.test:
        Test cases for bug fixes
      mysql-test/t/insert_select.test:
        Test cases for bug fixes
      mysql-test/t/union.test:
        Test cases for bug fixes
      sql/sql_acl.cc:
        Fix for granting global privileges on db level
      sql/sql_parse.cc:
        Fix for INSERT... SELECT
      sql/sql_select.cc:
        removing a fix
      sql/sql_union.cc:
        P
      12d879c9
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 6806765a
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      
      6806765a
    • unknown's avatar
      ha_innodb.cc: · 25230490
      unknown authored
        Fix a possible hang over the btr0sea.c latch
      
      
      sql/ha_innodb.cc:
        Fix a possible hang over the btr0sea.c latch
      25230490
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 49938821
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      49938821
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · cc6fc0ea
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      
      cc6fc0ea
    • unknown's avatar
      made error output more detailed · f3381e73
      unknown authored
      f3381e73
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0 · f604b050
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_671/mysql-4.0
      
      
      client/mysqlbinlog.cc:
        Auto merged
      f604b050
    • unknown's avatar
      removed --table option (fixed Bug #671) · f1ef7dd0
      unknown authored
      
      client/mysqlbinlog.cc:
        removed --table option
      f1ef7dd0
    • unknown's avatar
      Updated results after merge · 46bcc475
      unknown authored
      46bcc475
    • unknown's avatar
      Merge with 3.23 tree to get latest bug fixes · 5a3c12ef
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/item_func.cc:
        Auto merged
      mysql-test/t/user_var.test:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/nt_servc.cc:
        Auto merged
      configure.in:
        Use local version
      innobase/os/os0file.c:
        Use local version
      innobase/page/page0page.c:
        Use local version
      innobase/row/row0sel.c:
        Use local version
      innobase/row/row0vers.c:
        Use local version
      mysql-test/r/order_by.result:
        Use local version
      mysql-test/r/user_var.result:
        merge with 3.23
      mysql-test/t/order_by.test:
        Use local version (test is already in range.test)
      sql/log.cc:
        Use local version
      sql/share/spanish/errmsg.txt:
        merge
      sql/slave.cc:
        Use local version
      sql/sql_class.h:
        Use local version
      sql/sql_select.cc:
        Use patch in 4.0 for range with NULL problem
      5a3c12ef
    • unknown's avatar
      Optimized old patches · 23a9a580
      unknown authored
      Don't set field to DEFAULT value when set to NULL
      
      
      mysql-test/r/insert.result:
        Updated results after patch
      sql/field_conv.cc:
        Revert patch: Don't set field to DEFAULT value when set to NULL
      sql/item_strfunc.cc:
        Optimized patch for null handling with elt
      sql/opt_range.cc:
        Safety fix for range with null patch
      23a9a580
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 0fe578f5
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      0fe578f5
    • unknown's avatar
      Code/testcase cleanups · bbf8ebe8
      unknown authored
      
      mysql-test/r/insert_select.result:
        Fixed results
      mysql-test/r/join_outer.result:
        New test case for inner join table dependency
      mysql-test/t/insert_select.test:
        Remove not used drop tables.
        Fixed table names
      mysql-test/t/join_outer.test:
        New test case for inner join table dependency
      sql/slave.cc:
        Simple optimizations
      bbf8ebe8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-3.23 · 1726ae86
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-3.23
      
      
      1726ae86
  4. 30 Jun, 2003 5 commits
  5. 29 Jun, 2003 1 commit