An error occurred fetching the project authors.
  1. 11 Oct, 2003 1 commit
    • unknown's avatar
      Add new user variables for tuning memory usage: · 74ea4594
      unknown authored
      query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size
      Add more checks for "out of memory" detection in range optimization
      
      
      configure.in:
        Added detection of mallinfo
      mysql-test/r/variables.result:
        Test of new variables
      mysql-test/t/variables.test:
        Test of new variables
      sql/ha_berkeley.cc:
        Use init_sql_alloc instead of init_alloc_root for better OOM detection
      sql/log_event.cc:
        Add new user variables for tuning memory usage
      sql/mysql_priv.h:
        Add new user variables for tuning memory usage
      sql/mysqld.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.h:
        Add new user variables for tuning memory usage
      sql/opt_range.cc:
        Add new user variables for tuning memory usage
        Add more checks for out of memory conditions
      sql/opt_range.h:
        Add new user variables for tuning memory usage
      sql/set_var.cc:
        Add new user variables for tuning memory usage
      sql/sql_acl.cc:
        Add new user variables for tuning memory usage
      sql/sql_class.h:
        Add new user variables for tuning memory usage
      sql/sql_delete.cc:
        Add new user variables for tuning memory usage
      sql/sql_parse.cc:
        Add new user variables for tuning memory usage
      sql/sql_select.cc:
        Add new user variables for tuning memory usage
      sql/sql_test.cc:
        Add information about memory useage if system supports mallinfo()
      sql/sql_udf.cc:
        Add new user variables for tuning memory usage
      sql/sql_update.cc:
        Add new user variables for tuning memory usage
      sql/table.cc:
        Add new user variables for tuning memory usage
      74ea4594
  2. 06 Oct, 2003 1 commit
  3. 02 Oct, 2003 1 commit
    • unknown's avatar
      Optimized code for setting user variables with := and fixed some bugs in old code (Bug #1194) · 2985e91a
      unknown authored
      Use forced close of socket to make mysqld shutdown faster when used under valgrind
      
      
      mysql-test/mysql-test-run.sh:
        Added --skip-bdb for valgrind
      mysql-test/r/user_var.result:
        Extended test for user variables
      mysql-test/t/user_var.test:
        Extended test for user variables
      sql/item_func.cc:
        Optimized code for setting user variables with := and fixed some bugs in old code
      sql/item_func.h:
        Optimized code for setting user variables
      sql/log.cc:
        Fixed comments
      sql/mysqld.cc:
        Use forced close of socket to make mysqld shutdown faster when used under valgrind
      sql/sql_class.h:
        Optimized code for setting user variables
      2985e91a
  4. 29 Aug, 2003 1 commit
    • unknown's avatar
      Revert change of lower-case-table handling as this breaks how alias works. · 6d17d7f5
      unknown authored
      Changes like this should be done to 4.1, not to a stable release
      
      
      mysql-test/r/lowercase_table.result:
        Revert change of lower-case-table handling
      mysql-test/t/lowercase_table.test:
        Revert change of lower-case-table handling
      sql/sql_class.cc:
        Revert change of lower-case-table handling
      sql/sql_class.h:
        Revert change of lower-case-table handling
      sql/sql_parse.cc:
        Revert change of lower-case-table handling
      sql/sql_table.cc:
        Revert change of lower-case-table handling
      sql/sql_yacc.yy:
        Revert change of lower-case-table handling
      6d17d7f5
  5. 28 Aug, 2003 1 commit
    • unknown's avatar
      Portability fixes · 6fd5403d
      unknown authored
      client/mysqltest.c:
        Removed not used functions
      myisam/mi_dynrec.c:
        Added assert to avoid compilation errors
      mysql-test/r/isam.result:
        Updated results after merge
      sql/log_event.cc:
        Cleanup
      sql/mysql_priv.h:
        Cleanup
      sql/sql_class.cc:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      sql/sql_class.h:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      6fd5403d
  6. 25 Aug, 2003 1 commit
    • unknown's avatar
      Clearer states in SHOW PROCESSLIST for replication threads. · c47ee569
      unknown authored
      For example the Binlog_dump thread (on the master) sometimes showed "Slave:".
      And there were confusing messages where "binlog" was employed instead
      of "relay log".
      
      
      sql/log.cc:
        MYSQL_LOG::wait_for_update() is used by the binlog_dump and I/Oslave threads,
        and it updates thd->proc_info, so we need a bool to not show the same
        proc_info for 2 different things (previously we showed "Slave: etc" and that's
        bad for a binlog_dump thread).
      sql/slave.cc:
        Clearer thd-proc_info for slave threads.
      sql/sql_class.h:
        prototype change
      sql/sql_repl.cc:
        clearer thd->proc_info for binlog_dump thread
      c47ee569
  7. 22 Aug, 2003 1 commit
    • unknown's avatar
      2 minor edits, plus · fdfb10f2
      unknown authored
      fix for BUG#1113 "INSERT into non-trans table SELECT ; ROLLBACK" does not send warning"
      and
      fix for BUG#873 "In transaction, INSERT to non-trans table is written too early to binlog".
      Now we don't always write the non-trans update immediately to the binlog;
      if there is something in the binlog cache we write it to the binlog cache
      (because the non-trans update could depend on a trans table which was modified
      earlier in the transaction); then in case of ROLLBACK, we write the binlog
      cache to the binlog, wrapped with BEGIN/ROLLBACK.
      This guarantees that the slave does the same updates.
      For ROLLBACK TO SAVEPOINT: when we execute a SAVEPOINT command we write it
      to the binlog cache. At ROLLBACK TO SAVEPOINT, if some non-trans table was updated,
      we write ROLLBACK TO SAVEPOINT to the binlog cache; when the transaction
      terminates (COMMIT/ROLLBACK), the binlog cache will be flushed to the binlog
      (because of the non-trans update) so we'll have SAVEPOINT and ROLLBACK TO
      SAVEPOINT in the binlog.
      
      Apart from this rare case of updates of mixed table types in transaction, the
      usual way is still clear the binlog cache at ROLLBACK, or chop it at
      ROLLBACK TO SAVEPOINT (meaning the SAVEPOINT command is also chopped, which
      is fine).
      Note that BUG#873 encompasses subbugs 1) and 2) of BUG#333 "3 binlogging bugs when doing INSERT with mixed InnoDB/MyISAM".
      
      
      client/mysqldump.c:
        Minor edit: one CHANGE MASTER with 2 arguments instead of 2 CHANGE MASTER with one argument each.
      mysql-test/r/rpl_loaddata.result:
        result update
      mysql-test/t/rpl_loaddata.test:
        minor edit: simplifying the test.
      sql/handler.cc:
        Fix for BUG#873. See comments in code, and the description of the changeset.
      sql/log.cc:
        * Previously, if a query updated a non-transactional table we wrote it immediately
        to the real binlog. This causes a bug when the update is done inside a transaction
        and uses the content of an updated transactional table (because this makes
        a wrong order of queries in the binlog). So if the binlog cache is not empty,
        we write the query to the binlog cache; otherwise we can write it to the binlog.
        * Previously, when we flushed the binlog cache to the binlog, we wrapped it
        with BEGIN/COMMIT. Now it's also possible to wrap it with BEGIN/ROLLBACK, to handle
        transactions which update both transactional and non-transactional tables.
      sql/log_event.cc:
        The slave thread can leave a transaction if COMMIT or if ROLLBACK.
      sql/sql_class.h:
        prototype
      sql/sql_insert.cc:
        Fix for BUG#1113:
        this was because the INSERT SELECT code did not set OPTION_STATUS_NO_TRANS_UPDATE.
      sql/sql_parse.cc:
        Don't send ER_WARNING_NOT_COMPLETE_ROLLBACK if this is the SQL slave thread (see comments).
      fdfb10f2
  8. 19 Aug, 2003 1 commit
    • unknown's avatar
      Fix for BUG#1086. Now we don't preserve event's log_pos through · e3541b8a
      unknown authored
      log-slave-updates since this causes unexpected values in 
      Exec_master_log_pos in A->B->C replication setup, synchronization
       problems in master_pos_wait()... 
      Still this brokes some functionality in sql/repl_failsafe.cc 
      (but this file is not used now)
      
      
      mysql-test/r/rpl_log.result:
        SHOW BINLOG EVENTS for binlog on slave should give the same 
        Orig_log_pos and Pos values
      sql/log_event.cc:
        Do not propagate our master's log pos to our bin log
      sql/repl_failsafe.cc:
        Added comment about broken SHOW NEW MASTER
      sql/slave.cc:
        Do not propagate our master's log pos to our bin log
      sql/sql_class.cc:
        THD::log_pos is no longer needed
      sql/sql_class.h:
        THD::log_pos is no longer needed
      sql/sql_parse.cc:
        Added comment about broken SHOW NEW MASTER
      e3541b8a
  9. 08 Aug, 2003 1 commit
    • unknown's avatar
      rewritten test using loop (BUG#930) · 05f5df0c
      unknown authored
      removed unused field (now it is in variables)
      
      
      mysql-test/r/query_cache.result:
        rewritten test using loop
      mysql-test/t/query_cache.test:
        rewritten test using loop
      sql/sql_class.h:
        removed unused field (now it is in variables)
      05f5df0c
  10. 23 Jul, 2003 1 commit
  11. 14 Jul, 2003 2 commits
    • unknown's avatar
      Better fix for bug #791: At binlog rotation, INSERTs may not find their way into the binlog · 128feded
      unknown authored
      mysql-test/t/rpl_flush_log_loop.test:
        Add timer to avoid problem when 'flush logs' is executed before we have read all data from master
      sql/log.cc:
        Better fix for bug #791:
        Mark log as LOG_TO_BE_OPENED instead of LOG_CLOSED when it's closed and opened.
      sql/mysqld.cc:
        Better startup message
      sql/slave.cc:
        Fix argument to close()
      sql/sql_class.h:
        Better handling of log.close()
      128feded
    • unknown's avatar
      Safety and speedup fixes: · e1a30696
      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
      e1a30696
  12. 12 Jul, 2003 2 commits
    • unknown's avatar
      Member no_rotate in MYSQL_LOG was always 0, I delete it. · 5526d454
      unknown authored
      sql/log.cc:
        Member no_rotate of MYSQL_LOG is useless; this shows it for sure:
        [guilhem@gbichot2 mysql-4.0]$ bk -r grep no_rotate
        sql/log.cc      1.83       no_rotate(0), need_start_event(1)
        sql/log.cc      1.75      if (no_rotate)
        sql/log.cc      1.89      if (!no_rotate)
        sql/sql_class.h 1.119     bool no_rotate;
        i.e. no_rotate is 0 all the time. So we don't need it.
        Biggest part of the patch is indentation change.
      sql/sql_class.h:
        suppress no_rotate
      5526d454
    • unknown's avatar
      removed 2 small useless if(). · 543208de
      unknown authored
      sql/log.cc:
        a comment for the future.
      sql/mysqld.cc:
        if (p) is not needed: fn_ext() always returns a valid pointed; the way
        to test if an extension was found is if (*p), not if (p).
        But here even if there's no extension, we still want to truncate opt_name
        to FN_REFLEN, so we always execute the code.
        By design, the test was always 'false' (because we strip the extension before
        testing if there's an extension) so log->set_no_rotate never executed.
      sql/sql_class.h:
        remove set_no_rotate as we don't need it.
      543208de
  13. 11 Jul, 2003 1 commit
    • unknown's avatar
      Fix for BUG#791: · d974959b
      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
      d974959b
  14. 06 Jul, 2003 1 commit
    • unknown's avatar
      WL#912 (more user control on relay logs): · 27601fc5
      unknown authored
      FLUSH LOGS now rotates relay logs,
      and a new variable max_relay_log_size.
      Plus a very small bit of code cleaning.
      
      
      libmysqld/lib_sql.cc:
        open_log has no default arguments anymore.
      mysql-test/r/rpl_flush_log_loop.result:
        result update now that FLUSH LOGS rotates relay logs.
      mysql-test/r/rpl_log.result:
        result update now that FLUSH LOGS rotates relay logs.
      mysql-test/r/rpl_rotate_logs.result:
        result update now that max_binlog_size is 4096.
      mysql-test/t/rpl_rotate_logs-master.opt:
        now max_binlog_size must be a multiple of 4096 (see change in mysqld.cc)
      sql/log.cc:
        Got rid of default arguments of various MYSQL_LOG methods (the default arguments
        made code reading uneasy).
        Set max_size in ::init().
        New function set_max_size() to set max_size of a MYSQL_LOG on-the-fly.
        More DBUG info.
      sql/mysql_priv.h:
        no defaults in open_log().
        New variables max_relay_log_size.
      sql/mysqld.cc:
        New variable and option max_relay_log_size.
        max_binlog_size and max_relay_log_size are multiples of IO_SIZE.
        No more default arguments for log functions.
      sql/set_var.cc:
        New variable max_relay_log_size.
        If it is 0, then max_binlog_size will apply to relay logs.
        When one of these variables is changed, fix_max_%log_size is called
        to update max_size of the binary and/or relay logs.
      sql/slave.cc:
        New function rotate_relay_log().
      sql/slave.h:
        New function rotate_relay_log().
      sql/sql_class.h:
        New member max_size of MYSQL_LOG (for automatic rotation).
        New method set_max_size() for setting on-the-fly.
      sql/sql_parse.cc:
        Flush the relay log in FLUSH LOGS.
      27601fc5
  15. 27 Jun, 2003 1 commit
    • unknown's avatar
      Added thread variable max_seeks_for_key · c2cb9b97
      unknown authored
      Change optimizer to prefer key lookups before table scan
      Change table scans to be done after tables with constrains on scanned table 
      
      
      mysql-test/r/distinct.result:
        Update results
      mysql-test/r/group_by.result:
        Update results
      mysql-test/r/heap.result:
        Update results
      mysql-test/r/join.result:
        Update results
      mysql-test/r/key_diff.result:
        Update results
      mysql-test/r/myisam.result:
        Update results
      mysql-test/r/order_by.result:
        Update results
      mysql-test/r/select_safe.result:
        Update results
      mysql-test/t/distinct.test:
        Change test to be repeatable
      mysql-test/t/join.test:
        Change test to be repeatable
      mysql-test/t/select_safe.test:
        Add tests for MAX_SEEKS_FOR_KEY
      sql/handler.h:
        Optimize structure for 64 bit machines (and to avoid problems with gdb)
      sql/item_cmpfunc.cc:
        Initialize not_null_tables_cache properly
      sql/mysqld.cc:
        Added max_seeks_for_key
      sql/set_var.cc:
        Added max_seeks_for_key
      sql/sql_class.h:
        Added max_seeks_for_key
      sql/sql_select.cc:
        Added max_seeks_for_key
        Change optimizer to prefer key lookups before table scan.
        Change table scans to be done after tables with constrains on scanned table
      c2cb9b97
  16. 26 Jun, 2003 1 commit
  17. 19 Jun, 2003 1 commit
    • unknown's avatar
      SCRUM · 85d2282e
      unknown authored
      Task ID 894:
      Backport default_week_format variable to 4.0
      
      
      mysql-test/r/func_time.result:
        Backport default_week_format variable to 4.0
      mysql-test/t/func_time.test:
        Backport default_week_format variable to 4.0
      sql/mysqld.cc:
        Backport default_week_format variable to 4.0
      sql/set_var.cc:
        Backport default_week_format variable to 4.0
      sql/sql_class.h:
        Backport default_week_format variable to 4.0
      sql/sql_yacc.yy:
        Backport default_week_format variable to 4.0
      85d2282e
  18. 06 Jun, 2003 1 commit
    • unknown's avatar
      -- already approved; it would be nice if it goes into 3.23.57 -- · 98f57fbe
      unknown authored
      Fix for bug 254 : the first Start_log_event after server startup will
      have created=now(), whereas the next ones (FLUSH LOGS, auto rotation)
      will have created=0. Before this, it was always now().
      This way, slaves >=4.0.14 will know when they must
      drop stale temp tables or not. The next task is now modify 4.0.14 to
      implement this.
      
      
      sql/log.cc:
        Fix for bug 254 : the first Start_log_event after server startup will
        have created=now(), whereas the next ones (FLUSH LOGS, auto rotation)
        will have created=0. Before this, it was always now().
        This way, slaves >=4.0.14 will know when they must
        drop stale temp tables or not.
      sql/log_event.h:
        An explanation.
      sql/sql_class.h:
        Prototype change (see log.cc).
      98f57fbe
  19. 04 May, 2003 1 commit
  20. 30 Apr, 2003 1 commit
    • unknown's avatar
      Fix reference to not initialized memory · 6db41f77
      unknown authored
      Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
      
      
      libmysqld/lib_sql.cc:
        Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
      myisam/mi_rkey.c:
        Fix reference to not initialized memory
      sql/sql_acl.cc:
        Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
      sql/sql_acl.h:
        Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
      sql/sql_class.h:
        Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
      sql/sql_parse.cc:
        Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
      sql/unireg.h:
        Changed handing of priv_host to fix bug in FLUSH PRIVILEGES
      6db41f77
  21. 28 Apr, 2003 1 commit
  22. 12 Mar, 2003 1 commit
  23. 11 Mar, 2003 1 commit
  24. 05 Mar, 2003 1 commit
  25. 27 Feb, 2003 1 commit
    • unknown's avatar
      posreview changing (SCRUM) · b01f20db
      unknown authored
      increased compatibility
      postmerge changing
      
      
      sql/sql_class.h:
        increased compatibility
      sql/sql_show.cc:
        postmerge changing
      vio/viosocket.c:
        increased compatibility
      b01f20db
  26. 17 Feb, 2003 1 commit
    • unknown's avatar
      client port number added to SHOW PROCESSLIST (SCRUM?) · 1b9b2c30
      unknown authored
      include/violite.h:
        port added to reported parameters
      libmysqld/lib_vio.c:
        port added to reported parameters
      sql/sql_class.h:
        port added to reported parameters
      sql/sql_parse.cc:
        port added to reported parameters
      sql/sql_show.cc:
        SHOW PROCESSLIST will report port number if it is possible
      vio/viosocket.c:
        port added to reported parameters
      1b9b2c30
  27. 28 Jan, 2003 1 commit
    • unknown's avatar
      Fixes for Netware · 84f81dc5
      unknown authored
      Call pthread_mutex_destroy() on not used mutex.
      Changed comments in .h and .c files from // -> /* */
      Added detection of mutex on which one didn't call pthread_mutex_destroy()
      Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
      Added optimisation for ORDER BY NULL
      
      
      BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
        Delete: sql/ChangeLog
      BUILD/compile-pentium-valgrind-max:
        Don't use valgrind with safemalloc as this can hide some bugs
      Makefile.am:
        Added platform dirs
      bdb/os/os_handle.c:
        Portability fix
      client/mysql.cc:
        Fixes for Netware.
        Fixed duplicate output when using 'tee'
        Simple optimisations
      client/mysqldump.c:
        Portability fix
      client/mysqltest.c:
        Portability fix
      configure.in:
        Fixes for Netware
      extra/resolveip.c:
        Fixes for Netware
      include/Makefile.am:
        Fixes for Netware
      include/config-win.h:
        Portability fix
      include/my_global.h:
        Fixes for Netware
      include/my_net.h:
        Fixes for Netware
      include/my_pthread.h:
        Fixes for Netware
        Added detection of mutexes that was not destroyed
      include/my_sys.h:
        Fixes for Netware
        Added 'extern' before external functions
      include/mysql.h:
        Fixes for Netware
      innobase/configure.in:
        Fixes for Netware
      innobase/include/os0thread.h:
        Fixes for Netware
      innobase/os/os0sync.c:
        Fixes for Netware
      innobase/os/os0thread.c:
        Fixes for Netware
      innobase/srv/srv0srv.c:
        Fixes for Netware
      innobase/srv/srv0start.c:
        Fixes for Netware
      innobase/sync/sync0sync.c:
        Fixes for Netware
      isam/test3.c:
        Disable test on Netware
      libmysql/Makefile.shared:
        Added my_sleep
      libmysql/get_password.c:
        Fixes for Netware
      libmysql/libmysql.c:
        Fixes for Netware
        Made mysql_once_init() global
      libmysql/manager.c:
        Fixes for Netware
      myisam/mi_test3.c:
        Disable test for netware
      mysql-test/mysql-test-run.sh:
        Give warning if output file contains errors
      mysql-test/r/count_distinct.result:
        More tests
      mysql-test/r/group_by.result:
        Test of ORDER BY NULL
      mysql-test/t/backup.test:
        Fixes for Netware
      mysql-test/t/count_distinct.test:
        More tests
      mysql-test/t/func_crypt.test:
        Fixes for Netware
      mysql-test/t/grant_cache.test:
        Fixes for Netware
      mysql-test/t/group_by.test:
        Tests of ORDER BY NULL
      mysql-test/t/rpl000015.test:
        Fixes for Netware
      mysql-test/t/rpl000017.test:
        Fixes for Netware
      mysql-test/t/rpl_rotate_logs.test:
        Fixes for Netware
      mysys/Makefile.am:
        Added my_sleep.c and my_netware.c
      mysys/charset.c:
        Fixes for Netware
      mysys/default.c:
        Fixes for Netware
      mysys/mf_tempfile.c:
        Fixes for Netware
      mysys/my_clock.c:
        Fixes for Netware
      mysys/my_copy.c:
        Fixes for Netware
      mysys/my_getwd.c:
        Changed function comment from // -> /* */
      mysys/my_init.c:
        Fixes for Netware
      mysys/my_lock.c:
        Fixes for Netware
      mysys/my_messnc.c:
        Fixes for Netware
      mysys/my_os2cond.c:
        Removed comment
      mysys/my_os2dirsrch.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2dirsrch.h:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2file64.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2mutex.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2thread.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2tls.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_pthread.c:
        Fixes for Netware
      mysys/my_redel.c:
        Fixes for Netware
      mysys/my_tempnam.c:
        Fixes for Netware
      mysys/my_thr_init.c:
        Remove created mutexes when program ends.
      mysys/mysys_priv.h:
        Cleanup
      mysys/safemalloc.c:
        Prefix error messages with "Error:"
      mysys/thr_alarm.c:
        Destroy internal mutex on end_thr_alarm.
      mysys/thr_mutex.c:
        Added detection of mutex on which one didn't call pthread_mutex_destroy()
      scripts/make_binary_distribution.sh:
        Fixes for Netware
      sql/des_key_file.cc:
        Free mutex at end
      sql/ha_innodb.cc:
        Free mutex at end
      sql/ha_myisam.cc:
        Changed warnings from REPAIR Note:
        (For mysql-test-run)
      sql/hostname.cc:
        Fixes for Netware
      sql/item.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/item_func.cc:
        Free used mutexes
      sql/item_sum.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/log.cc:
        Free used mutexes
      sql/my_lock.c:
        Fixes for Netware
      sql/mysql_priv.h:
        Fixes for Netware
      sql/mysqld.cc:
        Fixes for Netware
        Added Have_crypt
        Properly free mutexes from MYSQL_LOG by calling cleanup
        Free mutex before exit
      sql/repl_failsafe.cc:
        Fixes for Netware
      sql/set_var.cc:
        Added have_crypt
      sql/share/english/errmsg.txt:
        Added version socket and port to stderr log
      sql/slave.cc:
        Remove global MASTER_INFO variable and use instead an allocated variable.
        This allows us to correctly free used mutex.
      sql/slave.h:
        Move constructors and destuctors to slave.cc
        (To make it easier to clear all needed variables)
      sql/sql_base.cc:
        Safety fix
      sql/sql_class.h:
        Portability fixes.
        Added 'cleanup' to log handling to be able to free mutexes.
      sql/sql_insert.cc:
        Fixes for Netware
      mysys/my_sleep.c:
        E
      sql/sql_parse.cc:
        Fixes for Netware
      sql/sql_select.cc:
        Added optimisation for ORDER BY NULL
      sql/sql_select.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_table.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_udf.cc:
        Free mutex on end
      vio/test-ssl.c:
        Simple code cleanup
      vio/test-sslclient.c:
        Simple code cleanup
      vio/test-sslserver.c:
        Simple code cleanup
      vio/viotest-ssl.c:
        Simple code cleanup
      84f81dc5
  28. 04 Jan, 2003 1 commit
    • unknown's avatar
      Added support for max_allowed_packet in option files read by mysql_option() · 2d898610
      unknown authored
      Extended max_allowed_packet for clients to 1G
      Fixed bug in sending compressed rows >= 16M
      Fix bug in skiping too long packets from clients.
      Added checking of wrong command number sent by client.
      
      
      include/mysql.h:
        Added max_allowed_packet as option parameter.
      include/mysql_com.h:
        Added COM_END to be able to check for wrong commands.
      libmysql/libmysql.c:
        Extended max_allowed_packet for clients to 1G
        Added support for max_allowed_packet in option files read by mysql_option()
      mysys/my_compress.c:
        Debugging output
      sql/net_pkg.cc:
        Fixed wrong handling of blobs >= 16M
      sql/net_serv.cc:
        Changed MAX_THREE_BYTES -> MAX_PACKET_LENGTH
        More DEBUG output and more comments
        Fixed bug in sending compressed rows >= 16M
        Optimized sending of big packets (fewer memcpy and compress data in bigger blocks)
        Fix bug in skiping too long packets from clients.
        (old code didn't always work for big packets)
      sql/sql_class.h:
        Changed type of variable
      sql/sql_parse.cc:
        Added checking of wrong command number sent by client.
        Changed handling of too big packets to make code safer
      tests/big_record.pl:
        E
      2d898610
  29. 20 Dec, 2002 1 commit
    • unknown's avatar
      Changed thd variables max_join_size and select_limit to type ha_rows. · 791e9fb3
      unknown authored
      This fixed some optimization problems when using -DBIG_TABLES
      Portabilty fixes for OpenUnix and HPUX
      Added C and C++ version numbers to mysqlbug
      
      
      Docs/mysqld_error.txt:
        Added new error message
      acinclude.m4:
        Fix for configure problem on OpenUnix
      configure.in:
        Fix for OpenUnix
        Added C and C++ versions to mysqlbug
      mysql-test/r/variables.result:
        Update of max_join_size handling
      mysql-test/t/variables.test:
        Update of max_join_size handling
      mysys/Makefile.am:
        Removed duplicate row
      mysys/my_alloc.c:
        Safety fixes (not fatal)
      scripts/Makefile.am:
        Added C and C++ compiler versions to mysqlbug
      scripts/mysqlbug.sh:
        Added C and C++ compiler versions to mysqlbug
      sql/item_func.cc:
        Fixed that user variables that changes are not threated as constants.
      sql/item_func.h:
        Fixed that user variables that changes are not threated as constants.
      sql/mysqld.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/repl_failsafe.cc:
        Removed not needed cast
      sql/set_var.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/set_var.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/slave.cc:
        Removed not needed cast
      sql/sql_class.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/sql_parse.cc:
        Removed not needed cast
        Fixed security problem with mysql_drop_db()
      sql/sql_show.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/structs.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      791e9fb3
  30. 29 Nov, 2002 1 commit
    • unknown's avatar
      New multi-table-update code · 46536219
      unknown authored
      New (simpler) internal timestamp handling.
      More debuging to heap tables.
      Small cleanups to multi-table-delete
      false -> 0 and true -> 1  (We should use TRUE and FALSE)
      
      
      heap/_check.c:
        Added checking of rows
      heap/hp_delete.c:
        Extra debugging
      heap/hp_scan.c:
        Extra debugging
      heap/hp_update.c:
        Extra debugging
      heap/hp_write.c:
        Extra debugging
      include/my_base.h:
        Added option to disable row cache when using updates
      isam/extra.c:
        Added option to disable row cache when using updates
      myisam/mi_check.c:
        Comment cleanup
      myisam/mi_extra.c:
        Added option to disable row cache when using updates
      myisam/sort.c:
        Indentaion cleanups
      myisammrg/myrg_extra.c:
        Added option to disable row cache when using updates
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/t/multi_update.test:
        Cleanup up to only use table names t1, t2,...
      mysys/mf_iocache.c:
        Safety fix
      sql/item_cmpfunc.cc:
        change true-> 1 and false -> 0
      sql/mysql_priv.h:
        Cleaned up SQL_LIST handling
      sql/sql_base.cc:
        Fixed grant checking if SELECT tablename.*
      sql/sql_class.h:
        Cleaned up multi-table-update
      sql/sql_delete.cc:
        Fixed OPTION_SAFE_UPDATE checking in multi-table-delete.
        Fixed query-cache invalidation in multi-table-delete
      sql/sql_insert.cc:
        cleaned up timestamp handling
      sql/sql_olap.cc:
        false -> 0
      sql/sql_parse.cc:
        Optimized some list handling.
        Moved multi-table-update to sql_update.cc
      sql/sql_select.cc:
        More comments
        Fixed create_tmp_table for multi-table-update
      sql/sql_select.h:
        New prototypes
      sql/sql_union.cc:
        false -> 0
        Cleaned up timestamp handling
      sql/sql_update.cc:
        New multi-update-table code
      sql/sql_yacc.yy:
        false -> 0, true -> 1
        Optimized some list handling
      sql/table.h:
        Added union for temporary values.
        Made shared int to be able to store counters.
      sql/uniques.cc:
        Indentation cleanup
      46536219
  31. 16 Nov, 2002 1 commit
    • unknown's avatar
      Small improvement to alloc_root · bd1c2d65
      unknown authored
      Add support for LIMIT # OFFSET #
      Changed lock handling:  Now all locks should be stored in TABLE_LIST instead of passed to functions.
      Don't call query_cache_invalidate() twice in some cases
      mysql_change_user() now clears states to be equal to close + connect.
      Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
      Fixed a bug with replicate-do and UPDATE
      
      
      BitKeeper/etc/ignore:
        added autom4te.cache/* bdb/dist/autom4te.cache/* innobase/autom4te.cache/*
      include/my_alloc.h:
        Small improvement to alloc_root
      libmysql/libmysql.c:
        Removed compiler warning
      myisam/mi_page.c:
        Better DBUG message
      mysql-test/r/multi_update.result:
        Added test with lock tables
      mysql-test/r/rpl_replicate_do.result:
        Update results
      mysql-test/r/rpl_rotate_logs.result:
        Make test independent of if t1 exists
      mysql-test/t/multi_update.test:
        Added test with lock tables
      mysql-test/t/rpl_rotate_logs.test:
        Make test independent of if t1 exists
      mysys/my_alloc.c:
        Small imprevement to alloc_root
        (Don't free blocks less than ALLOC_MAX_BLOCK_ROOT (4K)
      sql/ha_innodb.cc:
        More debug messages
      sql/ha_myisam.cc:
        Safety change
      sql/lex.h:
        Add support for LIMIT # OFFSET #
      sql/lock.cc:
        Added assertion
      sql/mysql_priv.h:
        Change of lock handling
      sql/mysqld.cc:
        Added function clear_error_messages()
      sql/sql_base.cc:
        Change lock handling by open_ltable() and open_and_lock_tables()
      sql/sql_class.cc:
        Split THD::THD to two functions
        Move some code from cleanup() to ~THD:THD
        Add THD::change_user()
      sql/sql_class.h:
        Prototype changes in class THD
      sql/sql_delete.cc:
        Remove locking argument from mysql_delete()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_insert.cc:
        Remove locking argument from mysql_insert()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
        Don't use bulk insert if bulk_insert_buff_size is 0
      sql/sql_parse.cc:
        Changes to make mysql_change_user() work as close+connect
        Changed command statistics to use statstics_increment to get more speed
        Update code to handle that locks is now stored in TABLE_LIST
      sql/sql_update.cc:
        Remove locking argument from mysql_update()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_yacc.yy:
        Locking type is now stored in TABLE_LIST
        Added support for LIMIT # OFFSET # syntax
        Removed some wrong (never true) checks for SQLCOM_MULTI_UPDATE
      mysql-test/t/rpl_replicate_do-slave.opt:
        Changed tables to use t1,t2,...
      mysql-test/t/rpl_replicate_do.test:
        Changed tables to use t1,t2,...
      bd1c2d65
  32. 07 Nov, 2002 1 commit
    • unknown's avatar
      Put temporary files in binlog cache when using BEGIN/COMMIT · 72413e7f
      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
      72413e7f
  33. 22 Oct, 2002 1 commit
  34. 19 Sep, 2002 1 commit
    • unknown's avatar
      new function for innodb · 8ff9e708
      unknown authored
      windows case insensitive tables name work around
      
      
      sql/sql_cache.h:
        new function for innodb
      sql/sql_class.cc:
        new query cache invalidation function support
      sql/sql_class.h:
        new query cache invalidation function support
      8ff9e708
  35. 05 Sep, 2002 1 commit
    • unknown's avatar
      Fixed searching after ssl directories. · 8f2482d2
      unknown authored
      Fixed that GRANT ... REQUIRE options are not forgot when doing new GRANT
      Changed fn_ext to point at first '.' after directory.
      FLUSH LOGS removed numerical extension for all future update logs.
      Fixed the mysqld --help reports right values for --datadir and --bind-address
      --log-binary=a.b.c now properly strips of .b.c
      Fix that one can DROP UDF functions that was not loaded at startup
      Made AND optional in REQUIRE
      Added REQUIRE NONE
      
      
      BitKeeper/deleted/.del-CodingStyle~1ba7ff62d4cd0ea:
        Delete: vio/docs/CodingStyle
      BitKeeper/deleted/.del-COPYING.dbug~ca0c017a4d7e8609:
        Delete: vio/docs/COPYING.dbug
      BitKeeper/deleted/.del-COPYING.mysql~471498c82977cd3a:
        Delete: vio/docs/COPYING.mysql
      BitKeeper/deleted/.del-README~947354991dc882f8:
        Delete: vio/docs/README
      Docs/manual.texi:
        Changelog
      acinclude.m4:
        Fixed searching after ssl directories.
      client/Makefile.am:
        Moved openssl include to avoid problem with installed readline
      include/Makefile.am:
        Install my_global.h
      include/violite.h:
        Fixed that GRANT ... REQUIRE options are not forgot when doing new grant
      libmysqld/examples/Makefile.am:
        Moved openssl include to avoid problem with installed readline
      mysql-test/mysql-test-run.sh:
        Improved 'which' handling to give error if command is not found
      mysys/mf_fn_ext.c:
        Changed fn_ext to point at first '.' after directory.
      sql/Makefile.am:
        More comments
      sql/lex.h:
        Added NONE as keyword
      sql/log.cc:
        FLUSH LOGS removed numerical extension for all future update logs.
        Simple code cleanup
      sql/mysqld.cc:
        Fixed the --help reports right values for --datadir and --bind-address
        --log-binary=a.b.c now properly strips of .b.c
        Removed option --skip-external-locking (not needed as this is automatic)
      sql/repl_failsafe.cc:
        Moved some common THD initalization to store_globals()
      sql/slave.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_acl.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_acl.h:
        Updated function prototypes
      sql/sql_base.cc:
        Added comment
      sql/sql_class.cc:
        Moved openssl include to avoid problem with installed readline.
        Changed THD::thd to make things work for main thread.
      sql/sql_class.h:
        Fixed wrongly removed line (fixes compiler problem on MacOSX)
      sql/sql_insert.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_lex.cc:
        Moved save_to_cache_query=0 to udf detection function to make sql_yacc.yy simpler
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_parse.cc:
        Moved openssl include to avoid problem with installed readline.
        Added THD argument to acl_reload()
      sql/sql_repl.h:
        Made opt_bin_logname static
      sql/sql_udf.cc:
        Fix that one can DROP UDF functions that was not loaded at startup
      sql/sql_yacc.yy:
        made AND optional in REQUIRE
        Added REQUIRE NONE
        Fixed that old SSL options are not forgotten when doing new GRANT.
      sql/udf_example.cc:
        Improved comments
      8f2482d2
  36. 03 Sep, 2002 1 commit
    • unknown's avatar
      Some trivial optimzations · 0f2ab68c
      unknown authored
      Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
      Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
      Better fix for ALTER TABLE on BDB tables.
      
      
      Docs/manual.texi:
        Changelog
      client/mysql.cc:
        Simple optimization
      libmysql/libmysql.c:
        Removed initialization of varibles that are already set to zero
      myisam/myisamchk.c:
        Fixed comment for extend-check
      mysql-test/r/bdb-alter-table-1.result:
        Updated results
      mysql-test/r/bdb-alter-table-2.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results after bug fix
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/t/bdb-alter-table-1.test:
        Added comments
      mysql-test/t/bdb-alter-table-2.test:
        Added comments
      mysql-test/t/select.test:
        Remove OPTION in SET OPTION
        Added tests for ORDER BY key LIMIT
      sql/item_cmpfunc.cc:
        Check if AND/OR expression can be NULL
      sql/mysqld.cc:
        mysqld --help now shows value of datadir
      sql/share/english/errmsg.txt:
        Better error message for syntax error
      sql/sql_base.cc:
        Bug fix for SHOW OPEN TABLES
      sql/sql_class.cc:
        Moved virtual function to .cc file to avoid that we have to include assert.h everywhere.
      sql/sql_class.h:
        Moved virtual function to .cc file to avoid that we have to include assert.h everywhere.
      sql/sql_parse.cc:
        Removed old dead code from 3.23
      sql/sql_select.cc:
        Improved optimization of ORDER BY key LIMIT
      sql/sql_table.cc:
        More comments,
        Better fix for ALTER TABLE on BDB tables.
      0f2ab68c
  37. 23 Aug, 2002 1 commit
    • unknown's avatar
      Removed wrong mutex lock (hangup in kill on HPUX) · c216222b
      unknown authored
      all free_defaults() on exit in mysql.cc;  Should fix problem with SSL
      
      
      Docs/manual.texi:
        Added information about --skip-innodb
      client/mysql.cc:
        Call free_defaults() on exit
      client/mysqladmin.c:
        Call free_defaults() on exit
      client/mysqlimport.c:
        Call free_defaults() on exit
      mysql-test/r/rpl000016.result:
        Added testing of temporary tables with binary log rotation
      mysql-test/t/rpl000016.test:
        Added testing of temporary tables with binary log rotation
      sql/log.cc:
        Remove not used variable
      sql/sql_class.h:
        Removed wrong mutex lock (hangup in kill on HPUX)
      c216222b
  38. 22 Aug, 2002 1 commit
    • unknown's avatar
      Fixed bug in wait_for_update() that I had introduced. · e4d5597d
      unknown authored
      Changed option variables to my_bool (to avoid bugs in my_getopt())
      Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early.
      Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
      
      
      libmysqld/lib_sql.cc:
        Removed not needed LOCK
      mysql-test/mysql-test-run.sh:
        Log name of running test
      mysql-test/r/rpl_sporadic_master.result:
        Cleaned up test
      mysql-test/t/rpl_sporadic_master.test:
        cleaned up test
      sql/log.cc:
        Cleanup.
        Fixed bug in wait_for_update() that I had introduced.
      sql/mini_client.cc:
        Indentation changes.
      sql/mysql_priv.h:
        Changed option variables to my_bool.
      sql/mysqld.cc:
        Changed option variables to my_bool.
        Removed not used LOCK_server_id
        Minor code cleanups.
      sql/repl_failsafe.cc:
        Minor code cleanups
      sql/slave.cc:
        Minor code cleanups.
        Fixed usage of wait_for_update().
      sql/slave.h:
        Changed option variables to my_bool.
      sql/sql_class.cc:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_class.h:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_insert.cc:
        Do broadcast after unlock()
      sql/sql_parse.cc:
        Removed not needed LOCK
        Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
        Changed killing of threads to not lock LOCK_thread_count for long.
      sql/sql_repl.cc:
        Changed options variables to my_bool
        Fixed usage of wait_for_update()
        Fixed loop to kill slaves to not lock LOCK_thread_count for long.
        Code optimization.
      sql/sql_repl.h:
        bool -> my_bool
        Fixed KICK_SLAVE to use LOCK_delete
      e4d5597d