1. 16 Jan, 2017 2 commits
  2. 14 Jan, 2017 1 commit
  3. 13 Jan, 2017 3 commits
  4. 12 Jan, 2017 5 commits
    • Sergei Golubchik's avatar
      MDEV-11527 Virtual columns do not get along well with NO_ZERO_DATE · 20ca1bcf
      Sergei Golubchik authored
      don't check defaults for vcols
      20ca1bcf
    • Alexander Barkov's avatar
      MDEV-11030 Assertion `precision > 0' failed in decimal_bin_size · ebb8c9fb
      Alexander Barkov authored
      Fixing Item::decimal_precision() to return at least one digit.
      This fixes the problem reported in MDEV.
      
      Also, fixing Item_func_signed::fix_length_and_dec() to reserve
      space for at least one digit (plus one character for an optional sign).
      This is needed to have CONVERT(expr,SIGNED) and CONVERT(expr,UNSIGNED)
      create correct string fields when they appear in string context, e.g.:
        CREATE TABLE t1 AS SELECT CONCAT(CONVERT('',SIGNED));
      ebb8c9fb
    • Marko Mäkelä's avatar
      Improve an MDEV-9011 test of innodb_encrypt_log. · 2dc5d8bb
      Marko Mäkelä authored
      Test crash recovery from an encrypted redo log with innodb_encrypt_log=0.
      Previously, we did a clean shutdown, so only the log checkpoint
      information would have been read from the redo log. With this change,
      we will be reading and applying encrypted redo log records.
      
      include/start_mysqld.inc: Observe $restart_parameters.
      
      encryption.innodb-log-encrypt: Remove some unnecessary statements,
      and instead of restarting the server and concurrently accessing
      the files while the server is running, kill the server, check the
      files, and finally start up the server.
      
      innodb.log_data_file_size: Use start_mysqld.inc with $restart_parameters.
      2dc5d8bb
    • Vicențiu Ciorbaru's avatar
      Merge branch 'bb-10.0-vicentiu' into 10.0 · 4f533846
      Vicențiu Ciorbaru authored
      Extra merge commit due to intermediate commits pushed to 10.0 while
      merge was done.
      4f533846
    • Vicențiu Ciorbaru's avatar
      Merge branch '5.5' into 10.0 · 1c5ca7c1
      Vicențiu Ciorbaru authored
      1c5ca7c1
  5. 11 Jan, 2017 7 commits
  6. 10 Jan, 2017 9 commits
    • iangilfillan's avatar
      Update mysql_secure_installation man page · 9a4bc0d0
      iangilfillan authored
      9a4bc0d0
    • Sergei Golubchik's avatar
      6ad3dd60
    • Marko Mäkelä's avatar
      Merge 10.0 into 10.1 · 5044dae2
      Marko Mäkelä authored
      5044dae2
    • Marko Mäkelä's avatar
      Fix an innodb_plugin leak noted in MDEV-11686 · 78e6fafc
      Marko Mäkelä authored
      buf_flush_init_flush_rbt() was called too early in MariaDB server 10.0,
      10.1, MySQL 5.5 and MySQL 5.6. The memory leak has been fixed in
      the XtraDB storage engine and in MySQL 5.7.
      
      As a result, when the server is started to initialize new data files,
      the buf_pool->flush_rbt will be created unnecessarily and then leaked.
      This memory leak was noticed in MariaDB server 10.1 when running the
      test encryption.innodb_first_page.
      78e6fafc
    • Vicențiu Ciorbaru's avatar
      Fix unit test after merge from mysql 5.5.35 perfschema · 4799af09
      Vicențiu Ciorbaru authored
      The problem in MariaDB is introduced by this merge commit:
      c33db2cd
      
      The merge comes from mysql and the original author comes from this
      commit from MySQL:
      ------------------------------------------------
          commit 160b823d146288d66638e4a740d6d2da72f9a689
          Author: Marc Alff <marc.alff@oracle.com>
          Date:   Tue Aug 30 12:14:07 2016 +0200
      
          Bug#22551677 SIGNAL 11 IN LF_PINBOX_PUT_PINS
      
          Backport to 5.6
      ------------------------------------------------
      
      The breaking change is in start_socket_wait_v1 where instead of using
      m_thread_owner, we make use of my_pthread_getspecific_ptr to fetch a
      thread local storage value. Unfortunately this invalidates the
      "m_thread_owner" member when a socket is created. The internals of the
      socket structure have m_thread_owner set to NULL, but when checking for
      ownership we actually look at the current thread's key store.
      
      This seems incorrect however it is not immediately apparent why.
      
      To not diverge from MySQL's reasoning as it is not described what the
      actual problem was that this commit is trying to fix, I have adjusted the
      unittest to account for this new behaviour. We destroy the current
      thread in the unit test, such that the newly created socket actually has
      no thread owner. The m_thread_owner is untouched in all this.
      4799af09
    • Vicențiu Ciorbaru's avatar
      d00d46f4
    • Vicențiu Ciorbaru's avatar
      Fix problems from 5.5 merge · ecdb39a9
      Vicențiu Ciorbaru authored
      * Update mysqld_safe script to remove duplicated parameter --crash-script
      * Make --core-file-size accept underscores as well as dashes correctly.
      * Add mysqld_safe_helper to Debian and Ubuntu files.
      * Update innodb minor version to 35
      ecdb39a9
    • Vicențiu Ciorbaru's avatar
    • vicentiu's avatar
  7. 09 Jan, 2017 4 commits
  8. 08 Jan, 2017 1 commit
    • Monty's avatar
      MDEV-11317: `! is_set()' or `!is_set() || (m_status == DA_OK_BULK &&... · eed319b6
      Monty authored
      MDEV-11317: `! is_set()' or `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' fails in Diagnostics_area::set_ok_status on CREATE OR REPLACE with ARCHIVE table
      
      Problem was with deleting non existing .frm file for a storage engine that
      doesn't have .frm files (yet)
      
      Fixed by not giving an error for non existing .frm files for storage engines
      that are using discovery
      Fixed also valgrind supression related to the given test case
      eed319b6
  9. 07 Jan, 2017 3 commits
  10. 06 Jan, 2017 5 commits