1. 19 Jun, 2015 7 commits
  2. 18 Jun, 2015 6 commits
  3. 17 Jun, 2015 1 commit
  4. 15 Jun, 2015 2 commits
    • Kristian Nielsen's avatar
      Merge branch 'mdev8294' into 10.1 · 6a92fa4b
      Kristian Nielsen authored
      6a92fa4b
    • Kristian Nielsen's avatar
      MDEV-8294: Inconsistent behavior of slave parallel threads at runtime · 93c039dd
      Kristian Nielsen authored
      Follow-up patch to temporarily avoid a sporadic failure in the test
      rpl.rpl_000011 due to MDEV-8301.
      
      There is a window during thread exit where the global status is
      counted incorrectly - the contribution for the exiting thread is
      counted twice. The patch for MDEV-8294 made this window visible to the
      test case rpl.rpl_000011, causing it to sporadically fail. Temporarily
      silence this with a wait for the expected value; can be removed once
      MDEV-8294 is fixed.
      93c039dd
  5. 10 Jun, 2015 2 commits
  6. 09 Jun, 2015 7 commits
  7. 05 Jun, 2015 1 commit
  8. 04 Jun, 2015 1 commit
    • Jan Lindström's avatar
      MDEV-8250: InnoDB: Page compressed tables are not compressed and... · f7002c05
      Jan Lindström authored
      MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash
      
      Analysis: Problem is that both encrypted tables and compressed tables use
      FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION to store
      required metadata. Furhermore, for only compressed tables currently
      code skips compression.
      
      Fixes:
      - Only encrypted pages store key_version to FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION,
        no need to fix
      - Only compressed pages store compression algorithm to FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION,
        no need to fix as they have different page type FIL_PAGE_PAGE_COMPRESSED
      - Compressed and encrypted pages now use a new page type FIL_PAGE_PAGE_COMPRESSED_ENCRYPTED and
        key_version is stored on FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION and compression
        method is stored after FIL header similar way as compressed size, so that first
        FIL_PAGE_COMPRESSED_SIZE is stored followed by FIL_PAGE_COMPRESSION_METHOD
      - Fix buf_page_encrypt_before_write function to really compress pages if compression is enabled
      - Fix buf_page_decrypt_after_read function to really decompress pages if compression is used
      - Small style fixes
      f7002c05
  9. 03 Jun, 2015 1 commit
  10. 02 Jun, 2015 12 commits
    • Sergei Golubchik's avatar
      51d67633
    • Sergei Golubchik's avatar
      0f009272
    • Sergei Golubchik's avatar
      my_aes_get_size() · ebc5e006
      Sergei Golubchik authored
      return unsigned, not signed.
      return a value large enough for GCM
      ebc5e006
    • Sergei Golubchik's avatar
      file_key_management plugin: complain if key id 1 is not found · 487e5f45
      Sergei Golubchik authored
      and don't recommend aes_ctr if it's unavailable
      487e5f45
    • Sergei Golubchik's avatar
      just like tempfiles: use key id 2 for temp Aria tables · 432b78c9
      Sergei Golubchik authored
      introduce ENCRYPTION_KEY_SYSTEM_DATA and
      ENCRYPTION_KEY_TEMPORARY_DATA constants; use them everywhere.
      432b78c9
    • Sergei Golubchik's avatar
      MDEV-8126 encryption for temp files · d9340d6c
      Sergei Golubchik authored
      IO_CACHE tempfiles encryption
      d9340d6c
    • Sergei Golubchik's avatar
      always use my_b_pread() instead of mysql_file_pread() · 318c826e
      Sergei Golubchik authored
      when working with IO_CACHE's, don't access IO_CACHE::file directly
      318c826e
    • Sergei Golubchik's avatar
    • 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