1. 02 Jun, 2015 10 commits
    • Sergei Golubchik's avatar
      misc IO_CACHE cleanups · 196e8529
      Sergei Golubchik authored
      * remove unused (and not implemented) WRITE_NET type
      * remove cast in my_b_write() macro. my_b_* macros are
        function-like, casts are responsibility of the caller
      * replace hackish _my_b_write(info,0,0) with the explicit
        my_b_flush_io_cache() in my_b_write_byte()
      * remove unused my_b_fill_cache()
      * replace pbool -> my_bool
      * make internal IO_CACHE functions static
      * reformat comments, correct typos, remove obsolete comments (ISAM)
      * assert valid cache type in init_functions()
      * use IO_ROUND_DN() macro where appropriate
      * remove unused DBUG_EXECUTE_IF in _my_b_cache_write()
      * remove unnecessary __attribute__((unused))
      * fix goto error in parse_file.cc
      * remove redundant reinit_io_cache() in uniques.cc
      * don't do reinit_io_cache() if the cache was not initialized
        in ma_check.c
      * extract duplicate functionality from various _my_b_*_read
        functions into a common wrapper. Same for _my_b_*_write
      * create _my_b_cache_write_r instead of having if's in
        _my_b_cache_write (similar to existing _my_b_cache_read and
        _my_b_cache_read_r)
      * don't call mysql_file_write() from my_b_flush_io_cache(),
        call info->write_function() instead
      196e8529
    • Sergei Golubchik's avatar
      myisam/aria: don't mess with IO_CACHE::file · 1841557e
      Sergei Golubchik authored
      that is, don't create a "temporary" IO_CACHE with file==-1
      and manually swap it later to the valid file descriptor.
      1841557e
    • Sergei Golubchik's avatar
      cleanup: LOAD DATA replication support in IO_CACHE · 80e61ae2
      Sergei Golubchik authored
      remove some 14-year old code that added support for
      LOAD DATA replication to IO_CACHE:
      * three callbacks, of which only two were actually used and that
        were only needed for LOAD DATA replication but were
        tested in every IO_CACHE instance
      * an additional opaque void * argument in IO_CACHE, also only
        used for LOAD DATA replication, but present everywhere
      * the code to close IO_CACHE prematurely in LOAD DATA to have
        these callbacks called in the correct order and a long
        comment explaining what will happen if IO_CACHE is not
        closed prematurely
      * a variable to track whether IO_CACHE was closed prematurely
        (to avoid double-closing it)
      80e61ae2
    • Sergei Golubchik's avatar
      fix cmake dependencies · 91dab5dd
      Sergei Golubchik authored
      perfschema after 5.6 merge depends on sql_yacc.h
      91dab5dd
    • Sergei Golubchik's avatar
      remove few #ifdefs in innodb/xtradb · 72d01f24
      Sergei Golubchik authored
      72d01f24
    • Sergey Vojtovich's avatar
      MDEV-8202 - st_select_lex::master_unit() takes 0.17% in OLTP RO · 5fc53b7c
      Sergey Vojtovich authored
      To make st_select_lex::master_unit() inlinable:
      - moved it's definition to sql_lex.h
      - removed base class virtual master_unit() declaration since this method is
        specific to st_select_lex
      
      Overhead change:
      st_select_lex::master_unit()      0.17% -> out of radar
      execute_sqlcom_select()           0.13% -> 0.12%
      JOIN::save_explain_data_intern()  0.27% -> 0.23%
      JOIN::optimize_inner()            0.76% -> 0.72%
      JOIN::exec_inner()                0.30% -> 0.24%
      JOIN::prepare()                   0.30% -> 0.29%
      JOIN::optimize()                  0.05% -> 0.05%
      5fc53b7c
    • Sergey Vojtovich's avatar
      MDEV-8192 - THD::set_command() takes 0.05% in OLTP RO · adb952f5
      Sergey Vojtovich authored
      Moved THD::set_command() definition to sql_class.h so that it can be inlined.
      
      Overhead change:
      THD::set_command        0.05% -> out of radar
      adb952f5
    • Sergey Vojtovich's avatar
      MDEV-8191 - THD::set_query() takes 0.07% in OLTP RO · d298b022
      Sergey Vojtovich authored
      Moved THD::set_query() definition to sql_class.h so that it can be inlined.
      
      Overhead change:
      THD::set_query       0.07% -> out of radar
      d298b022
    • Alexander Barkov's avatar
      MDEV-8222 "string_field LIKE int_const" returns a wrong result in case of UCS2 · 3709c7fc
      Alexander Barkov authored
      MDEV-8257 Erroneous "Impossible where" when mixing decimal comparison and LIKE
      3709c7fc
    • Sergei Golubchik's avatar
      update for 32-bit, again · 8f92a70e
      Sergei Golubchik authored
      8f92a70e
  2. 01 Jun, 2015 7 commits
  3. 31 May, 2015 2 commits
  4. 30 May, 2015 5 commits
  5. 29 May, 2015 4 commits
  6. 28 May, 2015 3 commits
  7. 27 May, 2015 6 commits
  8. 26 May, 2015 3 commits