1. 31 Jan, 2002 1 commit
    • unknown's avatar
      temporary commit to pull Monty's changes · af6c16b3
      unknown authored
      
      include/my_global.h:
        added dbug_volatile
      mysys/mf_iocache2.c:
        some debugging code to investigate failed assert in my_b_append_tell()
      sql/item_func.cc:
        fixed logging bug in DO RELEASE_LOCK()
      af6c16b3
  2. 29 Jan, 2002 6 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 88f267a5
      unknown authored
      into mysql.sashanet.com:/reiser-data/mysql-4.0
      
      
      sql/slave.cc:
        Auto merged
      88f267a5
    • unknown's avatar
      temporary commit - need to pull Monty's changes · bd00ea6c
      unknown authored
      
      mysql-test/t/rpl000001.test:
        modified test to break current replicatioin on a large log with a large lag 
        in slave thread between append and read of the relay log
      mysys/mf_iocache.c:
        fixed one bug in IO_CACHE but there is another one not fixed yet
      sql/slave.cc:
        fixed bug in 3.23 master replication
      bd00ea6c
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 · dd76a460
      unknown authored
      
      sql/share/dutch/errmsg.txt:
        Auto merged
      dd76a460
    • unknown's avatar
      New error messages · bee88cd2
      unknown authored
      Test of unsigned BIGINT values
      Fixes for queries-per-hour
      Cleanup of replication code (comments and portability fixes)
      Make most of the binary log code 4G clean
      Changed syntax for GRANT ... QUERIES PER HOUR
      
      
      Docs/manual.texi:
        Fixed Changelog, upgrading to 4.0 and 4.1 TODO sections.
      Docs/mysqld_error.txt:
        Added error message.
      configure.in:
        Fix for autoconf 2.52
      include/my_getopt.h:
        Portability fix.
      include/my_global.h:
        Portablity fix.
      include/mysqld_error.h:
        New error messages
      mysql-test/r/bigint.result:
        Test of unsigned BIGINT values.
      mysql-test/r/func_op.result:
        Test of unsigned BIGINT values.
      mysql-test/r/varbinary.result:
        Test of unsigned BIGINT values.
      mysql-test/t/bigint.test:
        Test of unsigned BIGINT values.
      sql/item_func.h:
        Optimized Item_int_func() usage.
      sql/lock.cc:
        Cleanup comments
      sql/log.cc:
        Cleanup
      sql/log_event.cc:
        Cleanup and portability fixes.
      sql/log_event.h:
        Cleanup and portability fixes.
      sql/mini_client.cc:
        Cleanup and portability fixes.
      sql/mysqld.cc:
        Fix for queries-per-hour
      sql/repl_failsafe.cc:
        Prepare for making binary log 2G clean.
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/share/french/errmsg.txt:
        New error messages
      sql/share/german/errmsg.txt:
        New error messages
      sql/share/greek/errmsg.txt:
        New error messages
      sql/share/hungarian/errmsg.txt:
        New error messages
      sql/share/italian/errmsg.txt:
        New error messages
      sql/share/japanese/errmsg.txt:
        New error messages
      sql/share/korean/errmsg.txt:
        New error messages
      sql/share/norwegian-ny/errmsg.txt:
        New error messages
      sql/share/norwegian/errmsg.txt:
        New error messages
      sql/share/polish/errmsg.txt:
        New error messages
      sql/share/portuguese/errmsg.txt:
        New error messages
      sql/share/romanian/errmsg.txt:
        New error messages
      sql/share/russian/errmsg.txt:
        New error messages
      sql/share/slovak/errmsg.txt:
        New error messages
      sql/share/spanish/errmsg.txt:
        New error messages
      sql/share/swedish/errmsg.txt:
        New error messages
      sql/share/ukrainian/errmsg.txt:
        New error messages
      sql/slave.cc:
        Cleanup
      sql/slave.h:
        Cleanup
      sql/sql_acl.cc:
        Cleanup and removal of possible reserved words
      sql/sql_base.cc:
        More DBUG
      sql/sql_cache.cc:
        Cleanup & portability fixes
      sql/sql_class.h:
        Make binary log 4G clean
      sql/sql_delete.cc:
        More DBUG
      sql/sql_handler.cc:
        Cleanup & portability fixes
      sql/sql_parse.cc:
        Cleanup of queries-per-hours code
      sql/sql_rename.cc:
        Add missing DBUG_RETURN
      sql/sql_repl.cc:
        Cleanup & portability fixes
      sql/sql_select.cc:
        Cleanup & portability fixes
      sql/sql_show.cc:
        Cleanup & portability fixes
      sql/sql_update.cc:
        Small cleanup of multi-update-code (need second pass)
      sql/sql_yacc.yy:
        Changed syntax for GRANT ... QUERIES PER HOUR
      strings/str2int.c:
        Cleanup & portability fixes
      bee88cd2
    • unknown's avatar
      Little fixup for template. · 5998c815
      unknown authored
      5998c815
    • unknown's avatar
      fbfd1871
  3. 28 Jan, 2002 1 commit
  4. 27 Jan, 2002 2 commits
    • unknown's avatar
    • unknown's avatar
      misc replication bugfixes including some needed modifications in IO_CACHE · 3525985c
      unknown authored
      likely() and unlikely() branch prediction compiler hint macros
      clean-up of comments
      
      
      include/my_global.h:
        added likely() and unlikely() macros to help some compilers optimize
        the code for architecture-specific branch prediction policies
      include/my_sys.h:
        coverted my_b_append_tell() from macro to a function as it needed to be more
        complex to avoid a potential race condition
      mysql-test/mysql-test-run.sh:
        hostname-independent relay log name to have consistent SHOW SLAVE STATUS
        output
      mysql-test/r/rpl000014.result:
        result update
      mysql-test/r/rpl000015.result:
        result update
      mysql-test/r/rpl000016.result:
        result update
      mysql-test/r/rpl_log.result:
        result update
      mysql-test/t/rpl000017-slave.sh:
        proper cleanup of old logs
      mysys/mf_iocache.c:
        cosmetic changes + more debugging asserts
      mysys/mf_iocache2.c:
        my_b_append_tell()
        cleanup of comments
      sql/log.cc:
        fix potential bug - do not rotate log in the middle of event
      sql/slave.cc:
        do not write stop events when the server does not actually stop but just 
        rotates the log
        fixed race between queue_event() and show_slave_status()
        clean-up of comments
      sql/slave.h:
        added ignore_stop_event flag to SLAVE_LOG_INFO
      3525985c
  5. 25 Jan, 2002 5 commits
    • unknown's avatar
      merge · cb9199f7
      unknown authored
      cb9199f7
    • unknown's avatar
      Update needed for SuSE 7.3 · 746e149e
      unknown authored
      Update for autoconf 2.52
      
      
      BitKeeper/deleted/.del-compile-pentium-symbols~b1b0f0b465eb15b8:
        Delete: BUILD/compile-pentium-symbols
      BUILD/Makefile.am:
        Remove not used scripts
      BUILD/SETUP.sh:
        Update needed for SuSE 7.3
      BUILD/compile-alpha:
        Update needed for SuSE 7.3
      BUILD/compile-pentium-debug-no-bdb:
        Update needed for SuSE 7.3
      BUILD/compile-pentium-gcov:
        Update needed for SuSE 7.3
      BUILD/compile-pentium-gprof:
        Update needed for SuSE 7.3
      BUILD/compile-pentium-mysqlfs-debug:
        Update needed for SuSE 7.3
      BUILD/compile-pentium:
        Update needed for SuSE 7.3
      Docs/manual.texi:
        changelog
      Docs/mysqld_error.txt:
        New error messages.
      acconfig.h:
        Update to autoconf 2.52
      acinclude.m4:
        Update to autoconf 2.52
      bdb/dist/configure.in:
        Update to autoconf 2.52
      configure.in:
        Update to autoconf 2.52
      myisam/mi_check.c:
        Fix for myisamchk bug when reparing table with many keys.
      myisam/mi_key.c:
        Fix problem with NAN in key's
      scripts/Makefile.am:
        Fix for autoconf 2.52
      scripts/mysql_new_fix_privilege_tables.sh:
        cleanup
      746e149e
    • unknown's avatar
      Added my_getopt struct and modified myisamchk to the bk tree. · 06b282aa
      unknown authored
      
      include/Makefile.am:
        Added my_getopt.h
      myisam/myisamchk.c:
        myisamcheck is using my_getopt struct now. Old code left:
        changeable_var[], will be changed later.
      mysys/Makefile.am:
        added my_getopt.c
      mysys/getvar.c:
        Added my_set_changeable_var. This is not being used yet, and
        is mostly a copy of set_changeable_var still.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      06b282aa
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · f817081b
      unknown authored
      into mysql.sashanet.com:/reiser-data/mysql-4.0
      
      f817081b
    • unknown's avatar
      more predicatable slave behaviour with wait_for_slave_stop in mysqltest · bf4ab253
      unknown authored
      fixed a couple of bugs with SEQ_READ_APPEND cache
      rpl000016 still has non-deterministic result, but I am going to commit and
      push since what I have is now better than what is in the main repository
      
      
      client/mysqltest.c:
        added wait_for_slave_to_stop
        cleaned up TODO and comments
      include/my_sys.h:
        fixed race in flush_io_cache in SEQ_READ_APPEND cache
      mysql-test/r/rpl000016.result:
        updated result
      mysql-test/t/rpl000016.test:
        use wait_for_slave_to_stop to have deterministic slave behaviour for the test
      mysys/mf_iocache.c:
        fixed race in flush_io_cache()
        fixed failure to unlock mutex in my_b_append()
      sql/log.cc:
        be compatible with 3.23 master
      sql/log_event.cc:
        3.23 master compat
      sql/slave.cc:
        3.23 master compat
      sql/sql_class.h:
        compat with 3.23 master
      bf4ab253
  6. 24 Jan, 2002 4 commits
  7. 23 Jan, 2002 2 commits
    • unknown's avatar
      da6c6bf4
    • unknown's avatar
      Increase max package length to 512M for mysql and mysqldump. · 2509d6cf
      unknown authored
      Faster 'read_first_row' (Fixes slow 'preparing' state)
      Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
      This also fixes a complicated bug involving const tables.
      
      
      Docs/manual.texi:
        Changelog
      client/mysql.cc:
        Increase max package length to 512M
      client/mysqldump.c:
        Increase max package length to 512M
      dbug/dbug.c:
        Fixed wrong printf() format string.
      mysql-test/t/innodb.test:
        Test for multi-table delete
      sql/handler.cc:
        Faster 'read_first_row' (Fixes slow 'preparing' state)
      sql/handler.h:
        Faster 'read_first_row' (Fixes slow 'preparing' state)
      sql/opt_range.cc:
        More debug info.
      sql/sql_select.cc:
        Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
        This also fixes a complicated bug involving const tables.
      sql/sql_select.h:
        Read const tables earlier
      2509d6cf
  8. 22 Jan, 2002 6 commits
    • unknown's avatar
      Merge jamppa@work:/home/bk/mysql-4.0/ · bde6a56d
      unknown authored
      into hynda.mysql.fi:/data/my/bk/mysql-4.0-quick-fixes
      
      bde6a56d
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 0ed6dd1a
      unknown authored
      into mysql.sashanet.com:/reiser-data/mysql-4.0
      
      0ed6dd1a
    • unknown's avatar
      post-merge fixes, including slave-skip-errors backport · a7178989
      unknown authored
      fixed too quick timeout in mysql-test-run which caused a race with the
       new server getting started before the old one completely finished 
       shutdown. This should fix the pid warning we've been getting as well as
       inconsistent results when running tests with the manager
      
      
      libmysqld/lib_sql.cc:
        post-merge fix
      mysql-test/mysql-test-run.sh:
        fixed start/stop timeout and cleanup of log directory
      mysql-test/r/rpl000014.result:
        post-merge fix
      mysql-test/r/rpl000015.result:
        post-merge fix
      mysql-test/r/rpl000016.result:
        post-merge fix
      mysql-test/r/rpl_log.result:
        post-merge fix
      sql/log_event.cc:
        post-merge fix
      sql/slave.cc:
        post-merge fix
      sql/slave.h:
        post-merge fix
      sql/sql_class.h:
        post-merge fix
      tools/mysqlmanager.c:
        added debug message
      a7178989
    • unknown's avatar
      Fixed a bug in mysqldump.c · 970f121f
      unknown authored
      970f121f
    • unknown's avatar
      manual.texi: · 4ec69cf8
      unknown authored
        Added a comment for Tfr; Test for Tom
      
      
      Docs/manual.texi:
        Added a comment for Tfr; Test for Tom
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      4ec69cf8
    • unknown's avatar
      manual.texi: · 3cc2ff1c
      unknown authored
        Add nore info to make InnoDB installation easier
      
      
      Docs/manual.texi:
        Add nore info to make InnoDB installation easier
      3cc2ff1c
  9. 21 Jan, 2002 1 commit
    • unknown's avatar
      mirrors.texi: · f1f63b17
      unknown authored
        Update mirror listing
      
      
      Docs/mirrors.texi:
        Update mirror listing
      f1f63b17
  10. 20 Jan, 2002 2 commits
    • unknown's avatar
      Ugly merge! But I am not done yet - there are a number of things I need to fix · 78fc1ed4
      unknown authored
      before I can push
      
      
      BitKeeper/etc/ignore:
        auto-union
      Makefile.am:
        Auto merged
      include/my_sys.h:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/t/rpl_log.test:
        Auto merged
      mysys/mf_iocache.c:
        Auto merged
      mysys/mf_iocache2.c:
        Auto merged
      mysys/thr_mutex.c:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/mini_client.cc:
        Auto merged
      sql/mini_client.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/stacktrace.c:
        Auto merged
      sql/structs.h:
        Auto merged
      mysql-test/r/rpl000014.result:
        merge
      mysql-test/r/rpl000015.result:
        merge
      mysql-test/r/rpl000016.result:
        merge
      mysql-test/r/rpl_log.result:
        merge
      sql/log.cc:
        merge
      sql/log_event.cc:
        merge
      sql/log_event.h:
        merge
      sql/mysqld.cc:
        merge
      sql/slave.cc:
        merge
      sql/slave.h:
        merge
      sql/sql_class.h:
        merge
      sql/sql_parse.cc:
        merge
      sql/sql_repl.cc:
        merge
      sql/sql_yacc.yy:
        merge
      78fc1ed4
    • unknown's avatar
      Here comes a nasty patch, although I am not ready to push it yet. I will · 6291b7b5
      unknown authored
      first pull, merge,test, and get it to work.
      
      The main change is the new replication code - now we have two slave threads
      SQL thread and I/O thread. I have also re-written a lot of the code to 
      prepare for multi-master implementation. 
      
      I also documented IO_CACHE quite extensively and to some extend, THD class.
      
      
      Makefile.am:
        moved tags target script into a separate file
      include/my_sys.h:
        fixes in IO_CACHE for SEQ_READ_APPEND + some documentation
      libmysqld/lib_sql.cc:
        updated replication locks, but now I see I did it wrong and it won't compile. Will fix
        before the push.
      mysql-test/r/rpl000014.result:
        test result update
      mysql-test/r/rpl000015.result:
        test result update
      mysql-test/r/rpl000016.result:
        test result update
      mysql-test/r/rpl_log.result:
        test result update
      mysql-test/t/rpl000016-slave.sh:
        remove relay logs
      mysql-test/t/rpl000017-slave.sh:
        remove relay logs
      mysql-test/t/rpl_log.test:
        updated test
      mysys/mf_iocache.c:
        IO_CACHE updates to make replication work
      mysys/mf_iocache2.c:
        IO_CACHE update to make replication work
      mysys/thr_mutex.c:
        cosmetic change
      sql/item_func.cc:
        new replication code
      sql/lex.h:
        new replication
      sql/log.cc:
        new replication
      sql/log_event.cc:
        new replication
      sql/log_event.h:
        new replication
      sql/mini_client.cc:
        new replication
      sql/mini_client.h:
        new replication
      sql/mysql_priv.h:
        new replication
      sql/mysqld.cc:
        new replication
      sql/repl_failsafe.cc:
        new replication
      sql/slave.cc:
        new replication
      sql/slave.h:
        new replication
      sql/sql_class.cc:
        new replication
      sql/sql_class.h:
        new replication
      sql/sql_lex.h:
        new replication
      sql/sql_parse.cc:
        new replication
      sql/sql_repl.cc:
        new replication
      sql/sql_repl.h:
        new replication
      sql/sql_show.cc:
        new replication
      sql/sql_yacc.yy:
        new replication
      sql/stacktrace.c:
        more robust stack tracing
      sql/structs.h:
        new replication code
      BitKeeper/etc/ignore:
        Added mysql-test/r/rpl000002.eval mysql-test/r/rpl000014.eval mysql-test/r/rpl000015.eval mysql-test/r/rpl000016.eval mysql-test/r/slave-running.eval mysql-test/r/slave-stopped.eval to the ignore list
      6291b7b5
  11. 17 Jan, 2002 5 commits
  12. 16 Jan, 2002 4 commits
    • unknown's avatar
      Merge · da1e1d55
      unknown authored
      
      sql/sql_update.cc:
        SCCS merged
      da1e1d55
    • unknown's avatar
      Move HA_EXTRA_NO_READCHECK to ha_open · ae65d7af
      unknown authored
      Fixed bug in multi-table-delete
      
      
      Docs/manual.texi:
        Changelog
      include/mysql_com.h:
        Define MAX_CHAR_WIDTH
      myisam/mi_extra.c:
        Cleanup
      mysql-test/r/bdb.result:
        Bug test
      mysql-test/r/group_by.result:
        Bug test
      mysql-test/t/bdb.test:
        Bug test
      mysql-test/t/group_by.test:
        Bug test
      sql/ha_berkeley.cc:
        More debug statements
      sql/handler.cc:
        Move HA_EXTRA_NO_READCHECK to ha_open
      sql/records.cc:
        More DBUG statements
      sql/sql_analyse.cc:
        Cleanup
      sql/sql_base.cc:
        Move HA_EXTRA_NO_READCHECK to ha_open
      sql/sql_delete.cc:
        Fixed bug in multi-table-delete
        Cleanup
      sql/sql_select.cc:
        Move HA_EXTRA_NO_READCHECK to ha_open
      sql/sql_update.cc:
        Move HA_EXTRA_NO_READCHECK to ha_open
      ae65d7af
    • unknown's avatar
      some small changes for MULTI-TABLE updates and other little fixes · a65e6729
      unknown authored
      
      sql/sql_class.h:
        small optimisations for MULTI-TABLE UPDATE's
      sql/sql_parse.cc:
        Could not look at that if () at the start of execute_command, and as 
        Monty evidently did not have time, so I optimised it away in the best 
        fashion I know of.
      sql/sql_update.cc:
        Some optimisations  for MULTI-TABLE UPDATE's
      a65e6729
    • unknown's avatar
      mirrors.texi: · f3bf1458
      unknown authored
        Update French mirror
      
      
      Docs/mirrors.texi:
        Update French mirror
      f3bf1458
  13. 15 Jan, 2002 1 commit
    • unknown's avatar
      merge · ecca655e
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      ecca655e