An error occurred fetching the project authors.
  1. 14 Jul, 2003 1 commit
    • unknown's avatar
      Safety and speedup fixes: · 852e2b0f
      unknown authored
      Changed is_open() to work as before.
      Added back inited argument to LOG
      
      
      mysql-test/r/rpl_flush_log_loop.result:
        Fixed results (probably bug in previous rpatch)
      sql/handler.cc:
        Changed is_open() to work as before
      sql/item_func.cc:
        Changed is_open() to work as before
      sql/log.cc:
        Part revert of previous patch.
        The reason for adding back 'inited' is that is that we can't be 100 % sure that init_pthread_objects() is called before mysqld dies (for example on windows)
        I removed mutex lock handling in is_open() as the new code didn't have ANY affect except beeing slower.
        Added back checking of is_open() to some functions as we don't want to do a mutex lock when we are not using logging.
        Indentation/comment fixes
      sql/log_event.cc:
        Changed is_open() to work as before
      sql/repl_failsafe.cc:
        Changed is_open() to work as before
      sql/sql_base.cc:
        Changed is_open() to work as before
      sql/sql_class.h:
        Changed is_open() to work as before. Added back 'inited' variable
      sql/sql_db.cc:
        Changed is_open() to work as before
      sql/sql_delete.cc:
        Changed is_open() to work as before
      sql/sql_insert.cc:
        Changed is_open() to work as before
      sql/sql_load.cc:
        Changed is_open() to work as before
      sql/sql_parse.cc:
        Changed is_open() to work as before
      sql/sql_rename.cc:
        Changed is_open() to work as before
      sql/sql_repl.cc:
        Changed is_open() to work as before
      sql/sql_table.cc:
        Changed is_open() to work as before
      sql/sql_update.cc:
        Changed is_open() to work as before
      852e2b0f
  2. 12 Jul, 2003 1 commit
    • unknown's avatar
      Cleaning after removing LOG_INFO_PURGE_NO_ROTATE. · b6ad6d5c
      unknown authored
      sql/sql_repl.cc:
        In my previous change I removed 'no_rotate' from MYSQL_LOG, so this made
        LOG_INFO_PURGE_NO_ROTATE useless (an error code which was never returned),
        so I remove it of the 'switch'.
      b6ad6d5c
  3. 11 Jul, 2003 1 commit
    • unknown's avatar
      Fix for BUG#791: · 917b4fb0
      unknown authored
      a safer way of initing the mutexes in MYSQL_LOG.
      is_open() is now always thread-safe.
      See each file for details.
      
      
      sql/handler.cc:
        is_open() with locks
      sql/item_func.cc:
        is_open() with locks
      sql/log.cc:
        No more 'inited'.
        We now always use is_open() in a thread-safe manner.
        This simplifies some functions (no more need to test is_open() twice).
      sql/log_event.cc:
        is_open() with locks
      sql/mysqld.cc:
        Init mutexes for the global MYSQL_LOG objects.
        We care about no_rotate, because we can't do it in open() anymore (because
        we don't have 'inited' anymore).
      sql/repl_failsafe.cc:
        is_open() with locks
      sql/slave.cc:
        init pthread objects (mutexes, conds) in the constructor of st_relay_log_info.
        Some better locking in rotate_relay_log().
      sql/sql_base.cc:
        is_open() with locks
      sql/sql_class.h:
        Before, we inited LOCK_log in MYSQL_LOG::open(), so in other places of the code
        when we were never 100% sure that it had been inited. For example, if the server
        was running without --log-bin, ::open() was not called so the mutex was not
        inited. We could detect it with !inited, but not safely as 'inited' was not
        protected by any mutex.
        So now:
        we *always* init the LOCK_log mutex, even if the log is not used. We can't init
        the mutex in MYSQL_LOG's constructor, because for global objects like
        mysql_bin_log, mysql_log etc, the constructor is called before MY_INIT(), but
        safe_mutex depends on MY_INIT(). So we have a new function MYSQL_LOG::init_pthread_objects
        which we call in main(), after MY_INIT().
        For the relay log, we call this function in the constructor of
        st_relay_log_info, which is called before any function tries to
        use the relay log (the relay log is always invoked as rli.relay_log).
        So now we should be safe in all cases and we don't need 'inited'.
      sql/sql_db.cc:
        is_open() with locks
      sql/sql_delete.cc:
        is_open() with locks
      sql/sql_insert.cc:
        is_open() with locks
      sql/sql_load.cc:
        is_open() with locks
      sql/sql_parse.cc:
        is_open() with locks
      sql/sql_rename.cc:
        is_open() with locks
      sql/sql_repl.cc:
        is_open() with locks
      sql/sql_table.cc:
        is_open() with locks
      sql/sql_update.cc:
        is_open() with locks
      917b4fb0
  4. 04 Jul, 2003 1 commit
    • unknown's avatar
      Status query on killed mysql connection results in segmentation fault (Bug #738) · b1e42705
      unknown authored
      Added MAX_PASSWORD_LENGTH. This increased master-slave passwords to 32 bytes (Bug #766)
      Fixed server crash on purge master logs or show master logs when binlog is off. (Bug #733)
      
      
      client/mysql.cc:
        status query on killed mysql connection results in segmentation fault (Bug #738)
      configure.in:
        Portability fix for Unixware
      include/my_global.h:
        Removed wrong patch from previous changeset
      sql/mysql_priv.h:
        Added MAX_PASSWORD_LENGTH. This increased master-slave passwords to 32 bytes
      sql/slave.h:
        Optimized structure
      sql/sql_repl.cc:
        Memory overrun safety fixes (not critical)
        Fixed server crash on purge master logs or show master logs when binlog is off. (Bug #733)
      sql/sql_repl.h:
        Fixed to use right define
      strings/strmake.c:
        Fixed comment
      b1e42705
  5. 02 Jul, 2003 3 commits
    • unknown's avatar
      I committed the same changeset in my tree yesterday, but broke the tree since, · 1c88eead
      unknown authored
      so I commit again in a fresh tree.
      Fix for bug#763 (Relay_log_space too big by 4 bytes),
      plus comments and DBUG_PRINT, and we don't start replication
      if --bootstrap.
      
      
      mysql-test/r/rpl_log.result:
        Result update
      mysql-test/r/rpl_log_pos.result:
        Result update
      sql/mysqld.cc:
        Don't start replication if in bootstrap mode (bootstrap isn't supposed to have
        several threads).
      sql/slave.cc:
        Fix for bug 763 (Relay_log_space too big by 4 bytes).
        A DBUG_PRINT.
      sql/sql_acl.cc:
        Replaced a return by DBUG_RETURN (happened to find this reading a debug log).
      sql/sql_repl.cc:
        A comment.
      1c88eead
    • unknown's avatar
      add comment for BUG 672 · 085ddfdc
      unknown authored
      085ddfdc
    • unknown's avatar
      fixed bug #672 · 2e12c12e
      unknown authored
      client/mysqlbinlog.cc:
        changed format of eof-packet for protocol 4.1
      2e12c12e
  6. 23 Jun, 2003 1 commit
    • unknown's avatar
      Simple code cleanup · c1508250
      unknown authored
      mysql-test/r/innodb.result:
        Fixed test case after innodb optimize->analyze fix
      mysys/mf_pack.c:
        Added comments
      sql/log_event.cc:
        Fixed usage of fn_format()
      sql/slave.cc:
        Indentation fixes and comments cleanup
      sql/sql_repl.cc:
        Comment cleanup
      c1508250
  7. 22 Jun, 2003 1 commit
    • unknown's avatar
      Fixed cleanup_load_tmpdir() which deleted nothing. · 2de08709
      unknown authored
      sql/log_event.cc:
        - cleanup_load_tmpdir() did not work at all because it forgot to indicate
        the directory part of the path when calling my_delete().
        - A misplaced R_POS_OFFSET (fortunately this was no bug as this constant is 0).
      sql/sql_repl.cc:
        - fix fake_rotate_event() for pos>4G (correction of a change I pushed yesterday).
      2de08709
  8. 21 Jun, 2003 1 commit
  9. 17 Jun, 2003 1 commit
    • unknown's avatar
      Changed change_master() to use ER_MASTER_INFO (better display). · fe29b860
      unknown authored
      mysql-test/r/rpl_rotate_logs.result:
        result update
      mysql-test/t/rpl_rotate_logs.test:
        comments and test update with the error code
      sql/slave.cc:
        A DBUG_PRINT
      sql/sql_repl.cc:
        Use ER_MASTER_INFO instead of custom message and zero error code (which display
        badly).
      fe29b860
  10. 10 Jun, 2003 1 commit
    • unknown's avatar
      More error messages. This is intended to help debugging; presently I have a · 9f782d1e
      unknown authored
      support issue with an unclear message which can have N reasons for appearing.
      This should help us know at which point it failed, and get the errno when
      my_open was involved (as the reason for the unclear message is often a
      permission problem).
      RESET SLAVE resets last_error and last_errno in SHOW SLAVE STATUS (without this,
      rpl_loaddata.test, which is expected to generate an error in last_error, influenced
      rpl_log_pos.test).
      A small test update.
      Added STOP SLAVE to mysql-test-run to get rid of several stupid error messages
      which are printed while the master restarts and the slave attempts/manages to
      connect to it and sends it nonsense binlog requests.
      
      
      mysql-test/mysql-test-run.sh:
        Before running a test, stop slave threads if they exist (if they don't
        the script goes on fine). This also works fine with the manager.
        Before this change, when the master was stopped/restarted (which happened before
        the slave server was stopped/restarted), the slave threads
        noticed the stop (so printed an error message in slave.err), then managed to
        reconnect (to the new master, the one that is running for the _next_ test),
        and this reconnection had time to produce error messages (because, for example,
        the binlog the slave thread was asking had been deleted) before the slave server
        was killed. This change reduces by 10% (40 lines) slave.err in replication tests.
      mysql-test/r/rpl000018.result:
        Result update.
      mysql-test/t/rpl000018.test:
        This test does "show master logs" so should do "reset master" instead of
        relying on the previous tests.
      sql/slave.cc:
        More error messages.
      sql/sql_repl.cc:
        More error messages.
        RESET SLAVE resets last_error and last_errno in SHOW SLAVE STATUS.
      9f782d1e
  11. 03 Jun, 2003 1 commit
    • unknown's avatar
      One-line fix for bug 576 (DBUG_ASSERT failure when using CHANGE MASTER TO RELAY_LOG_POS=4). · af96483f
      unknown authored
      Plus a changeset which I had committed but forgot to push (and this changeset is lost on
      another computer, so I recreate it here). This changeset is "user-friendly SHOW BINLOG EVENTS
      and CHANGE MASTER TO when log positions < 4 are used.
      
      
      sql/slave.cc:
        fix for bug 576 (DBUG_ASSERT failure when using CHANGE MASTER TO RELAY_LOG_POS=4).
      sql/sql_repl.cc:
        User-friendly SHOW BINLOG EVENTS:
        SHOW BINLOG EVENTS FROM 0: currently one gets
            MASTER> show binlog events from 0;
            ERROR 1220: Error when executing command SHOW BINLOG EVENTS: Invalid log position
        so we silently convert <4 to 4.
      sql/sql_yacc.yy:
        User-friendly CHANGE MASTER TO:
        presently when one does CHANGE MASTER TO MASTER_LOG_POS=0 he gets
            030425 10:12:41  Slave I/O thread: connected to master 'root@localhost:3306',  r
            eplication started in log 'gbichot-bin.013' at position 151
            030425 10:12:41  Error reading packet from server: Client requested master to st
            art replication from impossible position (server_errno=1236)
            030425 10:12:41  Got fatal error 1236: 'Client requested master to start replica
            tion from impossible position' from master when reading data from binary log
            030425 10:12:41  Slave I/O thread exiting, read up to log 'gbichot-bin.013', pos
            ition 151
            
        while she/he probably just wanted to start at the beginning of the
        binlog, which is 4. So we silently convert <4 to 4 in sql_yacc.yy
        (i.e. in the slave code; fortunately all versions have the same
        BIN_LOG_HEADER_SIZE=4 and we should not change this). See comments
        for an explaination of why we have to do this in sql_yacc.yy,
        not in sql_repl.cc.
        Same thing for CHANGE MASTER TO RELAY_LOG_POS.
      sql/unireg.h:
        warning comment
      af96483f
  12. 27 Apr, 2003 1 commit
    • unknown's avatar
      Fixed problem when comparing a key for a multi-byte-character set. (bug 152) · dd089517
      unknown authored
      Use 0x.... as strings if 'new' mode. (bug 152)
      Don't report -max on windows when InnoDB is enabled. (bug 332)
      Reset current_linfo;  This could cause a hang when doing PURGE LOGS.
      Fix for row numbers in EXPLAIN (bug 322)
       Fix that USE_FRM works for all table types (bug 97)
      
      
      VC++Files/libmysql/libmysql.dsp:
        Added new source files
      myisam/mi_key.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_range.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_rkey.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_search.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_test2.c:
        Fixed printf statements
      myisam/myisamdef.h:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/sort.c:
        Fixed printf statements
      mysql-test/r/ctype_latin1_de.result:
        New test results
      mysql-test/r/join.result:
        New test results
      mysql-test/r/repair.result:
        New test results
      mysql-test/r/rpl_alter.result:
        New test results
      mysql-test/t/ctype_latin1_de-master.opt:
        --new is needed to get 0x... strings to work properly
      mysql-test/t/ctype_latin1_de.test:
        New test for latin1_de
      mysql-test/t/repair.test:
        Test of USE_FRM and HEAP tables
      sql/field.cc:
        Fixed problem when comparing a key for a multi-byte-character set.
      sql/item.cc:
        Use 0x.... as strings if 'new' mode
      sql/item.h:
        Use 0x.... as strings if 'new' mode
      sql/mysqld.cc:
        Don't report -max on windows when InnoDB is enabled.
      sql/sql_analyse.cc:
        Removed unused variable
      sql/sql_insert.cc:
        Removed debug message
      sql/sql_repl.cc:
        Reset current_linfo;  This could cause a hang when doing PURGE LOGS.
      sql/sql_select.cc:
        Fix for row numbers in EXPLAIN
      sql/sql_table.cc:
        Fix that USE_FRM works for all table types (without strange errors)
      sql/sql_yacc.yy:
        Removed compiler warnings.
      dd089517
  13. 17 Mar, 2003 1 commit
    • unknown's avatar
      New variable rli->ignore_log_space_limit to resolve · e7ee03b0
      unknown authored
      a deadlock between I/O and SQL threads in replication
      when relay_log_space is too small. This fixes bug #79.
      
      
      sql/log.cc:
        New variable rli->ignore_log_space_limit to resolve
        a deadlock between I/O and SQL threads in replication
        when relay_log_space is too small.
      sql/slave.cc:
        New variable rli->ignore_log_space_limit to resolve
        a deadlock between I/O and SQL threads in replication
        when relay_log_space is too small.
      sql/slave.h:
        New variable rli->ignore_log_space_limit to resolve
        a deadlock between I/O and SQL threads in replication
        when relay_log_space is too small.
      sql/sql_repl.cc:
        New variable rli->ignore_log_space_limit to resolve
        a deadlock between I/O and SQL threads in replication
        when relay_log_space is too small.
      e7ee03b0
  14. 03 Mar, 2003 1 commit
    • unknown's avatar
      Replication: small bug fixes in mysql-test-run.sh and in replication code (more reinitializations) · 726d68f6
      unknown authored
      + fix for #70 
      + test result fix for LOAD DATA LOCAL bug #82
      
      
      client/mysqltest.c:
        Removed wrong comment and useless sleep
      mysql-test/mysql-test-run.sh:
        Fix $slave_datadir variable because this
          if [ -n "$1" ] ; 
           slave_datadir="var/$slave_ident-data/"
          else
            slave_datadir=$SLAVE_MYDDIR
        was not coherent and led to problems of master.info not being deleted.
        Delete relay-log.info too.
      mysql-test/r/rpl000001.result:
        SUM is 1022 (1021 was when we had the LOAD DATA LOCAL bug #82).
        It's logical to have an even number as we load the same file twice.
      sql/slave.cc:
        When we RESET SLAVE, clear rli->master_log_* to give a good display in SHOW SLAVE STATUS ;
        seeing the old values may confuse the user.
        When we START SLAVE, clear rli->master_log_name, not only rli->master_log_pos.
      sql/sql_repl.cc:
        When we RESET SLAVE, clear mi->master_log_* to give a good display in SHOW SLAVE STATUS (bug #70)
      726d68f6
  15. 25 Jan, 2003 1 commit
    • unknown's avatar
      Added timeout for wait_for_master_pos · 6337190c
      unknown authored
      Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
      Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      
      
      mysql-test/r/rpl000009.result:
        Fixed replication test after fixing replication of DROP/CREATE DATABASE
      mysql-test/t/rpl000009.test:
        Fixed replication test after fixing replication of DROP/CREATE DATABASE
      sql/item_create.cc:
        Added timeout for wait_for_master_pos
      sql/item_create.h:
        Added timeout for wait_for_master_pos
      sql/item_func.cc:
        Added timeout for wait_for_master_pos
      sql/item_func.h:
        Added timeout for wait_for_master_pos
      sql/lex.h:
        Added timeout for wait_for_master_pos
      sql/slave.h:
        Added timeout for wait_for_master_pos
        Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      sql/sql_parse.cc:
        Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      sql/sql_repl.cc:
        Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
      6337190c
  16. 13 Dec, 2002 1 commit
    • unknown's avatar
      RESET SLAVE and CHANGE MASTER will now give an error if slave is running. · 1413c224
      unknown authored
      This fixes a problem in replication where RESET SLAVE could crash a running slave.
      
      
      mysql-test/r/rpl_failsafe.result:
        Added missing drop
      mysql-test/r/rpl_log_pos.result:
        Added slave stop before change master
      mysql-test/t/rpl_log_pos.test:
        Added slave stop before change master
      sql/sql_parse.cc:
        reset_slave() sends it's own errors
      sql/sql_repl.cc:
        reset_slave() sends it own error.
        RESET SLAVE and CHANGE MASTER will now give an error if slave is running.
        This fixes a problem in replication where RESET SLAVE could crash a running slave.
      1413c224
  17. 14 Nov, 2002 1 commit
    • unknown's avatar
      Portability fix when using -DBIG_TABLES · 281d491b
      unknown authored
      BitKeeper/etc/config:
        Changed Sasha to sys
      client/mysqlbinlog.cc:
        Fixed that --position open works.
      sql/item_timefunc.cc:
        Portability fix
      sql/log_event.cc:
        Portability fix
      sql/set_var.cc:
        Portability fix
      281d491b
  18. 07 Nov, 2002 1 commit
    • unknown's avatar
      Put temporary files in binlog cache when using BEGIN/COMMIT · 4952de9f
      unknown authored
      Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      New variables @@rand_seed1 and @@rand_seed2 (used by replication)
      DROP TEMPORARY TABLE
      
      
      mysql-test/r/rpl_log.result:
        Update of results after last replication change
      mysql-test/r/variables.result:
        Test of new variables @@rand_seed1 and @@rand_seed2
      mysql-test/t/variables.test:
        Test of new variables @@rand_seed1 and @@rand_seed2
      sql/field.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/field.h:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/item_func.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/log.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
        More debug information
      sql/log_event.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/log_event.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/set_var.cc:
        Add system variables @@rand_seed1 and @@rand_seed2
      sql/set_var.h:
        Add system variables @@rand_seed1 and @@rand_seed2
      sql/slave.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_acl.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_base.cc:
        Store DROP of temporary tables in binlog cache
      sql/sql_class.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_db.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_delete.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_insert.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_lex.h:
        DROP TEMPORARY TABLE
      sql/sql_load.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_parse.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_rename.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_repl.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_repl.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_table.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_update.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_yacc.yy:
        DROP TEMPORARY
      sql/table.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/unireg.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      4952de9f
  19. 11 Sep, 2002 1 commit
    • unknown's avatar
      Portability fixes. · c3d4b40d
      unknown authored
      Improve mysql-test to be more robust.
      Fix that GRANT doesn't delete SSL options
      Change innobase_flush_log_at_trx_commit to uint.
      Don't rotate logs if we read a rotate log entry from the master.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqlbinlog.cc:
        Handle empty binlogfiles gracefully
      client/mysqltest.c:
        Do a sleep after 'sync_with_master'
        Cleaned up sleep() handling.
        Free all memory on exit
      configure.in:
        Fix for Mac OS 10.2
      include/my_sys.h:
        Added my_strdup_with_length()
      innobase/btr/btr0cur.c:
        Fixed wrong printf()
      libmysql/libmysql.c:
        Added DBUG_PRINT statements.
        Assume that mysql_...send() functions has correct query length.
      mysql-test/mysql-test-run.sh:
        Properly remove log files before starting new tests.
      mysql-test/r/grant.result:
        Update for new test results
      mysql-test/r/innodb.result:
        Update for new test results
      mysql-test/r/myisam.result:
        Update for new test results
      mysql-test/r/rpl_log.result:
        Update for new test results
      mysql-test/r/rpl_rotate_logs.result:
        Update for new test results
      mysql-test/r/variables.result:
        Update for new test results
      mysql-test/t/grant.test:
        Test that GRANT doesn't delete SSL options
      mysql-test/t/myisam.test:
        Test long key usage
      mysql-test/t/rpl_log.test:
        Disable 'show new master'
      mysql-test/t/rpl_mystery22.test:
        Longer sleep for more safety.
      mysql-test/t/rpl_rotate_logs.test:
        More comments
      mysys/my_malloc.c:
        Added my_strdup_with_length()
      mysys/safemalloc.c:
        Added my_strdup_with_length()
      mysys/thr_alarm.c:
        Fix of alarms for windows.
      sql/ha_innodb.cc:
        Change innobase_flush_log_at_trx_commit to uint
      mysql-test/r/rpl_redirect.result:
        Updated test results
      mysql-test/t/rpl_redirect.test:
        Added more tests to improve code coverage.
      sql/ha_innodb.h:
        Change innobase_flush_log_at_trx_commit to uint
      sql/item_func.cc:
        Return GLOBAL and SESSION as part of column names
      sql/log.cc:
        Only write STOP events when server goes down.
      sql/log_event.cc:
        Don't rotate logs if we read a rotate log entry from the master.
      sql/log_event.h:
        Change ident_len to uint (more efficient)
      sql/mysqld.cc:
        Change innobase_flush_log_at_trx_commit to uint
      sql/net_serv.cc:
        More debug output
      sql/repl_failsafe.cc:
        More DEBUG
        Search until we find next position in binary log (and not only =)
      sql/slave.cc:
        More DBUG & comments
        Don't rotate the binary log on master flush logs
      sql/slave.h:
        indentation change
      sql/sql_acl.cc:
        Test that GRANT doesn't delete SSL options
      sql/sql_parse.cc:
        Disable show_new_master.
      sql/sql_repl.cc:
        Chamger show_binlog_events() to use my_error()
      sql/sql_table.cc:
        Fixed check for too long keys in MyISAM
      sql/sql_udf.cc:
        Fix udf handling
      c3d4b40d
  20. 22 Aug, 2002 1 commit
    • unknown's avatar
      Fixed bug in wait_for_update() that I had introduced. · 36d7df75
      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
      36d7df75
  21. 21 Aug, 2002 1 commit
    • unknown's avatar
      Use our version of RWLOCKS on UNIXWARE 7 · 88a2f93b
      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.
      88a2f93b
  22. 18 Aug, 2002 1 commit
    • unknown's avatar
      Fixed timing problem with rpl000001 replication test. · 871b7856
      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.
      871b7856
  23. 08 Aug, 2002 1 commit
    • unknown's avatar
      Lots of code fixes to the replication code (especially the binary logging and... · 3a4baab1
      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
      3a4baab1
  24. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · 728cc2e2
      unknown authored
      Made a some new buffers thread specific and changeable.
      Resize of key_buffer.
      AUTO_COMMIT -> AUTOCOMMIT
      Fixed mutex bug in DROP DATABASE
      Fixed bug when using auto_increment as second part of a key where first part could include NULL.
      Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
      Don't write message to error log when slave reconnects becasue of timeout.
      Fixed possible update problem when using DELETE/UPDATE on small tables
      (In some cases we used index even if table scanning would be better)
      A lot of minior code cleanups
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      BitKeeper/etc/ignore:
        added libmysql/net.c
      Docs/manual.texi:
        New SET syntax & system variables.
      client/client_priv.h:
        moved order of include files
      client/mysql.cc:
        Removed compiler warning
      client/mysqladmin.c:
        Use new SHOW GLOBAL syntax (if server supports it)
      configure.in:
        version change
      include/Makefile.am:
        indentation cleanup
      include/my_getopt.h:
        Made some helper functions global
      include/my_sys.h:
        Removed not used code
      include/myisam.h:
        Added extra argument to ..._extra()
      include/myisammrg.h:
        Added extra argument to ..._extra()
      include/mysql_com.h:
        changed NET to be able to support changeable system variables
      include/mysql_embed.h:
        Added MYSQL_SERVER_SUFFIX
      include/mysql_version.h.in:
        Added check of multiple including (needed for embedded library)
      include/mysqld_error.h:
        New error messages
      innobase/dict/dict0dict.c:
        Remove compiler warnings
      innobase/include/ut0mem.h:
        Remove compiler warnings
      innobase/include/ut0mem.ic:
        Remove compiler warnings
      isam/isamchk.c:
        new init_key_cache() arguments
      isam/isamlog.c:
        new init_key_cache() arguments
      isam/test2.c:
        new init_key_cache() arguments
      isam/test3.c:
        new init_key_cache() arguments
      libmysql/Makefile.am:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/Makefile.shared:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/libmysql.c:
        Changeable system variables
      libmysqld/Makefile.am:
        Added set_var.cc file
      libmysqld/embedded_priv.h:
        Changed order of include fiels
      libmysqld/lib_sql.cc:
        merge with mysqld.cc (for changeable variables)
      libmysqld/libmysqld.c:
        New changeable system variables
      myisam/mi_check.c:
        Added extra argument to ..._extra()
      myisam/mi_extra.c:
        Added extra argument to ..._extra()
      myisam/mi_open.c:
        Removed not used variable
      myisam/mi_test1.c:
        Changed call to init_key_cache
      myisam/mi_test2.c:
        Added extra argument to ..._extra()
      myisam/mi_test3.c:
        Added extra argument to ..._extra()
      myisam/mi_write.c:
        Add cache size argument to bulk-insert-init
      myisam/myisamchk.c:
        Use new key cache
      myisam/myisamdef.h:
        new mi_init_bulk_insert() arguments
      myisam/myisamlog.c:
        Added extra argument to ..._extra()
      myisam/myisampack.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_extra.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_rrnd.c:
        Added extra argument to ..._extra()
      mysql-test/r/insert_select.result:
        New changeable system variables
      mysql-test/r/key.result:
        Test of bug in auto_increment
      mysql-test/r/query_cache.result:
        New changeable system variables
      mysql-test/r/rpl000001.result:
        New changeable system variables
      mysql-test/r/rpl000016.result:
        New changeable system variables
      mysql-test/r/union.result:
        New changeable system variables
      mysql-test/r/user_var.result:
        New changeable system variables
      mysql-test/r/variables.result:
        New changeable system variables
      mysql-test/t/key.test:
        Test of bug in auto_increment
      mysql-test/t/query_cache.test:
        New changeable system variables
      mysql-test/t/rpl000001.test:
        New changeable system variables
      mysql-test/t/rpl000009.test:
        New changeable system variables
      mysql-test/t/rpl000016.test:
        New changeable system variables
      mysql-test/t/rpl_compat.test:
        New changeable system variables
      mysql-test/t/union.test:
        New changeable system variables
      mysql-test/t/user_var.test:
        New changeable system variables
      mysql-test/t/variables.test:
        New changeable system variables
      mysys/default.c:
        Bigger default memory allocation
      mysys/mf_iocache.c:
        Removed compiler warning
      mysys/mf_keycache.c:
        Made key cache resizable on the fly
        Removed not needed extra argument to init_key_cache()
      mysys/my_getopt.c:
        Made some helper functions global
      sql/Makefile.am:
        Aded set_var.cc
      sql/convert.cc:
        Comment cleanup
      sql/field.cc:
        new changeable system variables
      sql/filesort.cc:
        new changeable system variables
      sql/ha_berkeley.cc:
        AUTO_COMMIT -> AUTOCOMMIT
      sql/ha_innodb.cc:
        new changeable system variables
      sql/ha_myisam.cc:
        Added extra argument to ..._extra()
      sql/ha_myisam.h:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.cc:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.h:
        Added extra argument to ..._extra()
      sql/handler.cc:
        Added extra argument to ..._extra()
        Added resize of key cache
        Change ha_table_typelib for use with new system variables
      sql/handler.h:
        Added extra argument to ..._extra()
      sql/item.cc:
        new changeable system variables
      sql/item.h:
        Added better support of Item_uint
      sql/item_func.cc:
        Added support for SET @@[global | session] system_variable
      sql/item_strfunc.cc:
        new changeable system variables
      sql/key.cc:
        Fixed bug in auto_increment on second part keys
      sql/lex.h:
        Removed not needed keywords
      sql/log.cc:
        new changeable system variables
      sql/log_event.cc:
        new changeable system variables
      sql/log_event.h:
        Removed not needed var reference
      sql/mini_client.cc:
        new changeable system variables
        code cleanup
      sql/mini_client.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed order of include files & variables to make file more readable
      sql/mysqld.cc:
        Changed order of variables to make file more readable.
        Support for changeable variables
        Rename of system variables
        Moved init_vars to set_var.cc
        Changed output of --help
      sql/net_pkg.cc:
        Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
      sql/net_serv.cc:
        new changeable system variables
        To support this, some global variables had to be move to the NET structure.
      sql/records.cc:
        new changeable system variables
        use extra_opt()
      sql/repl_failsafe.cc:
        new changeable system variables
        minior code cleanups
      sql/repl_failsafe.h:
        removed not needed external var reference
      sql/share/czech/errmsg.txt:
        new changeable system variables
      sql/share/danish/errmsg.txt:
        new changeable system variables
      sql/share/dutch/errmsg.txt:
        new changeable system variables
      sql/share/english/errmsg.txt:
        new changeable system variables
      sql/share/estonian/errmsg.txt:
        new changeable system variables
      sql/share/french/errmsg.txt:
        new changeable system variables
      sql/share/german/errmsg.txt:
        new changeable system variables
      sql/share/greek/errmsg.txt:
        new changeable system variables
      sql/share/hungarian/errmsg.txt:
        new changeable system variables
      sql/share/italian/errmsg.txt:
        new changeable system variables
      sql/share/japanese/errmsg.txt:
        new changeable system variables
      sql/share/korean/errmsg.txt:
        new changeable system variables
      sql/share/norwegian-ny/errmsg.txt:
        new changeable system variables
      sql/share/norwegian/errmsg.txt:
        new changeable system variables
      sql/share/polish/errmsg.txt:
        new changeable system variables
      sql/share/portuguese/errmsg.txt:
        new changeable system variables
      sql/share/romanian/errmsg.txt:
        new changeable system variables
      sql/share/russian/errmsg.txt:
        new changeable system variables
      sql/share/slovak/errmsg.txt:
        new changeable system variables
      sql/share/spanish/errmsg.txt:
        new changeable system variables
      sql/share/swedish/errmsg.txt:
        new changeable system variables
      sql/share/ukrainian/errmsg.txt:
        new changeable system variables
      sql/slave.cc:
        new changeable system variables
        Added some suppression of error messages
        Initialize current_thd for all slave threads.
      sql/sql_acl.cc:
        Added checking of arguments for SET PASSWORD (for new SET defintion)
      sql/sql_acl.h:
        new prototypes
      sql/sql_base.cc:
        new changeable system variables
      sql/sql_cache.cc:
        new changeable system variables
      sql/sql_cache.h:
        Renamed some arguments to make code more readable
      sql/sql_class.cc:
        new changeable system variables
      sql/sql_class.h:
        New changeable system variables
        Code cleanup
      sql/sql_db.cc:
        Fixed bug in DROP DATABASE
      sql/sql_delete.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_insert.cc:
        use extra_opt()
        Code cleanup
      sql/sql_lex.cc:
        Added support for SET @@[global | session] system_variable
      sql/sql_lex.h:
        Added support for SET @@[global | session] system_variable
      sql/sql_load.cc:
        Cleanup for embedded library
        Use extra_opt()
      sql/sql_parse.cc:
        Cleanup for embedded library
        New changeable system variables
      sql/sql_repl.cc:
        new changeable system variables
      sql/sql_repl.h:
        Fixed variable definitions
      sql/sql_select.cc:
        new changeable system variables
      sql/sql_show.cc:
        New changeable system variables
      sql/sql_table.cc:
        Fixed bug in DROP DATABASE
      sql/sql_union.cc:
        New changeable system variables
      sql/sql_update.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_yacc.yy:
        New changeable system variables
      sql/structs.h:
        Added typedef for SHOW_VAR
      sql/table.cc:
        Fixed bug in auto_increment on second part keys
      sql/uniques.cc:
        Comment fix
      sql/unireg.h:
        A
      728cc2e2
  25. 12 Jun, 2002 1 commit
    • unknown's avatar
      Added the following new privleges: · 99004177
      unknown authored
      SHOW DATABASES
      CREATE TEMPORARY TABLE
      LOCK TABLES
      REPLICATION SLAVE & REPLICATION CLIENT
      SUPER
      EXECUTE
      
      All scripts & documentation is updated for this change.
      Added better error messages for global privileges 
      
      
      BitKeeper/deleted/.del-mysql_new_fix_privilege_tables.sh~b1664b401375eece:
        Delete: scripts/mysql_new_fix_privilege_tables.sh
      Docs/manual.texi:
        Updated manual for privilege changes.
      include/mysqld_error.h:
        new error messages
      mysql-test/install_test_db.sh:
        Updated to use new privileges
      mysql-test/r/grant_cache.result:
        Updated to use new privileges
      mysql-test/r/rpl000017.result:
        Updated to use new privileges
      mysql-test/t/rpl000017.test:
        Updated to use new privileges
      mysys/safemalloc.c:
        Cleanup
      scripts/mysql_fix_privilege_tables.sh:
        Updated to use new privileges
      scripts/mysql_install_db.sh:
        Updated to use new privileges
      sql/field.h:
        Cleanup
      sql/item_strfunc.cc:
        Updated to use new privileges
      sql/lex.h:
        Updated to use new privileges
      sql/log.cc:
        Updated to use new privileges
      sql/mysql_priv.h:
        Updated to use new privileges
      sql/mysqld.cc:
        Updated to use new privileges
      sql/repl_failsafe.cc:
        Updated to use new privileges
      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:
        Portability cleanup
      sql/sql_acl.cc:
        Updated to use new privileges
      sql/sql_acl.h:
        Updated to use new privileges
      sql/sql_base.cc:
        Remove not used include file
      sql/sql_class.cc:
        Comment cleanup
      sql/sql_class.h:
        Updated to use new privileges
        Comment cleanups
      sql/sql_insert.cc:
        Updated to use new privileges
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_parse.cc:
        Updated to use new privileges
      sql/sql_repl.cc:
        Updated to use new privileges
        Comment cleanup
      sql/sql_show.cc:
        Updated to use new privileges
      sql/sql_yacc.yy:
        Updated to use new privileges
        Sorted some tockens for easer merge to 4.1 in the future.
      sql/table.h:
        Updated to use new privileges
      tests/grant.pl:
        Updated to use new privileges
      tests/grant.res:
        Updated to use new privileges
      99004177
  26. 11 Jun, 2002 1 commit
    • unknown's avatar
      Big code cleanup/review before 4.0.2 release. · 595f3d5f
      unknown authored
      (All commit emails since 4.0.1 checked)
      This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
      
      
      BUILD/SETUP.sh:
        Added -DPEDANTIC_SAFEMALLOC as standard debug option
      Docs/manual.texi:
        Changes for new version.
      client/mysql.cc:
        Fixed default value for rehash
        cleanup
      client/mysqladmin.c:
        Cleanup
      client/mysqlbinlog.cc:
        cleanup
      client/mysqldump.c:
        Cleanup
      client/mysqlmanager-pwgen.c:
        Cleanup
      client/mysqlmanagerc.c:
        Cleanup
      client/mysqltest.c:
        Cleanup
      dbug/dbug.c:
        Cleanup
      extra/resolve_stack_dump.c:
        Cleanup & Simple optimizations
      include/ft_global.h:
        Cleanup
      include/my_alloc.h:
        Cleanup
      include/my_global.h:
        Cleanup
      include/my_sys.h:
        Cleanup
      include/myisam.h:
        Cleanup
      libmysql/libmysql.c:
        Cleanup
      libmysql/manager.c:
        Cleanup
      myisam/ft_boolean_search.c:
        Cleanup
      myisam/ft_dump.c:
        Change strcpy -> strmov
      myisam/ft_eval.c:
        Cleanup
      myisam/ft_nlq_search.c:
        Cleanup
      myisam/ft_test1.c:
        strncpy -> strnmov
      myisam/ft_update.c:
        Cleanup
      myisam/mi_static.c:
        Cleanup
      myisam/mi_test2.c:
        Cleanup
      myisam/mi_write.c:
        Cleanup
      mysys/mf_fn_ext.c:
        Cleanup
      mysys/mf_iocache.c:
        Cleanup
      mysys/mf_iocache2.c:
        Cleanup
      mysys/my_getopt.c:
        Cleanup
      mysys/my_read.c:
        Cleanup
      mysys/my_thr_init.c:
        Cleanup
      mysys/queues.c:
        Cleanup
      mysys/safemalloc.c:
        Cleanup
      sql/field.cc:
        Indentation cleanups
      sql/ha_berkeley.cc:
        Indentation cleanups
      sql/ha_myisam.cc:
        Cleanup
      sql/item.h:
        Indentation cleanups
      sql/item_cmpfunc.cc:
        Indentation cleanups
      sql/item_create.cc:
        cleanup
      sql/item_func.cc:
        Cleanup
      sql/item_func.h:
        Indentation cleanups
      sql/item_strfunc.cc:
        Indentation cleanups
      sql/item_sum.cc:
        Indentation cleanups
      sql/item_timefunc.cc:
        Indentation cleanups
      sql/lock.cc:
        Indentation cleanups
      sql/log.cc:
        Cleanup
        strnmov -> strmake
      sql/log_event.cc:
        Cleanup + optimizations
        Fixed memory leak
        Added missing pthread_mutex_unlock()  (On error condition)
      sql/log_event.h:
        Indentation and comment cleanup
        Merged #ifdef's into common blocks for better readability
      sql/mini_client.cc:
        Indentation cleanup
      sql/mysql_priv.h:
        Cleanup
        Changed int function to bool
      sql/mysqld.cc:
        Indentation and comment cleanup
      sql/net_pkg.cc:
        Indentation cleanup
      sql/net_serv.cc:
        Changed int function -> bool
      sql/nt_servc.cc:
        Cleanup
      sql/opt_range.cc:
        Indentation cleanup
      sql/repl_failsafe.cc:
        Cleanup + simple optimization
        strnmov -> strmake
      sql/slave.cc:
        strnmov -> strmake
        Cleanups
      sql/slave.h:
        Cleanup
      sql/sql_acl.cc:
        Indentation and DBUG_PRINT cleanup
        Changed WITH MAX... to not use =
      sql/sql_base.cc:
        Indentation cleanup
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_class.cc:
        Indentation cleanup
      sql/sql_class.h:
        Renamed some struct slots
      sql/sql_delete.cc:
        Indentation cleanup
      sql/sql_handler.cc:
        Indentation cleanup
      sql/sql_insert.cc:
        Use new slot names.
      sql/sql_lex.cc:
        Indentation cleanup
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_load.cc:
        Indentation cleanup
      sql/sql_parse.cc:
        Indentation cleanup
        Removed not used check from LOCK TABLES
      sql/sql_repl.cc:
        strnmov -> strmake
      sql/sql_repl.h:
        Removed test if file is included (We want to know if it's included twice to avoid this)
      sql/sql_select.cc:
        Indentation cleanup
      sql/sql_show.cc:
        Indentation cleanup
      sql/sql_string.cc:
        Indentation cleanup
      sql/sql_table.cc:
        Indentation cleanup
      sql/sql_union.cc:
        Use renamed struct slot
      sql/sql_update.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Removed = after GRANT ... MAX_  to make the syntax uniform
      sql/table.cc:
        Indentation cleanup
      sql/table.h:
        Indentation cleanup
      sql/time.cc:
        Indentation cleanup
      sql/udf_example.cc:
        Indentation cleanup
      sql/unireg.cc:
        strnmov -> strmake
      tests/grant.pl:
        Added test for LOCK TABLES
      tools/mysqlmanager.c:
        Cleanup
        fopen() -> my_fopen()
      vio/viosocket.c:
        DBUG_PRINT cleanups
      vio/viosslfactories.c:
        Indentation cleanup
        Checking of results from malloc()
        Fixed possible memory leak
      BitKeeper/etc/ignore:
        Added scripts/mysql_secure_installation to the ignore list
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      595f3d5f
  27. 08 Jun, 2002 1 commit
    • unknown's avatar
      Added a lot of DBUG_xxx statements to be able to find replication bug. · 224869af
      unknown authored
      Fixed critical bug on 64 bit systems.
      Cleanups
      
      
      BUILD/compile-solaris-sparc-purify:
        Added --debug option.
      sql/log_event.cc:
        Added DBUG_xxx statements.
        Cleanup
      sql/opt_range.h:
        Dummy fix to remove warnings in purify
      sql/repl_failsafe.cc:
        Cleanup
      sql/slave.cc:
        Added DBUG statements to be able to find bugs.
        Optimized code.
        Fixed critical bug on 64 bit systems.
      sql/sql_repl.cc:
        Added DBUG_xx statements.
      224869af
  28. 05 Jun, 2002 1 commit
    • unknown's avatar
      removed init_count from IO_CACHE. · 23e0e11e
      unknown authored
      Added missing mutex_unlock to slave replication code.
      
      
      include/my_sys.h:
        removed init_count from IO_CACHE.
        General cleanup.
      innobase/srv/srv0srv.c:
        Initailize slots to avoid purify warnings.
        Removed some compiler warnings.
      mysql-test/mysql-test-run.sh:
        Automatic start of slave under gdb
      mysys/mf_iocache.c:
        removed init_count
      sql/field.cc:
        Cleanup
      sql/log.cc:
        Cleanup
        added open_count variable.
      sql/log_event.cc:
        cleanup
        use is_prefix instead of memcmp()
      sql/repl_failsafe.cc:
        cleanup
      sql/slave.cc:
        cleanup
        use MYSQL_LOG->open_count instead of IO_CACHE->init_count
        Added missing mutex_unlock()
      sql/slave.h:
        cleanup
      sql/sql_class.h:
        cleanup
        Added open_count to MYSQL_LOGL
      sql/sql_parse.cc:
        removed compiler warning
      sql/sql_repl.cc:
        added DBUG_xxx
      sql/unireg.h:
        Added BIN_LOG_HEADER_SIZE
      23e0e11e
  29. 29 May, 2002 1 commit
    • unknown's avatar
      Fixed a bug in make test, non-debug version. · a19a2d95
      unknown authored
      sql/slave.cc:
        Released some variables in non-debug version. These are needed
        in mysqld.cc my_getopt struct, which defines some options,
        which are used by mysql_test in a non-debug version.
      sql/sql_repl.cc:
        Released some variables in non-debug version. These are needed
        in mysqld.cc my_getopt struct, which defines some options,
        which are used by mysql_test in a non-debug version.
      a19a2d95
  30. 02 Apr, 2002 1 commit
    • unknown's avatar
      relay_log_space_limit · d13dcace
      unknown authored
      DBUG_ macro cleanup
      buffer boundary cleanup
      This changeset, although not fully tested, works for me better than 
      anything I've had so far, including what is in the repository. I will 
      push it unless something crashes while I am writing this :-)
      
      
      mysql-test/r/rpl000014.result:
        updated result
      mysql-test/r/rpl000015.result:
        updated result
      mysql-test/r/rpl000016.result:
        updated result
      mysql-test/r/rpl_log.result:
        new result
      mysys/mf_iocache.c:
        DBUG_ cleanup
      mysys/mf_iocache2.c:
        DBUG_ fix
      sql/log.cc:
        added relay_log_space_limit
      sql/mysqld.cc:
        relay_log_space_limit
      sql/slave.cc:
        relay_log_space_limit
      sql/slave.h:
        relay_log_space_limit
      sql/sql_class.h:
        relay_log_space_limit
      sql/sql_repl.cc:
        fixed buffer overrun bug
      d13dcace
  31. 30 Mar, 2002 1 commit
    • unknown's avatar
      replication updates. This changeset seems to be working fine on test systems. · 2c4b774c
      unknown authored
      If no problems are discovered in the next week, this will make the replication
      code ready for 4.0.2 release.
      
      
      dbug/dbug.c:
        cleanup of my previous fix
      sql/mysqld.cc:
        fixed a REALLY NASTY BUG - slave threads were being launched before 
        initialization of global thread keys. Thus if the slave thread was slow
        to start everything worked fine, but if it started quickly, we would get
        into trouble using the unitinialized keys
      sql/net_pkg.cc:
        make net_printf() work with 0 error code taking the third argument as 
        format string in that case
      sql/slave.cc:
        misc fix-ups and debugging instrumentations
      sql/slave.h:
        added skip_log_purge member
      sql/sql_class.cc:
        debugging instrumentation to track down random memory corruption
      sql/sql_class.h:
        added debugging sentry to THD to track down memory corruption
      sql/sql_repl.cc:
        fixed bugs in CHANGE MASTER
      2c4b774c
  32. 16 Mar, 2002 1 commit
    • unknown's avatar
      replication updates and bugfixes. Still not perfect - there is some strange · c315aec9
      unknown authored
      memory corruption I can only repeat on one system.
      
      
      mysql-test/r/multi_update.result:
        extended test trying to find why the old one was failing
      mysql-test/r/rpl000015.result:
        result update
      mysql-test/t/multi_update.test:
        updated test to do more intermediate result checks
      mysql-test/t/rpl000014.test:
        cosmetic change
      mysql-test/t/rpl000015-slave-master-info.opt:
        reduce connect retry trying to simulate a bug
      mysql-test/t/rpl000015.test:
        cosmetic change
      sql/lex.h:
        added RELAY_LOG_FILE and RELAY_LOG_POS to CHANGE MASTER TO
      sql/log.cc:
        fixed replication bug
      sql/log_event.cc:
        properly ignore replication errors according to error mask
      sql/mysqld.cc:
        handle SIGFPE in the coredump handler
      sql/slave.cc:
        do not kick slave if it has already exited and freed the structures
      sql/sql_lex.cc:
        fixed initialization bug in CHANGE MASTER TO
      sql/sql_lex.h:
        CHANGE MASTER TO .. RELAY_LOG_FILE=,RELAY_LOG_POS=
      sql/sql_repl.cc:
        CHANGE MASTER TO .. RELAY_LOG_FILE=,RELAY_LOG_POS=
      sql/sql_yacc.yy:
        CHANGE MASTER TO .. RELAY_LOG_FILE=,RELAY_LOG_POS=
      c315aec9
  33. 10 Mar, 2002 1 commit
    • unknown's avatar
      slave start <options> to be able to do · 4a68cfbb
      unknown authored
       slave start io_thread 
       slave start sql_thread
      same for stop
      
      
      sql/lex.h:
        slave start <options>
      sql/sql_lex.cc:
        slave start <options>
      sql/sql_lex.h:
        slave start <options>
      sql/sql_repl.cc:
        slave start <options>
      sql/sql_yacc.yy:
        slave start <options>
      4a68cfbb
  34. 29 Jan, 2002 1 commit
    • 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
  35. 20 Jan, 2002 1 commit
    • 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
  36. 02 Jan, 2002 1 commit
    • unknown's avatar
      Added macros for nice TIMESPEC usage. · 6ebc8c53
      unknown authored
      Fixes for building MySQL with gcc 3.0
      Added SIGNED / UNSIGNED casts
      Fixed core dump bug in net_clear() with libmysqld.
      Back to using semaphores in query cache.
      Added 'Null' and 'Index_type' to SHOW INDEX.
      
      
      BUILD/FINISH.sh:
        Fixes for gcc 3.0
      BUILD/SETUP.sh:
        Fixes for gcc 3.0
      Docs/manual.texi:
        Changelog + SIGNED/UNSIGNED casts.
      Makefile.am:
        include BUILD scripts in source distribution.
      client/Makefile.am:
        Fixes for gcc 3.0
      client/mysql.cc:
        Cleanup
      client/mysqldump.c:
        Changed 'K' to mean 'disable-keys' instead of 'no-disabled-keys'
      client/readline.cc:
        Cleanup
      configure.in:
        Include BUILD in source distrbution
      extra/my_print_defaults.c:
        Cleanup
      include/my_global.h:
        Fix for HPUX and setrlimit.
        Portability fix.
        Added macros for nice TIMESPEC usage.
      innobase/include/dyn0dyn.h:
        Fix for AIX
      libmysql/Makefile.shared:
        Added strxmov to libmysqld
      libmysqld/examples/Makefile.am:
        Fixes for gcc 3.0
      libmysqld/lib_vio.c:
        Cleanup
      myisam/ft_dump.c:
        Portability fixes
      myisam/ftdefs.h:
        Portability fixes
      mysql-test/r/bdb.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/bigint.result:
        New test for SIGNED/UNSIGNED
      mysql-test/r/fulltext.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/heap.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/innodb.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/isam.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/key.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/myisam.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/query_cache.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/select.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/show_check.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/type_ranges.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/t/bigint.test:
        New test for SIGNED/UNSIGNED
      mysql-test/t/key.test:
        New test for SIGNED/UNSIGNED
      mysql-test/t/query_cache.test:
        Test for FOUND_ROWS()
      sql-bench/crash-me.sh:
        Safety fixes
      sql/derror.cc:
        Cleanup
      sql/ha_berkeley.h:
        New test for SIGNED/UNSIGNED
      sql/ha_heap.h:
        New test for SIGNED/UNSIGNED
      sql/ha_innobase.cc:
        New test for SIGNED/UNSIGNED
      sql/ha_innobase.h:
        New test for SIGNED/UNSIGNED
      sql/ha_isam.h:
        New test for SIGNED/UNSIGNED
      sql/ha_myisam.cc:
        New test for SIGNED/UNSIGNED
      sql/ha_myisam.h:
        New test for SIGNED/UNSIGNED
      sql/handler.h:
        New test for SIGNED/UNSIGNED
      sql/item_func.cc:
        Cleanup TIMESPEC usage
      sql/item_func.h:
        Added SIGNED / UNSIGNED casts
      sql/lex.h:
        Added SIGNED / UNSIGNED casts
      sql/mysqld.cc:
        Cleanup TIMESPEC usage
      sql/net_pkg.cc:
        Cleanup
      sql/net_serv.cc:
        Fixed core dump bug in net_clear()
      sql/slave.cc:
        Cleanup
      sql/sql_cache.cc:
        Back to using semaphores
      sql/sql_cache.h:
        Back to using semaphores
      sql/sql_insert.cc:
        Cleanup TIMESPEC usage
      sql/sql_manager.cc:
        Cleanup TIMESPEC usage
      sql/sql_parse.cc:
        Cleanup
      sql/sql_repl.cc:
        Cleanup TIMESPEC usage
      sql/sql_show.cc:
        Added 'Null' and 'Index_type' to SHOW INDEX.
      sql/sql_table.cc:
        Sort keys in table in a more logical order.
      sql/sql_yacc.yy:
        Support for SIGNED/UNSIGNED casts.
      6ebc8c53
  37. 09 Dec, 2001 1 commit
    • unknown's avatar
      Removed compiler warnings. · 404b985e
      unknown authored
      Added new operators to be used with gcc 3.0.x
      Update of query cache code.
      Added semaphores for Windows (not yet in use)
      Added pthread_mutex_trylock for windows.
      
      
      Docs/manual.texi:
        Update of query cache info.
      Docs/section.Comparisons.texi:
        Added indexing.
      client/mysqlbinlog.cc:
        Removed compiler warnings.
      client/mysqltest.c:
        Added enable_result_log/disable_result_log
      include/config-win.h:
        Added support of semaphores on Windows.
      include/my_pthread.h:
        Added pthread_mutex_trylock for windows.
      include/my_sys.h:
        Cleanup
      libmysql/libmysql.c:
        Fixed bug in mysql_use_result() (When reusing connections).
      myisam/ft_boolean_search.c:
        Removed compiler warnings
      myisam/ft_nlq_search.c:
        Removed compiler warnings
      myisam/ft_update.c:
        Removed compiler warnings
      mysql-test/r/query_cache.result:
        New tests
      mysql-test/t/query_cache-master.opt:
        New tests
      mysql-test/t/query_cache.test:
        New tests
      mysys/Makefile.am:
        Added new operators to be used with gcc 3.0.x
      sql/filesort.cc:
        Removed compiler warnings
      sql/item_func.cc:
        Removed compiler warnings
      sql/mysql_priv.h:
        Removed compiler warnings
      sql/mysqld.cc:
        Update of query cache code.
      sql/slave.cc:
        Removed compiler warnings.
        Code cleanup (Indentation)
      sql/sql_cache.cc:
        Updated code
      sql/sql_cache.h:
        Updated code
      sql/sql_repl.cc:
        Removed compiler warnings
      sql/sql_yacc.yy:
        Updated query cache
      404b985e
  38. 06 Dec, 2001 1 commit
    • unknown's avatar
      Update copyright · 2306379e
      unknown authored
      Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
      
      
      client/client_priv.h:
        Update copyright
      client/completion_hash.cc:
        Update copyright
      client/completion_hash.h:
        Update copyright
      client/connect_test.c:
        Update copyright
      client/errmsg.c:
        Update copyright
      client/get_password.c:
        Update copyright
      client/insert_test.c:
        Update copyright
      client/list_test.c:
        Update copyright
      client/my_readline.h:
        Update copyright
      client/mysql.cc:
        Update copyright
      client/mysqladmin.c:
        Update copyright
      client/mysqlbinlog.cc:
        Update copyright
      client/mysqlcheck.c:
        Update copyright
      client/mysqldump.c:
        Update copyright
      client/mysqlimport.c:
        Update copyright
      client/mysqlmanager-pwgen.c:
        Update copyright
      client/mysqlmanagerc.c:
        Update copyright
      client/mysqlshow.c:
        Update copyright
      client/mysqltest.c:
        Update copyright
      client/password.c:
        Update copyright
      client/readline.cc:
        Update copyright
      client/select_test.c:
        Update copyright
      client/showdb_test.c:
        Update copyright
      client/sql_string.cc:
        Update copyright
      client/sql_string.h:
        Update copyright
      client/ssl_test.c:
        Update copyright
      client/thimble.cc:
        Update copyright
      client/thread_test.c:
        Update copyright
      div/deadlock_test.c:
        Update copyright
      extra/comp_err.c:
        Update copyright
      extra/my_print_defaults.c:
        Update copyright
      extra/perror.c:
        Update copyright
      extra/replace.c:
        Update copyright
      extra/resolve_stack_dump.c:
        Update copyright
      extra/resolveip.c:
        Update copyright
      fs/database.c:
        Update copyright
      fs/libmysqlfs.c:
        Update copyright
      fs/mysqlcorbafs.c:
        Update copyright
      fs/mysqlcorbafs.h:
        Update copyright
      fs/mysqlcorbafs_test.c:
        Update copyright
      heap/_check.c:
        Update copyright
      heap/_rectest.c:
        Update copyright
      heap/heapdef.h:
        Update copyright
      heap/hp_block.c:
        Update copyright
      heap/hp_clear.c:
        Update copyright
      heap/hp_close.c:
        Update copyright
      heap/hp_create.c:
        Update copyright
      heap/hp_delete.c:
        Update copyright
      heap/hp_extra.c:
        Update copyright
      heap/hp_hash.c:
        Update copyright
      heap/hp_info.c:
        Update copyright
      heap/hp_open.c:
        Update copyright
      heap/hp_panic.c:
        Update copyright
      heap/hp_rename.c:
        Update copyright
      heap/hp_rfirst.c:
        Update copyright
      heap/hp_rkey.c:
        Update copyright
      heap/hp_rlast.c:
        Update copyright
      heap/hp_rnext.c:
        Update copyright
      heap/hp_rprev.c:
        Update copyright
      heap/hp_rrnd.c:
        Update copyright
      heap/hp_rsame.c:
        Update copyright
      heap/hp_scan.c:
        Update copyright
      heap/hp_static.c:
        Update copyright
      heap/hp_test1.c:
        Update copyright
      heap/hp_test2.c:
        Update copyright
      heap/hp_update.c:
        Update copyright
      heap/hp_write.c:
        Update copyright
      include/config-win.h:
        Update copyright
      include/dbug.h:
        Update copyright
      include/errmsg.h:
        Update copyright
      include/ft_global.h:
        Update copyright
      include/getopt.h:
        Update copyright
      include/hash.h:
        Update copyright
      include/heap.h:
        Update copyright
      include/m_ctype.h:
        Update copyright
      include/m_string.h:
        Update copyright
      include/md5.h:
        Update copyright
      include/merge.h:
        Update copyright
      include/my_alarm.h:
        Update copyright
      include/my_base.h:
        Update copyright
      include/my_bitmap.h:
        Update copyright
      include/my_dir.h:
        Update copyright
      include/my_global.h:
        Update copyright
      include/my_list.h:
        Update copyright
      include/my_net.h:
        Update copyright
      include/my_no_pthread.h:
        Update copyright
      include/my_nosys.h:
        Update copyright
      include/my_pthread.h:
        Update copyright
      include/my_sys.h:
        Update copyright
      include/my_tree.h:
        Update copyright
      include/myisam.h:
        Update copyright
      include/myisammrg.h:
        Update copyright
      include/myisampack.h:
        Update copyright
      include/mysql.h:
        Update copyright
      include/mysql_com.h:
        Update copyright
      include/mysql_embed.h:
        Update copyright
      include/mysqld_error.h:
        Update copyright
      include/mysys_err.h:
        Update copyright
      include/nisam.h:
        Update copyright
      include/queues.h:
        Update copyright
      include/raid.h:
        Update copyright
      include/sslopt-case.h:
        Update copyright
      include/sslopt-longopts.h:
        Update copyright
      include/sslopt-usage.h:
        Update copyright
      include/sslopt-vars.h:
        Update copyright
      include/t_ctype.h:
        Update copyright
      include/thr_alarm.h:
        Update copyright
      include/thr_lock.h:
        Update copyright
      include/violite.h:
        Update copyright
      isam/_cache.c:
        Update copyright
      isam/_dbug.c:
        Update copyright
      isam/_key.c:
        Update copyright
      isam/_locking.c:
        Update copyright
      isam/_packrec.c:
        Update copyright
      isam/_page.c:
        Update copyright
      isam/_search.c:
        Update copyright
      isam/_statrec.c:
        Update copyright
      isam/changed.c:
        Update copyright
      isam/close.c:
        Update copyright
      isam/create.c:
        Update copyright
      isam/delete.c:
        Update copyright
      isam/extra.c:
        Update copyright
      isam/info.c:
        Update copyright
      isam/isamchk.c:
        Update copyright
      isam/isamdef.h:
        Update copyright
      isam/log.c:
        Update copyright
      isam/open.c:
        Update copyright
      isam/panic.c:
        Update copyright
      isam/range.c:
        Update copyright
      isam/rfirst.c:
        Update copyright
      isam/rkey.c:
        Update copyright
      isam/rlast.c:
        Update copyright
      isam/rnext.c:
        Update copyright
      isam/rprev.c:
        Update copyright
      isam/rrnd.c:
        Update copyright
      isam/rsame.c:
        Update copyright
      isam/rsamepos.c:
        Update copyright
      isam/sort.c:
        Update copyright
      isam/static.c:
        Update copyright
      isam/test1.c:
        Update copyright
      isam/test2.c:
        Update copyright
      isam/test3.c:
        Update copyright
      isam/update.c:
        Update copyright
      isam/write.c:
        Update copyright
      libmysql/conf_to_src.c:
        Update copyright
      libmysql/dll.c:
        Update copyright
      libmysql/errmsg.c:
        Update copyright
      libmysql/get_password.c:
        Update copyright
      libmysql/libmysql.c:
        Update copyright
      libmysql/manager.c:
        Update copyright
      libmysql/net.c:
        Update copyright
      libmysql/password.c:
        Update copyright
      libmysqld/lib_sql.cc:
        Update copyright
      libmysqld/lib_vio.c:
        Update copyright
      libmysqld/libmysqld.c:
        Update copyright
      merge/mrg_close.c:
        Update copyright
      merge/mrg_create.c:
        Update copyright
      merge/mrg_def.h:
        Update copyright
      merge/mrg_delete.c:
        Update copyright
      merge/mrg_extra.c:
        Update copyright
      merge/mrg_info.c:
        Update copyright
      merge/mrg_locking.c:
        Update copyright
      merge/mrg_open.c:
        Update copyright
      merge/mrg_panic.c:
        Update copyright
      merge/mrg_rrnd.c:
        Update copyright
      merge/mrg_rsame.c:
        Update copyright
      merge/mrg_static.c:
        Update copyright
      merge/mrg_update.c:
        Update copyright
      myisam/ft_boolean_search.c:
        Update copyright
      myisam/ft_dump.c:
        Update copyright
      myisam/ft_eval.h:
        Update copyright
      myisam/ft_static.c:
        Update copyright
      myisam/ft_stem.c:
        Update copyright
      myisam/ft_stopwords.c:
        Update copyright
      myisam/ft_test1.h:
        Update copyright
      myisam/mi_cache.c:
        Update copyright
      myisam/mi_changed.c:
        Update copyright
      myisam/mi_check.c:
        Update copyright
      myisam/mi_checksum.c:
        Update copyright
      myisam/mi_close.c:
        Update copyright
      myisam/mi_create.c:
        Update copyright
      myisam/mi_dbug.c:
        Update copyright
      myisam/mi_delete.c:
        Update copyright
      myisam/mi_delete_all.c:
        Update copyright
      myisam/mi_delete_table.c:
        Update copyright
      myisam/mi_dynrec.c:
        Update copyright
      myisam/mi_extra.c:
        Update copyright
      myisam/mi_info.c:
        Update copyright
      myisam/mi_key.c:
        Update copyright
      myisam/mi_locking.c:
        Update copyright
      myisam/mi_log.c:
        Update copyright
      myisam/mi_open.c:
        Update copyright
      myisam/mi_packrec.c:
        Update copyright
      myisam/mi_page.c:
        Update copyright
      myisam/mi_panic.c:
        Update copyright
      myisam/mi_range.c:
        Update copyright
      myisam/mi_rename.c:
        Update copyright
      myisam/mi_rfirst.c:
        Update copyright
      myisam/mi_rlast.c:
        Update copyright
      myisam/mi_rnext_same.c:
        Update copyright
      myisam/mi_rrnd.c:
        Update copyright
      myisam/mi_rsame.c:
        Update copyright
      myisam/mi_rsamepos.c:
        Update copyright
      myisam/mi_scan.c:
        Update copyright
      myisam/mi_search.c:
        Update copyright
      myisam/mi_static.c:
        Update copyright
      myisam/mi_statrec.c:
        Update copyright
      myisam/mi_test1.c:
        Update copyright
      myisam/mi_test2.c:
        Update copyright
      myisam/mi_test3.c:
        Update copyright
      myisam/mi_unique.c:
        Update copyright
      myisam/mi_update.c:
        Update copyright
      myisam/mi_write.c:
        Update copyright
      myisam/myisamchk.c:
        Update copyright
      myisam/myisampack.c:
        Update copyright
      myisammrg/myrg_close.c:
        Update copyright
      myisammrg/myrg_create.c:
        Update copyright
      myisammrg/myrg_def.h:
        Update copyright
      myisammrg/myrg_delete.c:
        Update copyright
      myisammrg/myrg_locking.c:
        Update copyright
      myisammrg/myrg_open.c:
        Update copyright
      myisammrg/myrg_panic.c:
        Update copyright
      myisammrg/myrg_rsame.c:
        Update copyright
      myisammrg/myrg_static.c:
        Update copyright
      myisammrg/myrg_update.c:
        Update copyright
      myisammrg/myrg_write.c:
        Update copyright
      mysql-test/r/gcc296.result:
        Update of benchmark results
      mysql-test/r/innodb.result:
        Update of benchmark results
      mysql-test/r/join_outer.result:
        Update of benchmark results
      mysql-test/r/myisam.result:
        Update of benchmark results
      mysys/array.c:
        Update copyright
      mysys/charset.c:
        Fix for restart of character sets
      mysys/checksum.c:
        Update copyright
      mysys/default.c:
        Update copyright
      mysys/errors.c:
        Update copyright
      mysys/getopt.c:
        Cleanup
      mysys/getvar.c:
        Update copyright
      mysys/hash.c:
        Update copyright
      mysys/list.c:
        Update copyright
      mysys/make-conf.c:
        Update copyright
      mysys/md5.c:
        Update copyright
      mysys/mf_brkhant.c:
        Update copyright
      mysys/mf_cache.c:
        Update copyright
      mysys/mf_casecnv.c:
        Update copyright
      mysys/mf_dirname.c:
        Update copyright
      mysys/mf_fn_ext.c:
        Update copyright
      mysys/mf_format.c:
        Update copyright
      mysys/mf_getdate.c:
        Update copyright
      mysys/mf_iocache.c:
        Update copyright
      mysys/mf_iocache2.c:
        Update copyright
      mysys/mf_keycache.c:
        Update copyright
      mysys/mf_loadpath.c:
        Update copyright
      mysys/mf_pack.c:
        Update copyright
      mysys/mf_path.c:
        Update copyright
      mysys/mf_qsort.c:
        Update copyright
      mysys/mf_qsort2.c:
        Update copyright
      mysys/mf_radix.c:
        Update copyright
      mysys/mf_same.c:
        Update copyright
      mysys/mf_sleep.c:
        Update copyright
      mysys/mf_sort.c:
        Update copyright
      mysys/mf_soundex.c:
        Update copyright
      mysys/mf_stripp.c:
        Update copyright
      mysys/mf_tempfile.c:
        Update copyright
      mysys/mf_unixpath.c:
        Update copyright
      mysys/mf_util.c:
        Update copyright
      mysys/mf_wcomp.c:
        Update copyright
      mysys/mf_wfile.c:
        Update copyright
      mysys/mulalloc.c:
        Update copyright
      mysys/my_alarm.c:
        Update copyright
      mysys/my_alloc.c:
        Update copyright
      mysys/my_append.c:
        Update copyright
      mysys/my_bit.c:
        Update copyright
      mysys/my_bitmap.c:
        Update copyright
      mysys/my_chsize.c:
        Update copyright
      mysys/my_clock.c:
        Update copyright
      mysys/my_compress.c:
        Update copyright
      mysys/my_copy.c:
        Update copyright
      mysys/my_create.c:
        Update copyright
      mysys/my_delete.c:
        Update copyright
      mysys/my_div.c:
        Update copyright
      mysys/my_dup.c:
        Update copyright
      mysys/my_error.c:
        Update copyright
      mysys/my_fopen.c:
        Update copyright
      mysys/my_fstream.c:
        Update copyright
      mysys/my_getwd.c:
        Update copyright
      mysys/my_init.c:
        Free 'once_alloc' memory at shutdown.
      mysys/my_lib.c:
        Update copyright
      mysys/my_lock.c:
        Update copyright
      mysys/my_lockmem.c:
        Update copyright
      mysys/my_lread.c:
        Update copyright
      mysys/my_lwrite.c:
        Update copyright
      mysys/my_malloc.c:
        Update copyright
      mysys/my_messnc.c:
        Update copyright
      mysys/my_mkdir.c:
        Update copyright
      mysys/my_net.c:
        Update copyright
      mysys/my_once.c:
        Update copyright
      mysys/my_open.c:
        Update copyright
      mysys/my_pread.c:
        Update copyright
      mysys/my_pthread.c:
        Update copyright
      mysys/my_quick.c:
        Update copyright
      mysys/my_read.c:
        Update copyright
      mysys/my_realloc.c:
        Update copyright
      mysys/my_redel.c:
        Update copyright
      mysys/my_rename.c:
        Update copyright
      mysys/my_seek.c:
        Update copyright
      mysys/my_static.c:
        Update copyright
      mysys/my_static.h:
        Update copyright
      mysys/my_symlink.c:
        Update copyright
      mysys/my_symlink2.c:
        Update copyright
      mysys/my_tempnam.c:
        Update copyright
      mysys/my_thr_init.c:
        Update copyright
      mysys/my_vsnprintf.c:
        Update copyright
      mysys/my_wincond.c:
        Update copyright
      mysys/my_winthread.c:
        Update copyright
      mysys/my_write.c:
        Update copyright
      mysys/mysys_priv.h:
        Update copyright
      mysys/ptr_cmp.c:
        Update copyright
      mysys/queues.c:
        Update copyright
      mysys/raid.cc:
        Update copyright
      mysys/safemalloc.c:
        Update copyright
      mysys/string.c:
        Update copyright
      mysys/test_charset.c:
        Update copyright
      mysys/test_dir.c:
        Update copyright
      mysys/test_fn.c:
        Update copyright
      mysys/testhash.c:
        Update copyright
      mysys/thr_alarm.c:
        Update copyright
      mysys/thr_lock.c:
        Update copyright
      mysys/thr_mutex.c:
        Update copyright
      mysys/thr_rwlock.c:
        Update copyright
      mysys/tree.c:
        Update copyright
      mysys/typelib.c:
        Update copyright
      pstack/debug.c:
        Update copyright
      pstack/debug.h:
        Update copyright
      pstack/demangle.h:
        Update copyright
      pstack/ieee.c:
        Update copyright
      pstack/ieee.h:
        Update copyright
      pstack/pstack.c:
        Update copyright
      readline/bind.c:
        Cleanup empty lines
      readline/complete.c:
        Cleanup empty lines
      readline/display.c:
        Cleanup empty lines
      readline/funmap.c:
        Cleanup empty lines
      readline/histexpand.c:
        Cleanup empty lines
      readline/histfile.c:
        Cleanup empty lines
      readline/history.c:
        Cleanup empty lines
      readline/history.h:
        Cleanup empty lines
      readline/input.c:
        Cleanup empty lines
      readline/kill.c:
        Cleanup empty lines
      readline/readline.c:
        Cleanup empty lines
      readline/readline.h:
        Cleanup empty lines
      readline/vi_mode.c:
        Cleanup empty lines
      sql/cache_manager.cc:
        Update copyright
      sql/cache_manager.h:
        Update copyright
      sql/convert.cc:
        Update copyright
      sql/custom_conf.h:
        Update copyright
      sql/derror.cc:
        Update copyright
      sql/field.cc:
        Update copyright
      sql/field.h:
        Update copyright
      sql/field_conv.cc:
        Update copyright
      sql/filesort.cc:
        Update copyright
      sql/frm_crypt.cc:
        Update copyright
      sql/ha_berkeley.cc:
        Update copyright
      sql/ha_heap.cc:
        Update copyright
      sql/ha_heap.h:
        Update copyright
      sql/ha_innobase.cc:
        Update copyright
      sql/ha_isam.cc:
        Update copyright
      sql/ha_isam.h:
        Update copyright
      sql/ha_isammrg.cc:
        Update copyright
      sql/ha_isammrg.h:
        Update copyright
      sql/ha_myisam.cc:
        Update copyright
      sql/handler.cc:
        Update copyright
      sql/hash_filo.cc:
        Update copyright
      sql/hash_filo.h:
        Update copyright
      sql/hostname.cc:
        Update copyright
      sql/init.cc:
        Update copyright
      sql/item.cc:
        Update copyright
      sql/item.h:
        Update copyright
      sql/item_buff.cc:
        Update copyright
      sql/item_cmpfunc.cc:
        Update copyright
      sql/item_cmpfunc.h:
        Update copyright
      sql/item_create.cc:
        Update copyright
      sql/item_create.h:
        Update copyright
      sql/item_func.cc:
        Update copyright
      sql/item_strfunc.cc:
        Update copyright
      sql/item_sum.cc:
        Update copyright
      sql/item_sum.h:
        Update copyright
      sql/item_timefunc.cc:
        Update copyright
      sql/item_timefunc.h:
        Update copyright
      sql/item_uniq.cc:
        Update copyright
      sql/item_uniq.h:
        Update copyright
      sql/key.cc:
        Update copyright
      sql/lex_symbol.h:
        Update copyright
      sql/lock.cc:
        Update copyright
      sql/log.cc:
        Update copyright
      sql/log_event.cc:
        Update copyright
      sql/log_event.h:
        Update copyright
      sql/matherr.c:
        Update copyright
      sql/mf_iocache.cc:
        Update copyright
      sql/mini_client.cc:
        Update copyright
      sql/mini_client.h:
        Update copyright
      sql/my_lock.c:
        Update copyright
      sql/mysqld.cc:
        Update copyright
      sql/net_pkg.cc:
        Update copyright
      sql/net_serv.cc:
        Update copyright
      sql/opt_sum.cc:
        Update copyright
      sql/password.c:
        Update copyright
      sql/procedure.cc:
        Update copyright
      sql/procedure.h:
        Update copyright
      sql/records.cc:
        Update copyright
      sql/repl_failsafe.cc:
        Update copyright
      sql/slave.cc:
        Update copyright
      sql/slave.h:
        Update copyright
      sql/sql_acl.cc:
        Update copyright
      sql/sql_acl.h:
        Update copyright
      sql/sql_analyse.cc:
        Update copyright
      sql/sql_analyse.h:
        Update copyright
      sql/sql_base.cc:
        Update copyright
      sql/sql_cache.cc:
        Update copyright
      sql/sql_class.cc:
        Update copyright
      sql/sql_class.h:
        Update copyright
      sql/sql_crypt.cc:
        Update copyright
      sql/sql_crypt.h:
        Update copyright
      sql/sql_db.cc:
        Update copyright
      sql/sql_delete.cc:
        Update copyright
      sql/sql_handler.cc:
        Update copyright
      sql/sql_insert.cc:
        Update copyright
      sql/sql_lex.cc:
        Update copyright
      sql/sql_lex.h:
        Update copyright
      sql/sql_list.cc:
        Update copyright
      sql/sql_list.h:
        Update copyright
      sql/sql_load.cc:
        Update copyright
      sql/sql_map.cc:
        Update copyright
      sql/sql_map.h:
        Update copyright
      sql/sql_parse.cc:
        Update copyright
      sql/sql_rename.cc:
        Update copyright
      sql/sql_repl.cc:
        Update copyright
      sql/sql_select.h:
        Update copyright
      sql/sql_string.cc:
        Update copyright
      sql/sql_string.h:
        Update copyright
      sql/sql_table.cc:
        Update copyright
      sql/sql_test.cc:
        Update copyright
      sql/sql_udf.cc:
        Update copyright
      sql/sql_udf.h:
        Update copyright
      sql/stacktrace.c:
        Update copyright
      sql/structs.h:
        Update copyright
      sql/table.cc:
        Update copyright
      sql/table.h:
        Update copyright
      sql/thr_malloc.cc:
        Update copyright
      sql/time.cc:
        Update copyright
      sql/udf_example.cc:
        Update copyright
      sql/uniques.cc:
        Update copyright
      sql/unireg.cc:
        Update copyright
      sql/unireg.h:
        Update copyright
      strings/atof.c:
        Update copyright
      strings/bchange.c:
        Update copyright
      strings/bcmp.c:
        Update copyright
      strings/bcopy-duff.c:
        Update copyright
      strings/bfill.c:
        Update copyright
      strings/bmove.c:
        Update copyright
      strings/bmove512.c:
        Update copyright
      strings/bmove_upp.c:
        Update copyright
      strings/bzero.c:
        Update copyright
      strings/conf_to_src.c:
        Update copyright
      strings/ctype-big5.c:
        Update copyright
      strings/ctype-czech.c:
        Update copyright
      strings/ctype-euc_kr.c:
        Update copyright
      strings/ctype-gb2312.c:
        Update copyright
      strings/ctype-gbk.c:
        Update copyright
      strings/ctype-latin1_de.c:
        Update copyright
      strings/ctype-sjis.c:
        Update copyright
      strings/ctype-tis620.c:
        Update copyright
      strings/ctype-ujis.c:
        Update copyright
      strings/ctype.c:
        Update copyright
      strings/do_ctype.c:
        Update copyright
      strings/int2str.c:
        Update copyright
      strings/is_prefix.c:
        Update copyright
      strings/llstr.c:
        Update copyright
      strings/longlong2str.c:
        Update copyright
      strings/memcmp.c:
        Update copyright
      strings/memcpy.c:
        Update copyright
      strings/memset.c:
        Update copyright
      strings/r_strinstr.c:
        Update copyright
      strings/str2int.c:
        Update copyright
      strings/str_test.c:
        Update copyright
      strings/strappend.c:
        Update copyright
      strings/strcat.c:
        Update copyright
      strings/strcend.c:
        Update copyright
      strings/strchr.c:
        Update copyright
      strings/strcmp.c:
        Update copyright
      strings/strcont.c:
        Update copyright
      strings/strend.c:
        Update copyright
      strings/strfill.c:
        Update copyright
      strings/strings-not-used.h:
        Update copyright
      strings/strinstr.c:
        Update copyright
      strings/strlen.c:
        Update copyright
      strings/strmake.c:
        Update copyright
      strings/strmov.c:
        Update copyright
      strings/strnlen.c:
        Update copyright
      strings/strnmov.c:
        Update copyright
      strings/strrchr.c:
        Update copyright
      strings/strstr.c:
        Update copyright
      strings/strto.c:
        Update copyright
      strings/strtol.c:
        Update copyright
      strings/strtoll.c:
        Update copyright
      strings/strtoul.c:
        Update copyright
      strings/strtoull.c:
        Update copyright
      strings/strxmov.c:
        Update copyright
      strings/strxnmov.c:
        Update copyright
      strings/t_ctype.h:
        Update copyright
      strings/udiv.c:
        Update copyright
      tools/mysqlmanager.c:
        Update copyright
      vio/test-ssl.c:
        Update copyright
      vio/test-sslclient.c:
        Update copyright
      vio/test-sslserver.c:
        Update copyright
      vio/vio.c:
        Update copyright
      vio/viosocket.c:
        Update copyright
      vio/viossl.c:
        Update copyright
      vio/viosslfactories.c:
        Update copyright
      vio/viotest-ssl.c:
        Update copyright
      2306379e