1. 22 Aug, 2002 5 commits
    • unknown's avatar
    • unknown's avatar
      Fixed bug in wait_for_update() that I had introduced. · e4d5597d
      unknown authored
      Changed option variables to my_bool (to avoid bugs in my_getopt())
      Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early.
      Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
      
      
      libmysqld/lib_sql.cc:
        Removed not needed LOCK
      mysql-test/mysql-test-run.sh:
        Log name of running test
      mysql-test/r/rpl_sporadic_master.result:
        Cleaned up test
      mysql-test/t/rpl_sporadic_master.test:
        cleaned up test
      sql/log.cc:
        Cleanup.
        Fixed bug in wait_for_update() that I had introduced.
      sql/mini_client.cc:
        Indentation changes.
      sql/mysql_priv.h:
        Changed option variables to my_bool.
      sql/mysqld.cc:
        Changed option variables to my_bool.
        Removed not used LOCK_server_id
        Minor code cleanups.
      sql/repl_failsafe.cc:
        Minor code cleanups
      sql/slave.cc:
        Minor code cleanups.
        Fixed usage of wait_for_update().
      sql/slave.h:
        Changed option variables to my_bool.
      sql/sql_class.cc:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_class.h:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_insert.cc:
        Do broadcast after unlock()
      sql/sql_parse.cc:
        Removed not needed LOCK
        Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
        Changed killing of threads to not lock LOCK_thread_count for long.
      sql/sql_repl.cc:
        Changed options variables to my_bool
        Fixed usage of wait_for_update()
        Fixed loop to kill slaves to not lock LOCK_thread_count for long.
        Code optimization.
      sql/sql_repl.h:
        bool -> my_bool
        Fixed KICK_SLAVE to use LOCK_delete
      e4d5597d
    • unknown's avatar
      lock0lock.h, lock0lock.c: · 1bde8158
      unknown authored
        Remove a spurious deadlock when >= 2 insert transactions have to wait because there is a next-key lock set
      
      
      innobase/lock/lock0lock.c:
        Remove a spurious deadlock when >= 2 insert transactions have to wait because there is a next-key lock set
      innobase/include/lock0lock.h:
        Remove a spurious deadlock when >= 2 insert transactions have to wait because there is a next-key lock set
      1bde8158
    • unknown's avatar
      Fixed URL (from JimW). · b3ff1436
      unknown authored
      b3ff1436
    • unknown's avatar
      Add a few common synonyms to aid searching: · 51157b03
      unknown authored
      DROP: delete, ALTER: change, column: field.
      
      
      51157b03
  2. 21 Aug, 2002 13 commits
    • unknown's avatar
      Updated changelog section. · 6cf3b909
      unknown authored
      6cf3b909
    • unknown's avatar
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0/ · e5d75204
      unknown authored
      into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.0
      
      
      e5d75204
    • unknown's avatar
      Fixed a bug in mysqladmin, when it could hang while waiting for · cbd4e667
      unknown authored
      pid file to disappear, when MySQL was already re-started.
      
      
      cbd4e667
    • unknown's avatar
      Updated Dutch error messages. · 854894f1
      unknown authored
      854894f1
    • unknown's avatar
    • unknown's avatar
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 98ff9f81
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      98ff9f81
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · f93132af
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      f93132af
    • unknown's avatar
      InnoDB support for HANDLER · 3f93edfa
      unknown authored
      
      mysql-test/r/innodb.result:
        remove handler test from innodb.test
      mysql-test/t/innodb.test:
        remove handler test from innodb.test
      sql/ha_innodb.cc:
        HANDLER support
      sql/ha_innodb.h:
        HANDLER support
      sql/handler.h:
        HANDLER support for InnoDB
      sql/sql_handler.cc:
        HANDLER support for InnoDB
      3f93edfa
    • unknown's avatar
      Portability fix. · 656da11b
      unknown authored
      
      mysys/thr_alarm.c:
        Fixed portability problem with thr_alarm.c
      readline/display.c:
        Removed compiler warning
      sql/net_serv.cc:
        Added DBUG_ENTER in net_clear.
      656da11b
    • unknown's avatar
      merge · 7ba2adcc
      unknown authored
      7ba2adcc
    • unknown's avatar
      Use our version of RWLOCKS on UNIXWARE 7 · 87f9ad37
      unknown authored
      More DBUG info for replication
      Better error messages from replication
      Fixed bug in replication code when connecting to 'localhost' (time was not released properly)
      Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
      Removed warning when setting an AUTO_INCREMENT field to NULL
      
      
      Build-tools/Do-compile:
        Always run test with --warnings during build
      Docs/manual.texi:
        Changelog
      configure.in:
        Use our version of RWLOCKS on UNIXWARE 7
      include/my_pthread.h:
        Use our version of RWLOCKS on UNIXWARE 7
      include/mysql_version.h.in:
        Fixed warning when compiling embedded server
      include/mysqld_error.h:
        New error messages
      libmysql/libmysql.c:
        Give connect error message on reconnect if it fails.
        Fixed possible buffer overflow in expand_error()
        Added error messages for some error conditions.
      mysql-test/mysql-test-run.sh:
        Portability fixes:
        - Search after 'time' in path.
        - Search after mysqld in libexec
        - Remove end / when doing rm -r (fix for BSD)
        Clean up skip_test handling.
      mysql-test/r/rpl_empty_master_crash.result:
        New results
      mysql-test/t/rpl_empty_master_crash.test:
        Extended test
      mysys/mf_iocache.c:
        Remember file position on failed read.
      mysys/mf_iocache2.c:
        Fixed bug in filelength() call.
      mysys/thr_alarm.c:
        Made alarm handling more threadsafe when use with DBUG.
      mysys/thr_mutex.c:
        More debug info
      sql/log_event.cc:
        More DBUG_PRINT statements.
      sql/mini_client.cc:
        Better error reporting on failures.
        Return connect error on reconnect failure (instead of SERVER_GONE_ERROR)
        Fixed critical bug in alarm handling on connect (could leave an alarm event on indefinitely)
      sql/mysql_priv.h:
        Fixed arguments to mysql_binlog_send()
      sql/mysqld.cc:
        Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
      sql/net_pkg.cc:
        Removed dead code
      sql/net_serv.cc:
        Ensure that last_errno is set in net_real_write()
      sql/repl_failsafe.cc:
        Code cleanup.
        Better error handling.
      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.
      mysql-test/r/rpl_log_pos.result:
        Updated results
      mysql-test/t/rpl_log_pos.test:
        Added 'sleep' commands to make tests repeatable.
      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:
        Code optimization and cleanup.
        More DBUG statements.
        Better cleanup if start slave fails.
        Better error messages from 'fetch_master_table'
        Thread safer handling of 'wait_for_pos'
      sql/slave.h:
        Better handling of wait_for_pos
      sql/sql_load.cc:
        Removed warning when setting an AUTO_INCREMENT field to NULL
      sql/sql_parse.cc:
        Fixed calling of function that has changed.
      sql/sql_repl.cc:
        More DBUG statements
        Give a proper error number from mysql_binlog_send() so that we know when we have to abort slaves.
      87f9ad37
  3. 20 Aug, 2002 4 commits
  4. 19 Aug, 2002 4 commits
  5. 18 Aug, 2002 1 commit
    • unknown's avatar
      Fixed timing problem with rpl000001 replication test. · 457172d9
      unknown authored
      Fixed configure problems with HPUX and openbsd
      SHOW SLAVE STATUS returns empty set if slave is not initialized
      SHOW MASTER STATUS returns empty set if binary logging is not enabled.
      Fixed shutdown problem on Solaris.
      
      
      BitKeeper/deleted/.del-set_var.cc~5374527de1955359:
        Delete: libmysqld/set_var.cc
      BitKeeper/etc/ignore:
        added libmysqld/set_var.cc
      Build-tools/Do-compile:
        Remove warnings from touch during compilation
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Added real_sleep command
      configure.in:
        Fixed type for HPUX10
      innobase/configure.in:
        Fixed type for openbsd
      libmysql/libmysql.c:
        Fix for new SHOW SLAVE STATUS
      myisam/mi_update.c:
        Update key file if using external locking
      mysql-test/mysql-test-run.sh:
        Safety fix
      mysql-test/r/rpl000015.result:
        Update for new SHOW SLAVE STATUS
      mysql-test/r/rpl_empty_master_crash.result:
        Update for new SHOW SLAVE STATUS
      mysql-test/t/rpl000001.test:
        sleep -> real_sleep to avoid timing problem
      sql/mysqld.cc:
        Fixed bug with SIGTERM on Solaris
      sql/slave.cc:
        SHOW SLAVE STATUS returns empty sets if slave is not initialized.
      sql/sql_repl.cc:
        SHOW MASTER STAT returns empty set if no binary logging.
      457172d9
  6. 17 Aug, 2002 4 commits
    • unknown's avatar
      manual.texi fix missing word · b38cc1db
      unknown authored
      
      Docs/manual.texi:
        fix missing word
      b38cc1db
    • unknown's avatar
      Portability fixes for 4.0.3 build. · 36827564
      unknown authored
      Don't update MyISAM index file on UPDATE if index is not changed
      
      
      Build-tools/Do-compile:
        Remove log files as early as possible
      Docs/manual.texi:
        Changelog
      BitKeeper/etc/ignore:
        Added myisam/test2.MYD myisam/test2.MYI to the ignore list
      include/my_semaphore.h:
        Portability fix for SCO and BSDI
      innobase/configure.in:
        Don't use inline with openbsd as this cases linker problems.
      myisam/mi_update.c:
        Don't update index file on UPDATE if index is not changed
      mysys/my_pthread.c:
        Portability fix for hpux
      sql/item_cmpfunc.cc:
        Don't convert bigint to bigint
      36827564
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 · c9bda5bc
      unknown authored
      
      Docs/manual.texi:
        Auto merged
      c9bda5bc
    • unknown's avatar
      Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned... · 4ed42792
      unknown authored
      Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      Removed thread marking of safemalloc blocks (becasue of alignment problems)
      Temporary fix for bigint comparison.
      
      
      configure.in:
        Added size checking of char*
      BitKeeper/etc/ignore:
        Added sql-bench/innotest1 sql-bench/innotest1a sql-bench/innotest1b sql-bench/innotest2 sql-bench/innotest2a sql-bench/innotest2b to the ignore list
      mysql-test/r/select.result:
        Cleaned up test
      mysql-test/t/select.test:
        Cleaned up test
      mysys/my_static.h:
        Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      mysys/safemalloc.c:
        Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      sql/field.h:
        Temporary fix for bigint comparison.
      sql/gen_lex_hash.cc:
        Smaller hash table
      sql/item_cmpfunc.cc:
        Cleanup
      sql/mysqld.cc:
        Removed thread marking of safemalloc blocks (becasue of alignment problems)
      sql/opt_range.cc:
        Comment
      4ed42792
  7. 16 Aug, 2002 9 commits
    • unknown's avatar
      manual.texi begin to clean up the SSL section · 1c207def
      unknown authored
      
      Docs/manual.texi:
        begin to clean up the SSL section
      1c207def
    • unknown's avatar
      Merge hundin.mysql.fi:/my/mysql-3.23 · ac6dc20a
      unknown authored
      into hundin.mysql.fi:/my/bk/mysql-4.0
      
      
      configure.in:
        Auto merged
      Docs/manual.texi:
        Auto merged
      include/my_pthread.h:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      ac6dc20a
    • unknown's avatar
      merge · d818eb53
      unknown authored
      d818eb53
    • unknown's avatar
      Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code) · 96f2e21e
      unknown authored
      Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column.
      Fixed bug in pthread_mutex_trylock with HPUX 11.0
      
      
      Docs/manual.texi:
        Changelog
      include/my_pthread.h:
        Fix for pthread_mutex_trylock when used with SAFEMUTEX
      include/violite.h:
        Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code)
      innobase/buf/buf0buf.c:
        Fixed wrong format string
      libmysqld/lib_sql.cc:
        Fixed hangup in embedded server.
      mysql-test/r/distinct.result:
        Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column
      mysql-test/t/distinct.test:
        Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column
      mysys/my_pthread.c:
        Cleanup of pthread_xxx rewrite code.
        Fixed bug in pthread_mutex_trylock with HPUX 11.0
      sql/gen_lex_hash.cc:
        Smaller hash array
      sql/mysqld.cc:
        Fixed hangup in embedded server.
      sql/sql_select.cc:
        Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column
      vio/vio.c:
        Added vio_ssl_blocking
      vio/viossl.c:
        Added vio_ssl_blocking
      96f2e21e
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · bccec229
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      Docs/manual.texi:
        Auto merged
      bccec229
    • unknown's avatar
      A fix for bigints with quoted constants .. · ae57deba
      unknown authored
      Same princpile can be applied to other expressions
      
      
      ae57deba
    • unknown's avatar
      manual.texi fix typo · c79c9fa1
      unknown authored
      
      Docs/manual.texi:
        fix typo
      c79c9fa1
    • unknown's avatar
      Fix for HPUX 11 and pthread_mutex_lock · 694e3306
      unknown authored
      
      include/my_pthread.h:
        Fix for HPUX 11 and pthread_mutex_lock (merge from 4.0)
      mysys/my_pthread.c:
        Fix for HPUX 11 and pthread_mutex_lock (merge from 4.0)
      694e3306
    • unknown's avatar
      merge with 3.23.53 · 7139794e
      unknown authored
      New fix for pthread_mutex_trylock for HPUX 10.20
      
      
      BitKeeper/deleted/.del-mysql.dsp:
        Delete: VC++Files/mysql.dsp
      BitKeeper/deleted/.del-mysqlshow.dsp:
        Delete: VC++Files/client/mysqlshow.dsp
      BitKeeper/deleted/.del-dbug.dsp:
        Delete: VC++Files/dbug/dbug.dsp
      BitKeeper/deleted/.del-dbug.dsw:
        Delete: VC++Files/dbug/dbug.dsw
      BitKeeper/deleted/.del-heap.dsp:
        Delete: VC++Files/heap/heap.dsp
      BitKeeper/deleted/.del-innobase.dsp:
        Delete: VC++Files/innobase/innobase.dsp
      BitKeeper/deleted/.del-isam.dsp:
        Delete: VC++Files/isam/isam.dsp
      BitKeeper/deleted/.del-isam.dsw:
        Delete: VC++Files/isam/isam.dsw
      BitKeeper/deleted/.del-isamchk.dsp:
        Delete: VC++Files/isamchk/isamchk.dsp
      BitKeeper/deleted/.del-libmySQL.dsp:
        Delete: VC++Files/libmysql/libmySQL.dsp
      BitKeeper/deleted/.del-libmysql.dsw:
        Delete: VC++Files/libmysql/libmysql.dsw
      BitKeeper/deleted/.del-mysql.dsw:
        Delete: VC++Files/mysql.dsw
      BitKeeper/deleted/.del-myTest.dsp:
        Delete: VC++Files/libmysqltest/myTest.dsp
      BitKeeper/deleted/.del-mytest.dsw:
        Delete: VC++Files/libmysqltest/mytest.dsw
      BitKeeper/deleted/.del-merge.dsp:
        Delete: VC++Files/merge/merge.dsp
      BitKeeper/deleted/.del-merge.dsw:
        Delete: VC++Files/merge/merge.dsw
      BitKeeper/deleted/.del-myisam.dsp:
        Delete: VC++Files/myisam/myisam.dsp
      BitKeeper/deleted/.del-myisamchk.dsp:
        Delete: VC++Files/myisamchk/myisamchk.dsp
      BitKeeper/deleted/.del-myisamlog.dsp:
        Delete: VC++Files/myisamlog/myisamlog.dsp
      BitKeeper/deleted/.del-myisammrg.dsp:
        Delete: VC++Files/myisammrg/myisammrg.dsp
      BitKeeper/deleted/.del-myisampack.dsp:
        Delete: VC++Files/myisampack/myisampack.dsp
      BitKeeper/deleted/.del-mysqlbinlog.dsp:
        Delete: VC++Files/mysqlbinlog/mysqlbinlog.dsp
      BitKeeper/deleted/.del-bdb.dsp:
        Delete: VC++Files/bdb/bdb.dsp
      BitKeeper/deleted/.del-MySqlManager.dsp:
        Delete: VC++Files/mysqlmanager/MySqlManager.dsp
      BitKeeper/deleted/.del-mysqlmanager.dsw:
        Delete: VC++Files/mysqlmanager/mysqlmanager.dsw
      BitKeeper/deleted/.del-myshutdown.dsp:
        Delete: VC++Files/mysqlshutdown/myshutdown.dsp
      BitKeeper/deleted/.del-mysqlshutdown.dsp:
        Delete: VC++Files/mysqlshutdown/mysqlshutdown.dsp
      BitKeeper/deleted/.del-mysqlwatch.dsp:
        Delete: VC++Files/mysqlwatch/mysqlwatch.dsp
      BitKeeper/deleted/.del-mysys.dsp:
        Delete: VC++Files/mysys/mysys.dsp
      BitKeeper/deleted/.del-mysys.dsw:
        Delete: VC++Files/mysys/mysys.dsw
      BitKeeper/deleted/.del-pack_isam.dsp:
        Delete: VC++Files/pack_isam/pack_isam.dsp
      BitKeeper/deleted/.del-perror.dsp:
        Delete: VC++Files/perror/perror.dsp
      BitKeeper/deleted/.del-regex.dsp:
        Delete: VC++Files/regex/regex.dsp
      BitKeeper/deleted/.del-mysql.dsp~1:
        Delete: VC++Files/client/mysql.dsp
      BitKeeper/deleted/.del-regex.dsw:
        Delete: VC++Files/regex/regex.dsw
      BitKeeper/deleted/.del-replace.dsp:
        Delete: VC++Files/replace/replace.dsp
      BitKeeper/deleted/.del-mysqld.dsp:
        Delete: VC++Files/sql/mysqld.dsp
      BitKeeper/deleted/.del-mysqldmax.dsp:
        Delete: VC++Files/sql/mysqldmax.dsp
      BitKeeper/deleted/.del-strings.dsp:
        Delete: VC++Files/strings/noMASM/strings.dsp
      BitKeeper/deleted/.del-test1.dsp:
        Delete: VC++Files/test1/test1.dsp
      BitKeeper/deleted/.del-thr_insert_test.dsp:
        Delete: VC++Files/thr_insert_test/thr_insert_test.dsp
      BitKeeper/deleted/.del-thr_test.dsp:
        Delete: VC++Files/thr_test/thr_test.dsp
      BitKeeper/deleted/.del-zlib.dsp~1:
        Delete: VC++Files/zlib/zlib.dsp
      BitKeeper/deleted/.del-mysqladmin.dsp:
        Delete: VC++Files/client/mysqladmin.dsp
      BitKeeper/deleted/.del-mysqlclient.dsp:
        Delete: VC++Files/client/mysqlclient.dsp
      BitKeeper/deleted/.del-mysqlclient.dsw:
        Delete: VC++Files/client/mysqlclient.dsw
      BitKeeper/deleted/.del-mysqldump.dsp:
        Delete: VC++Files/client/mysqldump.dsp
      BitKeeper/deleted/.del-global.h~e80d28157acfdcb5:
        Auto merged
      BitKeeper/deleted/.del-mysqlimport.dsp:
        Delete: VC++Files/client/mysqlimport.dsp
      Docs/manual.texi:
        Auto merged
      configure.in:
        merge
      mysys/my_pthread.c:
        New fix for pthread_mutex_trylock for HPUX
      sql-bench/Makefile.am:
        merge with 3.23.53
      7139794e