1. 08 Aug, 2002 8 commits
    • unknown's avatar
      Merge mysql.com:/home/pz/mysql/mysql-4.0-root · 7c6fae29
      unknown authored
      into mysql.com:/home/pz/mysql/mysql-4.0
      
      
      7c6fae29
    • unknown's avatar
      Fix after merge · 028cfaba
      unknown authored
      Updated WEEK() and DATE information in the manual.
      
      
      Docs/manual.texi:
        Updated WEEK() information.
        Added more information of how MySQL stores dates.
      libmysql/Makefile.am:
        Fix after merge
      libmysqld/lib_vio.c:
        Use new vio_blocking()
      mysql-test/r/group_by.result:
        Update results after merge
      sql/ha_innodb.cc:
        Fix after merge
      sql/lex.h:
        Fix after merge
      sql/slave.cc:
        Added missing include file
      sql/sql_base.cc:
        Added function comments
      vio/test-ssl.c:
        Fix after merge
      028cfaba
    • unknown's avatar
      merge with 3.23.52 · 267b8083
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      Docs/manual.texi:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      include/mysql_version.h.in:
        Auto merged
      innobase/btr/btr0cur.c:
        Auto merged
      innobase/btr/btr0sea.c:
        Auto merged
      innobase/buf/buf0buf.c:
        Auto merged
      innobase/buf/buf0lru.c:
        Auto merged
      innobase/configure.in:
        Auto merged
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/fil/fil0fil.c:
        Auto merged
      innobase/fsp/fsp0fsp.c:
        Auto merged
      innobase/include/buf0buf.ic:
        Auto merged
      innobase/include/dyn0dyn.ic:
        Auto merged
      innobase/include/ha0ha.ic:
        Auto merged
      innobase/include/sync0rw.ic:
        Auto merged
      innobase/include/univ.i:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/log/log0log.c:
        Auto merged
      innobase/mem/mem0dbg.c:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/os/os0thread.c:
        Auto merged
      innobase/page/page0cur.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/sync/sync0arr.c:
        Auto merged
      innobase/sync/sync0rw.c:
        Auto merged
      innobase/sync/sync0sync.c:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      myisam/mi_create.c:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      strings/Makefile.am:
        Auto merged
      support-files/mysql.server.sh:
        Auto merged
      include/my_base.h:
        merge with 3.23.52 (use local file)
      include/sslopt-usage.h:
        merge with 3.23.52 (use local file)
      myisam/mi_search.c:
        merge with 3.23.52 (use local file)
      myisam/mi_write.c:
        merge with 3.23.52 (use local file)
      mysql-test/r/group_by.result:
        merge with 3.23.52
        (Need to be fixed before push)
      mysys/my_pthread.c:
        merge with 3.23.52 (use local file)
      sql/gen_lex_hash.cc:
        merge with 3.23.52 (use local file)
      sql/ha_innodb.cc:
        Total hand-merge with 3.23.52
      sql/sql_yacc.yy:
        merge with 3.23.52 (use local file)
      support-files/mysql.spec.sh:
        merge with 3.23.52 (use local file)
      267b8083
    • unknown's avatar
      merge · ca1875f5
      unknown authored
      
      configure.in:
        Auto merged
      include/my_pthread.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      ca1875f5
    • unknown's avatar
      Merge mysql.com:/home/pz/mysql/mysql-4.0-root · 26d32636
      unknown authored
      into mysql.com:/home/pz/mysql/mysql-4.0
      
      
      26d32636
    • unknown's avatar
      merge · a6b15fdd
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      include/my_sys.h:
        Auto merged
      innobase/include/dyn0dyn.h:
        Auto merged
      innobase/include/dyn0dyn.ic:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      sql/ha_berkeley.h:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_timefunc.h:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      a6b15fdd
    • unknown's avatar
      Fix for Intel compiler (ecc) · a9c47d8c
      unknown authored
      Minor cleanups to other patches.
      Make --temp-pool default
      
      
      Docs/manual.texi:
        Changelog
      configure.in:
        Fix for Intel compiler (ecc)
      include/my_global.h:
        Cleaned up QNX specific code.
      include/my_pthread.h:
        Safety
      include/my_semaphore.h:
        Cleaned up BSDI fix.
      mysys/my_pthread.c:
        Code comments
      mysys/my_semaphore.c:
        Fix for BSDI
      sql/mysqld.cc:
        Make --temp-pool default
      sql/sql_parse.cc:
        Safety
      a9c47d8c
    • unknown's avatar
      Lots of code fixes to the replication code (especially the binary logging and... · f01f4991
      unknown authored
      Lots of code fixes to the replication code (especially the binary logging and index log file handling)
      Fixed bugs in my last changeset that made MySQL hard to compile.
      Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
      Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
      Extended my_chsize() to allow one to specify a filler character.
      Extend vio_blocking to return the old state (This made some usage of this function much simpler)
      Added testing for some functions that they caller have got the required mutexes before calling the function.
      Use setrlimit() to ensure that we can write core file if one specifies --core-file.
      Added --slave-compressed-protocol
      Made 2 the minimum length for ft_min_word_len
      Added variables foreign_key_checks & unique_checks.
      Less logging from replication code (if not started with --log-warnings)
      Changed that SHOW INNODB STATUS requre the SUPER privilege
      More DBUG statements and a lot of new code comments
      
      
      BitKeeper/deleted/.del-rpl_compat.result~c950bc346b12c61a:
        Delete: mysql-test/r/rpl_compat.result
      BitKeeper/deleted/.del-rpl_compat.test~5f6ba955e02aa95f:
        Delete: mysql-test/t/rpl_compat.test
      Docs/manual.texi:
        Updated manual with fixes in this changeset
      client/mysqltest.c:
        Indentation cleanup
        Better error messages for some error conditions.
      include/my_pthread.h:
        Added 'safe_mutex_assert_owner()' to check that the thread really owns the mutex.
      include/my_sys.h:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      include/raid.h:
        New my_chsize()
      include/violite.h:
        Extend vio_blocking to return the old state
      innobase/include/dyn0dyn.h:
        Merge with 3.23 (AIX DYN_ARRAY_DATA_SIZE)
      innobase/include/dyn0dyn.ic:
        Merge with 3.23
      isam/create.c:
        Fix for new my_chsize()
      isam/isamchk.c:
        Fix for new my_chsize()
      isam/pack_isam.c:
        Fix for new my_chsize()
      libmysql/manager.c:
        Fix for new vio_blocking()
      libmysqld/lib_sql.cc:
        Fix for new open_log()
      myisam/mi_cache.c:
        Fix typo from previous checking
      myisam/mi_check.c:
        Fix for new my_chsize()
      myisam/mi_create.c:
        Fix for new my_chsize()
      myisam/mi_delete_all.c:
        Fix for new my_chsize()
      myisam/myisampack.c:
        Fix for new my_chsize()
      mysql-test/include/master-slave.inc:
        Better initialization for replication tests
      mysql-test/mysql-test-run.sh:
        Added option --log-warnings
      mysql-test/r/insert.result:
        More tests if INSERT ...(DEFAULT)
      mysql-test/r/rpl000001.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000002.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000003.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000004.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000005.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000006.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000007.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000008.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000009.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000010.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000011.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000012.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000013.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000014.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_alter.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_empty_master_crash.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_get_lock.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_log.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_magic.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_mystery22.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_skip_error.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_sporadic_master.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/insert.test:
        More tests if INSERT ...(DEFAULT)
      mysql-test/t/rpl000001.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000002.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000003.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000004.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000005.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000006.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000007.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000009.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000011.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000013.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000014.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_alter.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_empty_master_crash.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_get_lock.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_magic.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_mystery22.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_skip_error.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_sporadic_master.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysys/mf_iocache.c:
        More debug info
        Force seek after reinit_io_cache()
      mysys/mf_iocache2.c:
        Added my_b_filelength()
      mysys/my_chsize.c:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      mysys/raid.cc:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      sql/field.h:
        Fix for INSERT ... (DEFAULT)
      sql/ha_berkeley.h:
        Fix for dynamic variables
      sql/ha_innodb.cc:
        Change sprintf() to my_sprintf() to make code portable.
        Fix after sync with 3.23
        (We still need to fix the storage of the replication position in innodb)
      sql/ha_innodb.h:
        Fix for dynamic variables
      sql/handler.cc:
        Remove writting of COMMIT to the binary log.
        (Now done in MYSQL_LOG::write())
      sql/item_func.cc:
        Query_log_event() now always takes query length.
      sql/item_func.h:
        Indentation cleanup
      sql/item_strfunc.h:
        Indentation cleanup
      sql/item_timefunc.h:
        Indentation cleanup
      sql/lock.cc:
        Check that we own critical mutexes.
      sql/log.cc:
        Big code cleanup / rewrite / optimize.
        - The index log file has its own IO_CACHE object.
        - Many functions totally rewritten to make them smaller and faster.
        - New handling of index log files
        - Lots of new comments
      sql/log_event.cc:
        Code cleanup
        New comments
      sql/log_event.h:
        Query_log_event() now always takes query length.
      sql/mini_client.cc:
        Better error messages on reconnect.
        Fixed wrong variable usage from last commit.
      sql/mysql_priv.h:
        New arguments to open_log()
      sql/mysqld.cc:
        Use setrlimit() to ensure that we can write core file if one specifies --core-file
        Added index file name as parameter to openlog().
        Added --slave-compressed-protocol
        Made 2 the minimum length for ft_min_word_len
      sql/net_serv.cc:
        Use new vio_blocking()
        (The vio_blocking() change was done to make this code more readable)
      sql/repl_failsafe.cc:
        Minor code cleanup
      sql/set_var.cc:
        Added variables slave_compressed_protocol, foreign_key_checks & unique_checks.
      sql/set_var.h:
        Generalization
      sql/slave.cc:
        Code cleanup & rewrite.
        Dont call SELECT VERSION() on check_master_version()
        New init_slave() code.
        Ensure that all threads create a THD early.
        Add locks around manipulation of critical structures
        Don't retry a command more than master_retry_count times.
        Write less warnings to the log file (if not started with --log-warnings)
        Faster flush_relay_log_info()
      sql/slave.h:
        More comments
        Added new arguments to some functions.
      sql/sql_acl.cc:
        More DBUG info
        New parameter to Query_log_event()
      sql/sql_base.cc:
        Added some mutex checking.
      sql/sql_cache.cc:
        Less not critical debug info
      sql/sql_class.h:
        Fix for new log handling.
      sql/sql_db.cc:
        Added mutex around remove_db_from_cache()
      sql/sql_delete.cc:
        Added missing parameters to changed functions
      sql/sql_insert.cc:
        Added missing parameters to changed functions
      sql/sql_parse.cc:
        Do an 'end_active_trans()' before 'load_master_data'
        Changed that SHOW INNODB STATUS requre the SUPER privilege
        Added new function parameters to new functions
      sql/sql_rename.cc:
        Added missing parameters to changed functions
      sql/sql_repl.cc:
        Code cleanups / new comments
        Fix for new find_first_log() calling standard.
        More DBUG statements.
        Show binlogs updated to use new IO_CACHE:d index log file.
      sql/sql_repl.h:
        New function arguments
      sql/sql_select.cc:
        Indentation changes
      sql/sql_table.cc:
        Added missing parameters to changed functions
        Added checking of mutex
        Added mutex around critical regions.
      sql/sql_test.cc:
        Don't use THR_ALARM if the configuration doesn't support it.
      sql/sql_update.cc:
        Added missing parameters to changed functions
      sql/table.cc:
        Added missing parameters to changed functions
      vio/vio.c:
        Extend vio_blocking to return the old state
      vio/viosocket.c:
        Extend vio_blocking to return the old state
      vio/viossl.c:
        Extend vio_blocking to return the old state
      f01f4991
  2. 07 Aug, 2002 15 commits
  3. 06 Aug, 2002 17 commits
    • unknown's avatar
      Little fixups in changelog. · 66e84ed6
      unknown authored
      66e84ed6
    • unknown's avatar
      Merge work.mysql.com:/home/bk/mysql-4.0/ · a821c04f
      unknown authored
      into fred.bitbike.com:/home/arjen/mysql-4.0
      
      
      Docs/manual.texi:
        Auto merged
      a821c04f
    • unknown's avatar
      Some support/licensing URL changes (Tom request). · 9ded5fed
      unknown authored
      Minor info fixups for 4.0.3-beta.
      Tracked down more 3.22/3.23 release dates via announce list archive.
      
      
      9ded5fed
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · 012d5ab4
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      012d5ab4
    • unknown's avatar
      Fix for a bug which caused problems in CREATE from SELECT with · 91342372
      unknown authored
      MONTH() function in SELECT list ...
      
      
      91342372
    • unknown's avatar
      Many files: · a3edc742
      unknown authored
        Merge InnoDB-3.23.52d
      
      
      innobase/btr/btr0sea.c:
        Merge InnoDB-3.23.52d
      innobase/buf/buf0buf.c:
        Merge InnoDB-3.23.52d
      innobase/buf/buf0lru.c:
        Merge InnoDB-3.23.52d
      innobase/include/buf0buf.h:
        Merge InnoDB-3.23.52d
      innobase/include/ha0ha.h:
        Merge InnoDB-3.23.52d
      innobase/include/log0log.h:
        Merge InnoDB-3.23.52d
      innobase/include/os0file.h:
        Merge InnoDB-3.23.52d
      innobase/include/os0thread.h:
        Merge InnoDB-3.23.52d
      innobase/include/ha0ha.ic:
        Merge InnoDB-3.23.52d
      innobase/include/os0sync.ic:
        Merge InnoDB-3.23.52d
      innobase/include/srv0start.h:
        Merge InnoDB-3.23.52d
      innobase/include/sync0rw.ic:
        Merge InnoDB-3.23.52d
      innobase/include/sync0sync.ic:
        Merge InnoDB-3.23.52d
      innobase/include/ut0dbg.h:
        Merge InnoDB-3.23.52d
      innobase/include/univ.i:
        Merge InnoDB-3.23.52d
      innobase/lock/lock0lock.c:
        Merge InnoDB-3.23.52d
      innobase/log/log0log.c:
        Merge InnoDB-3.23.52d
      innobase/mem/mem0pool.c:
        Merge InnoDB-3.23.52d
      innobase/os/os0file.c:
        Merge InnoDB-3.23.52d
      innobase/os/os0thread.c:
        Merge InnoDB-3.23.52d
      innobase/srv/srv0srv.c:
        Merge InnoDB-3.23.52d
      innobase/srv/srv0start.c:
        Merge InnoDB-3.23.52d
      innobase/sync/sync0arr.c:
        Merge InnoDB-3.23.52d
      innobase/sync/sync0rw.c:
        Merge InnoDB-3.23.52d
      innobase/sync/sync0sync.c:
        Merge InnoDB-3.23.52d
      innobase/thr/thr0loc.c:
        Merge InnoDB-3.23.52d
      innobase/trx/trx0trx.c:
        Merge InnoDB-3.23.52d
      innobase/configure.in:
        Merge InnoDB-3.23.52d
      sql/ha_innobase.cc:
        Merge InnoDB-3.23.52d
      a3edc742
    • unknown's avatar
    • unknown's avatar
      Fixed problem with make distcheck · cbb0dc14
      unknown authored
      Fixed bug in automatic repair of MyISAM tables where table cache was not locked properly
      
      
      Docs/manual.texi:
        Changelog
      libmysql/Makefile.am:
        Fixed problem with make distcheck
      libmysql/Makefile.shared:
        Fixed problem with make distcheck
      sql/sql_base.cc:
        Fixed bug in automatic repair where table cache was not locked properly.
      strings/Makefile.am:
        Fixed problem with make distcheck
      cbb0dc14
    • unknown's avatar
      Merge · 8c99625c
      unknown authored
      
      Docs/manual.texi:
        SCCS merged
      8c99625c
    • unknown's avatar
      fixed two bugs in multi-table update · 4a537e9a
      unknown authored
      4a537e9a
    • unknown's avatar
      Backported pthread_mutex_trylock code from MySQL 4.0 to fix problem on HPUX. · 95417c33
      unknown authored
      Removed Heikki's patch for handling this.
      
      
      95417c33
    • unknown's avatar
      7917a18b
    • unknown's avatar
      Better error messages for mysql-test-run · 72345f2b
      unknown authored
      Added option --host to mysqlhotcopy
      
      
      mysql-test/mysql-test-run.sh:
        Added error message if the server doesn't start.
        Increase connect timeout a bit (for running under purify).
      mysql-test/t/rpl000001.test:
        Longer sleep time (for running under purify)
      scripts/mysqlhotcopy.sh:
        Added option --host for usage with TCP/IP connections
      sql/gen_lex_hash.cc:
        Fixed typo
      72345f2b
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 4af8be3b
      unknown authored
      into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      4af8be3b
    • unknown's avatar
      fixed bug, that caused suboptimal memory usage during REPAIR when... · 5f0cd0fe
      unknown authored
      fixed bug, that caused suboptimal memory usage during REPAIR when ft_max_word_len was decreased by user
      
      
      
      5f0cd0fe
    • unknown's avatar
      my_pthread.h, configure.in: · 72e8833b
      unknown authored
        In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
      
      
      configure.in:
        In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
      include/my_pthread.h:
        In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
      72e8833b
    • unknown's avatar