1. 26 Aug, 2015 8 commits
  2. 25 Aug, 2015 3 commits
  3. 22 Aug, 2015 1 commit
  4. 21 Aug, 2015 3 commits
  5. 18 Aug, 2015 4 commits
    • Monty's avatar
      Merge /my/maria-10.1-default into 10.1 · 4374da63
      Monty authored
      4374da63
    • Monty's avatar
      Fixed failing tests and compiler warnings · dfac82e4
      Monty authored
      - UNINIT_VAR() was required for 4.8.3 on openSUSE 13.2
      dfac82e4
    • Monty's avatar
      Ensure that fields declared with NOT NULL doesn't have DEFAULT values if not... · 6b203426
      Monty authored
      Ensure that fields declared with NOT NULL doesn't have DEFAULT values if not specified and if not timestamp or auto_increment
      
      In original code, sometimes one got an automatic DEFAULT value in some cases, in other cases not.
      
      For example:
      create table t1 (a int primary key)      - No default
      create table t2 (a int, primary key(a))  - DEFAULT 0
      create table t1 SELECT ....              - Default for all fields, even if they where defined as NOT NULL
      ALTER TABLE ... MODIFY could sometimes add an unexpected DEFAULT value.
      
      The patch is quite big because we had some many test cases that used
      CREATE ... SELECT or CREATE ... (...PRIMARY KEY(xxx)) which doesn't have an automatic DEFAULT anymore.
      
      Other things:
      - Removed warnings from InnoDB when waiting from semaphore (got this when testing things with --big)
      6b203426
    • Monty's avatar
      MDEV-8475 stale .TMM file causes MyiSAM and Aria engine to stop serving the table · 92fd6583
      Monty authored
      Issue was two fold (both in MyISAM and Aria)
      - optimize and repair failed if there was an old .TMM file around. As optimized and repair are protected against multiple execution, I decided to change so that we just truncate the file if it exists.
      - I had missed to check for error condition if creation of the temporary index file failed. This caused the strange behaviour that it looked as if optimized would have worked once.
      92fd6583
  6. 17 Aug, 2015 1 commit
    • Alexander Barkov's avatar
      Adding EXPLAIN SELECT tests for: · 5fe8b747
      Alexander Barkov authored
      MDEV-7649 wrong result when comparing utf8 column with an invalid literal
      This is a preparatory patch for:
      MDEV-8433 Make field<'broken-string' use indexes
      5fe8b747
  7. 14 Aug, 2015 5 commits
  8. 13 Aug, 2015 2 commits
  9. 12 Aug, 2015 3 commits
  10. 10 Aug, 2015 1 commit
  11. 09 Aug, 2015 1 commit
  12. 08 Aug, 2015 5 commits
    • Nirbhay Choubey's avatar
      MDEV-7205 : Galera cluster & sql_log_bin = off don't work · cd1a11ac
      Nirbhay Choubey authored
      While sql_bin_log=1(0) is meant to control binary logging for the
      current session so that the updates to do(not) get logged into the
      binary log to be replicated to the async MariaDB slave. The same
      should not affect galera replication.
      
      That is, the updates should always get replicated to other galera
      nodes regardless of sql_bin_log's value.
      
      Fixed by making sure that the updates are written to binlog cache
      irrespective of sql_bin_log.
      
      Added test cases.
      cd1a11ac
    • Jan Lindström's avatar
      MDEV-8582: innodb_force_primary_key option does not force PK or unique key · 46ad86f6
      Jan Lindström authored
      Analysis: Handler used table flag HA_REQUIRE_PRIMARY_KEY but a bug on
      sql_table.cc function mysql_prepare_create_table internally marked
      secondary key with NOT NULL colums as unique key and did not then
      fail on requirement that table should have primary key or unique key.
      46ad86f6
    • Jan Lindström's avatar
      MDEV-8582: innodb_force_primary_key option does not force PK or unique key · 3307eaab
      Jan Lindström authored
      Analysis: Handler table flag HA_REQUIRE_PRIMARY_KEY alone is not enough
      to force primary or unique key, if table has at least one NOT NULL
      column and secondary key for that column.
      
      Fix: Add additional check that table really has primary key or
      unique key for InnoDB terms.
      3307eaab
    • Jan Lindström's avatar
      MDEV-8583: Empty lines in encryption logging · 05bcb088
      Jan Lindström authored
      Removed extra line break.
      05bcb088
    • Jan Lindström's avatar
      MDEV-8410: Changing file-key-management to example-key-management causes crash and no real error · 18b0176a
      Jan Lindström authored
      MDEV-8409: Changing file-key-management-encryption-algorithm causes crash and no real info why
      
      Analysis: Both bugs has two different error cases. Firstly, at startup
      when server reads latest checkpoint but requested key_version,
      key management plugin or encryption algorithm or method is not found
      leading corrupted log entry. Secondly, similarly when reading system
      tablespace if requested key_version, key management plugin or encryption
      algorithm or method is not found leading buffer pool page corruption.
      
      Fix: Firsly, when reading checkpoint at startup check if the log record
      may be encrypted and if we find that it could be encrypted, print error
      message and do not start server. Secondly, if page is buffer pool seems
      corrupted but we find out that there is crypt_info, print additional
      error message before asserting.
      18b0176a
  13. 07 Aug, 2015 1 commit
  14. 04 Aug, 2015 2 commits