1. 06 Jul, 2003 1 commit
    • 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
  2. 02 Jul, 2003 14 commits
    • unknown's avatar
      I committed the same changeset in my tree yesterday, but broke the tree since, · 1c88eead
      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.
      1c88eead
    • unknown's avatar
      Added missing (char*) casts in bzero calls. · e8a189d9
      unknown authored
      (Needed for platforms with the traditional bzero prototype.)
      Fixes BUG#460.
      
      e8a189d9
    • unknown's avatar
      innodb.result, innodb.test: · 755a99a2
      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
      755a99a2
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 1226d719
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      1226d719
    • unknown's avatar
      add comment for BUG 672 · 085ddfdc
      unknown authored
      085ddfdc
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · c456ffca
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      c456ffca
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0 · ec5a5682
      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
      ec5a5682
    • unknown's avatar
      fixed bug #672 · 2e12c12e
      unknown authored
      
      client/mysqlbinlog.cc:
        changed format of eof-packet for protocol 4.1
      2e12c12e
    • unknown's avatar
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 751026a1
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      751026a1
    • unknown's avatar
      Fix for a problem with : · b80ddda5
      unknown authored
      CREATE / INSERT ... (SELECT ...) UNION (SELECT ...) LIMIT;
      
      b80ddda5
    • unknown's avatar
      innodb.test, innodb.result: · efbf818c
      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)
      efbf818c
    • unknown's avatar
      sync0sync.c: · e5ded00c
      unknown authored
        Make execution with UNIV_SYNC_DEBUG faster
      
      
      innobase/sync/sync0sync.c:
        Make execution with UNIV_SYNC_DEBUG faster
      e5ded00c
    • unknown's avatar
      lock0lock.c: · 5cc081cc
      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
      5cc081cc
  3. 01 Jul, 2003 19 commits
    • unknown's avatar
      ha_innodb.cc: · 16192ebb
      unknown authored
        Cleanup
      
      
      sql/ha_innodb.cc:
        Cleanup
      16192ebb
    • unknown's avatar
      ha_innodb.cc: · f4fa0a04
      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
      f4fa0a04
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · fe230a09
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      fe230a09
    • unknown's avatar
      Some fixes for CREATE / INSERT FROM UNIO >.. · 1c0ea4db
      unknown authored
      1c0ea4db
    • unknown's avatar
      merge changes · 1e4b46ba
      unknown authored
      
      mysql-test/r/insert_select.result:
        Auto merged
      mysql-test/t/insert_select.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      1e4b46ba
    • unknown's avatar
      Lot's of clean-ups and fixes for 4.0.14. · ada4e384
      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
      ada4e384
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 18438ff7
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      18438ff7
    • unknown's avatar
      ha_innodb.cc: · e75ae07a
      unknown authored
        Fix a possible hang over the btr0sea.c latch
      
      
      sql/ha_innodb.cc:
        Fix a possible hang over the btr0sea.c latch
      e75ae07a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · bb794f7a
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      bb794f7a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 74fbd94a
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      74fbd94a
    • unknown's avatar
      made error output more detailed · d89fc067
      unknown authored
      d89fc067
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0 · 722dd22f
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_671/mysql-4.0
      
      
      client/mysqlbinlog.cc:
        Auto merged
      722dd22f
    • unknown's avatar
      removed --table option (fixed Bug #671) · f793def2
      unknown authored
      
      client/mysqlbinlog.cc:
        removed --table option
      f793def2
    • unknown's avatar
      Updated results after merge · d9ee2a98
      unknown authored
      d9ee2a98
    • unknown's avatar
      Merge with 3.23 tree to get latest bug fixes · d4f4bfff
      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
      d4f4bfff
    • unknown's avatar
      Optimized old patches · 50690c3a
      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
      50690c3a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 6d115c9c
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      6d115c9c
    • unknown's avatar
      Code/testcase cleanups · d43ee040
      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
      d43ee040
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-3.23 · 523f9a74
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-3.23
      
      523f9a74
  4. 30 Jun, 2003 5 commits
  5. 29 Jun, 2003 1 commit