1. 18 Nov, 2000 3 commits
    • unknown's avatar
      fixed bugs in delayed insert replication and when slave loses connection after... · 53ada890
      unknown authored
      fixed bugs in delayed insert replication and when slave loses connection after Int_var but before Query
      public test suite now tests replication code as well
      
      
      mysql-test/mybin/mysql-test_install_db:
        fixes to test replication with two daemons on one machine
      mysql-test/mysql-test-run:
        fixes for replication tests -- still need to test gcov, the rest works
      mysql-test/t/include/master-slave.inc:
        include file for replication tests
      sql/slave.cc:
        fixed bug for the case when the slave loses connection after it has read Int_var event but before Query
      sql/sql_insert.cc:
        reset error in delayed thread
        slave converts delayed insert to regular
      53ada890
    • unknown's avatar
      Merge work:/home/bk/mysql into donna.mysql.com:/home/my/bk/mysql · 5abcec92
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/manual.texi:
        Auto merged
      5abcec92
    • unknown's avatar
      Portability fixes · 0ffa9468
      unknown authored
      
      Docs/manual.texi:
        Updated links and added more examples
      client/mysql.cc:
        Added --timeout + merge of Jani:s changes
      isam/_dynrec.c:
        Fixed bug when making big rows 1 byte smaller
      scripts/mysqlhotcopy.sh:
        Added regexp handling of filenames
      sql-bench/test-insert.sh:
        More order by tests
      sql/mf_iocache.cc:
        Cleanup
      sql/mysqld.cc:
        Moved my_delete() to before master thread died
      sql/sql_parse.cc:
        Fixed wrong comparison
      0ffa9468
  2. 17 Nov, 2000 11 commits
    • unknown's avatar
      Howard changed some formatting and grammar · 650e69e2
      unknown authored
      
      Docs/manual.texi:
        Howards changed some grammar and formatting
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      650e69e2
    • unknown's avatar
      Merge work:/home/bk/mysql into donna.mysql.com:/home/my/bk/mysql · 19fc413a
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/manual.texi:
        Auto merged
      19fc413a
    • unknown's avatar
      Fixed bug with text key compares in BDB · 3f9c19dc
      unknown authored
      
      Docs/manual.texi:
        Updated statistics table
      mysys/Makefile.am:
        Removed rule for getopt1.o
      sql-bench/test-insert.sh:
        Enlarged some tests
      sql/ha_berkeley.cc:
        Fixed bug with text key compares
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3f9c19dc
    • unknown's avatar
      New mysql client. · 642ae16e
      unknown authored
      
      client/mysql.cc:
        New options --pager, --no-pager, --tee and --no-tee.
        Corresponding interactive commands are pager, nopager,
        tee and notee.
        See mysql --help, mysql> help, or the manual for more inforamation.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      642ae16e
    • unknown's avatar
      Merge work.mysql.com:/home/bk/mysql · 645cfcb1
      unknown authored
      into mysql.sashanet.com:/home/sasha/src/bk/mysql
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      645cfcb1
    • unknown's avatar
      fixed bugs in IO_CACHE and Load_event constructor. The code now passes · 02e6c963
      unknown authored
      replication test suite
      
      
      mysys/mf_iocache2.c:
        fixed bug in my_b_seek
      sql/log_event.cc:
        fixed bug in Load_event constructor, removed compiler warnings
      sql/mf_iocache.cc:
        _my_b_read could overflow a small buffer if the leftovers happened 
        to be more than we wanted to read. info->pos_in_file was also not
        being set correctly
      02e6c963
    • unknown's avatar
      manual.texi Added link to MySQL Free Public License in policy section. · 3d057360
      unknown authored
      
      Docs/manual.texi:
        Added link to MySQL Free Public License in policy section.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3d057360
    • unknown's avatar
      Merge work.mysql.com:/home/bk/mysql · 3dc874a7
      unknown authored
      into mysql.sashanet.com:/home/sasha/src/bk/mysql
      
      
      BitKeeper/etc/logging_ok:
        Auto converge
      sql/log.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      3dc874a7
    • unknown's avatar
      sql/log.cc · 6e8c7df0
      unknown authored
          fixed bug in find_first_log
      sql/mysqlbinlog.cc
          flose file only if we opened it
      sql/slave.cc
          changed spacing
      sql/sql_repl.cc
          fixed error message
      
      
      sql/log.cc:
        fixed bug in find_first_log
      sql/mysqlbinlog.cc:
        flose file only if we opened it
      sql/slave.cc:
        changed spacing
      sql/sql_repl.cc:
        fixed error message
      BitKeeper/etc/ignore:
        Added repl-tests/test-repl/foo-dump-slave.master. repl-tests/test-repl/sum-wlen-slave.master. repl-tests/test-repl/sum-wlen-slave.master.re to the ignore list
      6e8c7df0
    • unknown's avatar
      Fixes for bugs in the usage of IO_CACHE · 07b4739b
      unknown authored
      07b4739b
    • unknown's avatar
      Fixes for bugs in the usage of IO_CACHE · 8f906f77
      unknown authored
      
      Docs/manual.texi:
        Fixed the TRUNCATE syntax + Changelog
      include/my_sys.h:
        Added my_b_vprintf
      mysys/mf_iocache2.c:
        Added my_b_vprintf
      mysys/my_vsnprintf.c:
        Fixed fatal (new) bug
      mysys/thr_lock.c:
        Cleanup
      readline/bind.c:
        cleanup
      scripts/Makefile.am:
        Added mysqldumpslow
      sql-bench/crash-me.sh:
        Fixed TRUNCATE
      sql/log.cc:
        bug fix
      sql/log_event.cc:
        Removed compiler warnings
      sql/log_event.h:
        Fixed non portable header in binary dump
      sql/mf_iocache.cc:
        cleanup
      sql/mysqld.cc:
        Fixed loop problem on NT
      sql/slave.cc:
        cleanup
      sql/sql_class.cc:
        Fixed typos
      sql/sql_parse.cc:
        cleanup
      sql/sql_select.cc:
        bugfix
      sql/sql_table.cc:
        cleanup
      sql/sql_yacc.yy:
        Changed ALTER TABLE ... ORDER BY to get fewer warnings
      sql/unireg.cc:
        cleanup
      sql/unireg.h:
        Added missing define
      8f906f77
  3. 16 Nov, 2000 8 commits
    • unknown's avatar
      merge · 24137ef2
      unknown authored
      
      mysys/my_open.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      24137ef2
    • unknown's avatar
      Fixes for IO_CACHE · 2187c0c3
      unknown authored
      
      Docs/manual.texi:
        Added information about 4.0
      mysys/my_open.c:
        Fix for usage with IO_CACHE
      sql/log.cc:
        Cleanup for IO_CACHE
      sql/mysqld.cc:
        cleanup
      sql/sql_class.cc:
        Fixed wrong defines
      sql/sql_class.h:
        Fixed usage of SET TIMESTAMP=#
      2187c0c3
    • unknown's avatar
      Merge work.mysql.com:/home/bk/mysql · 113fb0ff
      unknown authored
      into mysql.sashanet.com:/home/sasha/src/bk/mysql
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      113fb0ff
    • unknown's avatar
      BUILD/compile-pentium-debug · 4ddac214
      unknown authored
          make -j 2
      mysys/my_open.c
          my_umask is better than 0 - we do not want 0000 files when my_open() is called with O_CREAT
      sql/log.cc
          fixed up IO_CACHE to make replication work, not fully yet
      sql/log_event.cc
          fixed up IO_CACHE
      
      
      BUILD/compile-pentium-debug:
        make -j 2
      BitKeeper/etc/ignore:
        Added repl-tests/test-repl/sum-wlen-slave.master.reje support-files/mysql-3.23.28-gamma.spec to the ignore list
      mysys/my_open.c:
        my_umask is better than 0 - we do not want 0000 files when my_open() is called with O_CREAT
      sql/log.cc:
        fixed up IO_CACHE to make replication work, not fully yet
      sql/log_event.cc:
        fixed up IO_CACHE
      4ddac214
    • unknown's avatar
      Merge · b3839d8d
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      b3839d8d
    • unknown's avatar
      item_func.cc bugfix - two fulltext indices were not working sometimes · 6cff8461
      unknown authored
      
      sql/item_func.cc:
        bugfix - two fulltext indices were not working sometimes
      6cff8461
    • unknown's avatar
      merged · f44a41f0
      unknown authored
      
      sql/log_event.h:
        Auto merged
      sql/mysqlbinlog.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/sql_class.h:
        Auto merged
      BitKeeper/etc/logging_ok:
        Auto converge
      f44a41f0
    • unknown's avatar
      changed to use IO_CACHE instead of FILE · 3e6dac34
      unknown authored
      
      Docs/manual.texi:
        Type fixes
      myisam/mi_create.c:
        Fixed bug in update from different processes
      myisam/mi_locking.c:
        Fixed bug in update from different processes
      myisam/mi_open.c:
        Fixed bug in update from different processes
      myisam/mi_search.c:
        Fixed bug in update from different processes
      myisam/myisamdef.h:
        Fixed bug in update from different processes
      mysys/Makefile.am:
        Added mf_iocache2.c
      sql/log.cc:
        Changed to use IO_CACHE instead of FILE
      sql/sql_class.h:
        Changed to use IO_CACHE instead of FILE
      sql/sql_repl.cc:
        Changed to use IO_CACHE instead of FILE
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3e6dac34
  4. 15 Nov, 2000 3 commits
    • unknown's avatar
      sql/slave.cc · 11b725d1
      unknown authored
           fixed bug - mutex was not being released if master.info could not be read
      
      
      
      sql/slave.cc:
         fixed bug - mutex was not being released if master.info could not be read
      11b725d1
    • unknown's avatar
      merge · c7d2c59c
      unknown authored
      
      configure.in:
        Auto merged
      include/my_sys.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_string.h:
        Auto merged
      BitKeeper/etc/logging_ok:
        Auto merged
      c7d2c59c
    • unknown's avatar
      changed to use IO_CACHE instead of FILE · 9a846a52
      unknown authored
      
      BitKeeper/deleted/.del-mf_reccache.c:
        ***MISSING WEAVE***
      Docs/manual.texi:
        Fix licence information + update changelog
      client/mysqlimport.c:
        Fixed typo
      client/sql_string.cc:
        Added support for IO_CACHE
      client/sql_string.h:
        Added support for IO_CACHE
      include/my_sys.h:
        More options for IO_CACHE
      mysql.proj:
        Update
      mysys/Makefile.am:
        Remoced mf_reccache.c
      mysys/mf_cache.c:
        Fixed return value on error and optimzed used of write cache files
      mysys/mf_iocache.c:
        More options for IO_CACHE
      mysys/my_vsnprintf.c:
        Optimized code
      sql/mf_iocache.cc:
        merge with mf_iocache.c
      sql/net_pkg.cc:
        cleanup
      sql/sql_class.cc:
        Support for transaction safe log files
      sql/sql_string.cc:
        Added support for IO_CACHE
      sql/sql_string.h:
        Added support for IO_CACHE
      sql/time.cc:
        cleanup
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      9a846a52
  5. 14 Nov, 2000 3 commits
    • unknown's avatar
      Forth batch of Howard's changes · dcf4e493
      unknown authored
      
      Docs/manual.texi:
        Fourth batch of Howard's changes
      dcf4e493
    • unknown's avatar
      Third batch of Howard's changes in NuSphere in manual.texi · f0251d62
      unknown authored
      
      Docs/manual.texi:
        Third batch of Howard's changes for NuSphere
      f0251d62
    • unknown's avatar
      repl-tests/test-repl-ts/repl-timestamp.master.reject · 3c82b811
      unknown authored
          this file needs to be deleted
      sql/log_event.cc
          fixed warnings
      sql/log_event.h
          fixed () #define bug
      sql/mysqlbinlog.cc
          fixed length argument - was supposed to be one less
      sql/mysqld.cc
          replicate-do/ignore-table now works, wild does not yet
      sql/mysql_priv.h
          updating argument to add_table_to_list() -- needed for replicate-do/ignore table
      sql/slave.cc
          changes fore replicate-do/ignore-table
          close the socket before going to sleep sleeping after error
          bad event was being freed too early
      sql/slave.h
          changes for replicate-do/ignore-table
      sql/sql_class.cc
          slave_thread variable to THD
      sql/sql_class.h
          added slave_thread to THD, fixed bug in end_time()
      sql/sql_parse.cc
          updating argument to add_tables_to_list()
      sql/sql_table.cc
          fixed bug in mysql_rm_table()
      sql/sql_yacc.yy
          fixed up add_table_to_list() calls to accept updating argument
      sql/table.h
          added updating to TABLE_LIST
      
      
      repl-tests/test-repl-ts/repl-timestamp.master.reject:
        this file needs to be deleted
      sql/log_event.cc:
        fixed warnings
      sql/log_event.h:
        fixed () #define bug
      sql/mysql_priv.h:
        updating argument to add_table_to_list() -- needed for replicate-do/ignore table
      sql/mysqlbinlog.cc:
        fixed length argument - was supposed to be one less
      sql/mysqld.cc:
        replicate-do/ignore-table now works, wild does not yet
      sql/slave.cc:
        changes fore replicate-do/ignore-table
        close the socket before going to sleep sleeping after error
        bad event was being freed too early
      sql/slave.h:
        changes for replicate-do/ignore-table
      sql/sql_class.cc:
        slave_thread variable to THD
      sql/sql_class.h:
        added slave_thread to THD, fixed bug in end_time()
      sql/sql_parse.cc:
        updating argument to add_tables_to_list()
      sql/sql_table.cc:
        fixed bug in mysql_rm_table()
      sql/sql_yacc.yy:
        fixed up add_table_to_list() calls to accept updating argument
      sql/table.h:
        added updating to TABLE_LIST
      3c82b811
  6. 13 Nov, 2000 4 commits
    • unknown's avatar
      Bug fixes, TRUNCATE, safer passwords on command line and connect timeout · f3d2341f
      unknown authored
      
      Docs/manual.texi:
        Update of safe_mysqld, TRUNCATE and changes for 3.23.28
      client/mysql.cc:
        Added --timeout
      client/mysqladmin.c:
        Safer password handling
      client/mysqldump.c:
        Safer password handling
      client/mysqlimport.c:
        Safer password handling
      client/mysqlshow.c:
        Safer password handling
      configure.in:
        Fixes for Darwin and added test of poll
      include/my_pthread.h:
        Fixes for darwin
      include/violite.h:
        Added test for polling
      libmysql/libmysql.c:
        connect timeout
      libmysql/violite.c:
        connect timeout
      mysys/hash.c:
        Fix when delting from empty table
      scripts/safe_mysqld.sh:
        Added --open-files, --core-file-size and --timezone
      sql-bench/bench-init.pl.sh:
        Function print_time
      sql-bench/crash-me.sh:
        Added test of truncate
      sql-bench/test-insert.sh:
        More "estimated" tests
      sql-bench/test-select.sh:
        More "estimated" tests
      sql/filesort.cc:
        Removed allocation of extra memory
      sql/ha_berkeley.cc:
        Better estimation of number of rows
      sql/item_create.cc:
        Truncate
      sql/item_create.h:
        Truncate
      sql/item_strfunc.cc:
        Removed usage of MY_FAE
      sql/lex.h:
        Truncate
      sql/lock.cc:
        Fixed possible loop bug
      sql/log.cc:
        Removed usage of FILE:s
      sql/mysqld.cc:
        Print of more server variables
      sql/sql_class.h:
        Changed FILE -> File
      sql/sql_insert.cc:
        Fixed bug in temptable handling
      sql/sql_lex.h:
        Cleanup
      sql/sql_load.cc:
        Removed usage of MY_FAE
      sql/sql_parse.cc:
        Cleanup + TRUNCATE
      sql/sql_select.cc:
        Cleanup + fix for INSERT ... SELECT
      sql/sql_yacc.yy:
        TRUNCATE
      sql/violite.c:
        Merge with client/violite.c
      strings/strstr-sparc.s:
        Fixed wrong register usage
      f3d2341f
    • unknown's avatar
      Merge nusphere@work.mysql.com:/home/bk/mysql · dba4c4a8
      unknown authored
      into nslinuxw2.bedford.progress.com:/users/devp/yfaktoro/bk/mysql
      
      
      Docs/manual.texi:
        Auto merged
      dba4c4a8
    • unknown's avatar
      Second batch of Howard changes in manual.texi · 140e029f
      unknown authored
      
      Docs/manual.texi:
        Second batch of Howard's changes
      140e029f
    • unknown's avatar
      manual.texi Mirror addition. · 32335407
      unknown authored
      
      Docs/manual.texi:
        Mirror addition.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      32335407
  7. 12 Nov, 2000 2 commits
  8. 11 Nov, 2000 6 commits
    • unknown's avatar
      Oops, typo in manual.texi. · 8583cbaa
      unknown authored
      
      Docs/manual.texi:
        Oops, typo.
      8583cbaa
    • unknown's avatar
      Merge work.mysql.com:/home/bk/mysql · 61472280
      unknown authored
      into laptop.slkc.uswest.net:/home/sasha/src/mysql
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      61472280
    • unknown's avatar
      laptop commit - bk wants me commit again! · 6bc9c92e
      unknown authored
      
      sql/log_event.cc:
        added sanity check to catch partial event reads from the master
      6bc9c92e
    • unknown's avatar
      laptop commit · fd2c900e
      unknown authored
      
      BUILD/compile-pentium-debug-no-bdb:
        forgot to install BDB on my laptop, needed to have this
      sql/log.cc:
        fixed initialization warning
      sql/sql_insert.cc:
        delayed insert was getting logged on failure. To make things worse,
        all delayed inserts were being logged with query_length=0
      sql/sql_repl.cc:
        fixed compiler warnings
      fd2c900e
    • unknown's avatar
      laptop commit, syncing with the repostitory. Fixed some bad bugs in replication · 19d2e8ce
      unknown authored
      
      BUILD/compile-pentium-debug:
        added -DEXTRA_DEBUG
      sql/Makefile.am:
        added slave.h
      sql/log_event.h:
        max_buf -> event_len in read_log_event
      sql/mysql_priv.h:
        moved the slave part to slave.h
      sql/mysqld.cc:
        changes for replcate_do/ignore_table ( does not work yet)
      sql/slave.cc:
        removed the stuff covered by slave.h
      sql/sql_class.h:
        moved slave stuff to slave.h
      sql/sql_repl.h:
        removed stuff covered by slave.h
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      19d2e8ce
    • unknown's avatar
      Whoops, forgot to update sql/ChangeLog. · cfe54ade
      unknown authored
      
      sql/ChangeLog:
        Whoops, forgot to update the ChangeLog.
      cfe54ade