1. 13 Feb, 2017 1 commit
    • Daniel Black's avatar
      MDEV-12055: Correct binlog_stm_ctype_ucs test · 265e3253
      Daniel Black authored
      The fix from MDEV-10866 was insufficient.
      Attempt 2 at fixing this.
      
      binlog.binlog_row_ctype_ucs 'row'        w18 [ fail ]
              Test ended at 2017-02-13 10:36:57
      
      CURRENT_TEST: binlog.binlog_row_ctype_ucs
      --- /mariadb/mysql-test/suite/binlog/r/binlog_row_ctype_ucs.result        2017-02-06 09:29:43.116183650 +1100
      +++ /mariadb/mysql-test/suite/binlog/r/binlog_row_ctype_ucs.reject        2017-02-13 10:36:56.984056229 +1100
      @@ -71,21 +71,21 @@
       /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
       DELIMITER /*!*/;
       # at #
      -#700101  6:46:40 server id #  end_log_pos # CRC32 XXX  Start: binlog v 4, server v #.##.## created 700101  6:46:40
      +#170213 10:36:56 server id #  end_log_pos # CRC32 XXX  Start: binlog v 4, server v #.##.## created 170213 10:36:56
       # at #
      -#700101  6:46:40 server id #  end_log_pos # CRC32 XXX  Gtid list [#-#-#]
      +#170213 10:36:56 server id #  end_log_pos # CRC32 XXX  Gtid list [#-#-#]
       # at #
      -#700101  6:46:40 server id #  end_log_pos # CRC32 XXX  Binlog checkpoint master-bin.000002
      +#170213 10:36:56 server id #  end_log_pos # CRC32 XXX  Binlog checkpoint master-bin.000002
       # at #
      -#700101  6:46:40 server id #  end_log_pos # CRC32 XXX  Binlog checkpoint master-bin.000003
      +#170213 10:36:56 server id #  end_log_pos # CRC32 XXX  Binlog checkpoint master-bin.000003
       # at #
      -#700101  6:46:40 server id #  end_log_pos # CRC32 XXX  GTID #-#-# ddl
      +#170213 10:36:56 server id #  end_log_pos # CRC32 XXX  GTID #-#-# ddl
       /*!100101 SET @@session.skip_parallel_replication=0*//*!*/;
       /*!100001 SET @@session.gtid_domain_id=#*//*!*/;
       /*!100001 SET @@session.server_id=#*//*!*/;
       /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
       # at #
      -#700101  6:46:40 server id #  end_log_pos # CRC32 XXX  Query   thread_id=#     exec_time=#     error_code=0
      +#170213 10:36:56 server id #  end_log_pos # CRC32 XXX  Query   thread_id=#     exec_time=#     error_code=0
       use `test`/*!*/;
       SET TIMESTAMP=XXX/*!*/;
       SET @@session.pseudo_thread_id=#/*!*/;
      Signed-off-by: default avatarDaniel Black <daniel.black@au.ibm.com>
      265e3253
  2. 11 Feb, 2017 3 commits
  3. 10 Feb, 2017 18 commits
  4. 09 Feb, 2017 8 commits
  5. 08 Feb, 2017 7 commits
    • Marko Mäkelä's avatar
      MDEV-12024 InnoDB startup fails to wait for recv_writer_thread to finish · 070a8754
      Marko Mäkelä authored
      recv_writer_thread(): Do not assign recv_writer_thread_active=true
      in order to avoid a race condition with
      recv_recovery_from_checkpoint_finish().
      
      recv_init_crash_recovery_spaces(): Assign recv_writer_thread_active=true
      before creating recv_writer_thread.
      070a8754
    • Vladislav Vaintroub's avatar
      More verbose output for the Wix linker (light.exe) · bae2fc1f
      Vladislav Vaintroub authored
      This is an attempt to workaround buildbot
      "1200 seconds without output, killing process"
      bae2fc1f
    • Marko Mäkelä's avatar
      Test fix for MDEV-6076 Persistent AUTO_INCREMENT for InnoDB · 3c411e3a
      Marko Mäkelä authored
      Before killing the server, ensure that the redo log for the
      incomplete transaction is flushed, so that the AUTO_INCREMENT
      sequence will always be updated. Usually the INSERT
      transaction would not have persisted the sequence before the
      server was killed, but sometimes it could happen, causing
      result mismatch.
      
      Note: This test used to be called innodb_fts.innodb_fts_misc_debug.
      3c411e3a
    • Marko Mäkelä's avatar
      Remove some more error log spam. · 9fa20716
      Marko Mäkelä authored
      Do not effectively set DEBUG_DBUG='d' by setting DEBUG_DBUG='-d,...'.
      Instead, restore the saved value of DEBUG_DBUG.
      
      Also, split the test innodb_fts.innodb_fts_misc_debug into
      innodb_fts.crash_recovery and innodb_fts.misc_debug, and enable
      these tests for --valgrind, the latter test for --embedded,
      and the former tests for the non-debug server.
      9fa20716
    • Oleksandr Byelkin's avatar
      MDEV-11681: PARTITION BY LIST COLUMNS with default partition: Assertion... · a75633b5
      Oleksandr Byelkin authored
      MDEV-11681: PARTITION BY LIST COLUMNS with default partition: Assertion `part_info->num_list_values' failed in get_part_iter_for_interval_cols_via_map
      
      process adge case with only default partition
      a75633b5
    • Jan Lindström's avatar
      MDEV-11974: MariaDB 10.2 encryption does not support spatial indexes · 7b27465e
      Jan Lindström authored
      Encryption stores used key_version to
      FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION (offset 26)
      field. Spatial indexes store RTREE Split Sequence Number
      (FIL_RTREE_SPLIT_SEQ_NUM) in the same field. Both values
      can't be stored in same field. Thus, current encryption
      implementation does not support encrypting spatial indexes.
      
      fil_space_encrypt(): Do not encrypt page if page type is
      FIL_PAGE_RTREE (this is required for background
      encryption innodb-encrypt-tables=ON).
      
      create_table_info_t::check_table_options() Do not allow creating
      table with ENCRYPTED=YES if table contains spatial index.
      7b27465e
    • Alexander Barkov's avatar
  6. 07 Feb, 2017 3 commits
    • Alexey Botchkov's avatar
      MDEV-11554 innodb_gis.precise fails in buildbot on Power. · abe6aca8
      Alexey Botchkov authored
              Usual '8' turns into 7.9999999 on Power. Test case fixed.
      abe6aca8
    • Marko Mäkelä's avatar
      MDEV-11782 WIP: Support upgrade from MariaDB 10.1. · 92bbf4ad
      Marko Mäkelä authored
      recv_log_format_0_recover(): Invoke log_decrypt_after_read() after
      reading the old-format redo log buffer.
      
      With this change, we will upgrade to an encrypted redo log that
      is misleadingly carrying a MySQL 5.7.9 compatible format tag while
      the log blocks (other than the header and the checkpoint blocks)
      are in an incompatible, encrypted format.
      That needs to be fixed by introducing a new redo log format tag that
      indicates that the entire redo log is encrypted.
      92bbf4ad
    • Marko Mäkelä's avatar
      MDEV-11782 WIP: Clean up the code, and add a test. · b40a1fbc
      Marko Mäkelä authored
      LOG_CHECKPOINT_ARRAY_END, LOG_CHECKPOINT_SIZE: Remove.
      
      Change some error messages to refer to MariaDB 10.2.2 instead of
      MySQL 5.7.9.
      
      recv_find_max_checkpoint_0(): Do not abort when decrypting one of the
      checkpoint pages fails.
      b40a1fbc