1. 25 Jan, 2002 1 commit
    • 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
  2. 22 Jan, 2002 4 commits
    • 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
      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
  3. 21 Jan, 2002 1 commit
    • unknown's avatar
      mirrors.texi: · f1f63b17
      unknown authored
        Update mirror listing
      
      
      Docs/mirrors.texi:
        Update mirror listing
      f1f63b17
  4. 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
  5. 17 Jan, 2002 5 commits
  6. 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
  7. 15 Jan, 2002 3 commits
    • 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
    • unknown's avatar
      Add support for NULL=NULL in keys (Used in GROUP BY optimization) · 1079b85f
      unknown authored
      Add ISAM to Windows version
      Fix of test results
      Fixes for NULL keys in HEAP tables.
      
      
      Docs/manual.texi:
        Changelog
      heap/hp_open.c:
        Add support for NULL=NULL in keys (for GROUP BY)
      heap/hp_rkey.c:
        Cleanup
      heap/hp_write.c:
        Cleanup
      include/config-win.h:
        Add ISAM to Windows version
      include/my_base.h:
        Add support for NULL=NULL in keys (for GROUP BY)
      libmysqld/Makefile.am:
        Rename of innobase to innodb
      myisam/mi_write.c:
        Add support for NULL=NULL in keys (for GROUP BY)
      BitKeeper/etc/ignore:
        Added libmysqld/ha_innodb.cc to the ignore list
      mysql-test/r/group_by.result:
        Test of NULL keys in HEAP tables
      mysql-test/r/heap.result:
        Test of NULL keys in HEAP tables
      mysql-test/r/null.result:
        Cleanup
      mysql-test/r/order_by.result:
        Fix for result of new ORDER BY optimization
      mysql-test/t/group_by.test:
        Test of NULL keys in HEAP tables
      mysql-test/t/heap.test:
        Test of NULL keys in HEAP tables
      mysql-test/t/null.test:
        Cleanup
      sql/ha_heap.cc:
        Add support of NULL keys
      sql/item_strfunc.h:
        Fix for BINARY and CAST functions
      sql/item_timefunc.h:
        Fix for BINARY and CAST functions
      sql/sql_parse.cc:
        Cleanup
      sql/sql_select.cc:
        Add support for NULL=NULL in keys (for GROUP BY)
      1079b85f
    • unknown's avatar
      manual.texi: · 88f3cdf9
      unknown authored
        Added the MyCC list
      
      
      Docs/manual.texi:
        Added the MyCC list
      88f3cdf9
  8. 14 Jan, 2002 2 commits
  9. 13 Jan, 2002 4 commits
  10. 12 Jan, 2002 5 commits
    • unknown's avatar
      Some changes in multi-table deletes, with some speed-ups and · 73628d5a
      unknown authored
      incorporations of the new stuff.
      
      When Monty approves / corrects it, I will "port" it to multi-table
      updates.
      
      
      sql/sql_insert.cc:
        A small bug fix
      sql/sql_update.cc:
        query cache invalidation
      73628d5a
    • unknown's avatar
      Added support of null keys in HEAP tables · 2c2d3185
      unknown authored
      Added ORDER BY optimization
      
      
      Docs/manual.texi:
        Added ORDER BY optimisation section
      heap/_check.c:
        Cleanup
      heap/heapdef.h:
        Added support of null keys in HEAP tables
      heap/hp_hash.c:
        Added support of null keys in HEAP tables
      heap/hp_open.c:
        Added support of null keys in HEAP tables
      heap/hp_test2.c:
        Added support of null keys in HEAP tables
      heap/hp_write.c:
        Added support of null keys in HEAP tables
      include/heap.h:
        Added support of null keys in HEAP tables
      include/my_base.h:
        Support for hash algoritm
      isam/static.c:
        Cleanup
      myisam/mi_static.c:
        Cleanup
      sql/Makefile.am:
        Rename innobase -> innodb
      sql/ha_berkeley.cc:
        Added ORDER BY optimization
      sql/ha_berkeley.h:
        Added ORDER BY optimization
      sql/ha_heap.cc:
        Added support for NULL keys
      sql/ha_heap.h:
        Added support for NULL keys
      sql/ha_isam.cc:
        Added ORDER BY optimization
      sql/ha_isam.h:
        Added ORDER BY optimization
      sql/ha_isammrg.h:
        Added ORDER BY optimization
      sql/ha_myisam.cc:
        Added ORDER BY optimization
      sql/ha_myisam.h:
        Added ORDER BY optimization
      sql/ha_myisammrg.cc:
        Added ORDER BY optimization
      sql/ha_myisammrg.h:
        Added ORDER BY optimization
      sql/handler.cc:
        Rename innobase -> innodb
      sql/handler.h:
        Rename innobase -> innodb
      sql/ha_innodb.cc:
        Rename innobase -> innodb
      sql/ha_innodb.h:
        Rename innobase -> innodb
      sql/mysqld.cc:
        Rename innobase -> innodb
      sql/sql_delete.cc:
        Rename innobase -> innodb
      sql/sql_select.cc:
        Added ORDER BY optimization
      sql/sql_select.h:
        Added ORDER BY optimization
      2c2d3185
    • unknown's avatar
      Merge abelkin@work.mysql.com:/home/bk/mysql-4.0 · 624e06ca
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/mysql-4
      
      624e06ca
    • unknown's avatar
      New result block allocation strategy · bb47125a
      unknown authored
      
      mysql-test/r/query_cache.result:
        Test changed according with new block sizes
      mysql-test/t/query_cache.test:
        Test changed according with new block sizes
      bb47125a
    • unknown's avatar
      manual.texi Added CAST and CONVERT descriptions into the release notes · 0df88183
      unknown authored
      
      Docs/manual.texi:
        Added CAST and CONVERT descriptions into the release notes
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      0df88183
  11. 09 Jan, 2002 2 commits
    • unknown's avatar
      Win32 Embedded Server Changes · db642cac
      unknown authored
      
      libmysql/libmysql.def:
        For to have the same order of the 3.23.XX stuff
      libmysqld/lib_load.cc:
        For to have the file extension for VC++
      libmysqld/lib_sql.cc:
        The VC++ compiler returns duplication define from
        net_serv.cc. If the same happens with Unix then
        those lines should be removed.
        VC++ file extension.
      sql/mysqld.cc:
        Changes for Win32 Embedded Server.
      sql/net_serv.cc:
        Sanja Fixes.
      sql/sql_cache.cc:
        To avoid the crash on Win9x
      db642cac
    • unknown's avatar
      Little fixups in change log. · e937c0b9
      unknown authored
      e937c0b9
  12. 08 Jan, 2002 6 commits
  13. 07 Jan, 2002 1 commit
    • unknown's avatar
      mirrors.texi: · e195568b
      unknown authored
        Update mirror listing
      
      
      Docs/mirrors.texi:
        Update mirror listing
      e195568b