1. 03 Nov, 2019 1 commit
  2. 01 Nov, 2019 4 commits
    • Sergei Petrunia's avatar
      MDEV-17171: RocksDB Tables do not have "Creation Date" · 9c6fec88
      Sergei Petrunia authored
      - Add SLEEP() calls to the testcase to make it really test that the
        time doesn't change.
      - Always use .frm file creation time as a creation timestamp (attempts
        to re-use older create_time when the table DDL changes are not good
        because then create_time will change after server restart)
      - Use the same method names as the upstream patch does
      - Use std::atomic for m_update_time
      9c6fec88
    • Sergei Petrunia's avatar
      MDEV-17171: RocksDB Tables do not have "Creation Date" · 9c72963d
      Sergei Petrunia authored
      Variant#5 of the patch:
      - take creation date from the .frm file, like InnoDB does
      - Update_time is in-memory only (like in InnoDB).
      9c72963d
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-20938 Double free of dict_foreign_t during instant ALTER TABLE · 162f475c
      Thirunarayanan Balathandayuthapani authored
      innobase_drop_foreign_try(): Don't evict and reload the dict_foreign_t
      during instant ALTER TABLE if the FOREIGN KEY constraint is being
      dropped.
      
      The MDEV-19630 fix (commit 07b1a26c)
      was incomplete, because it did not cover a case where the
      FOREIGN KEY constraint is being dropped.
      162f475c
    • Alexey Botchkov's avatar
      MDEV-18244 Server crashes in ha_innobase::update_thd / ... /... · 6dce6aec
      Alexey Botchkov authored
      MDEV-18244 Server crashes in ha_innobase::update_thd / ... / ha_partition::update_next_auto_inc_val.
      
      Partition table with the AUTO_INCREMENT column we ahve to check if the
      max value is properly loaded. So we need to open all tables in INSERT
      PARTITION statement if necessary. Also we need to check if some
      tables are pruned away and not count the max autoincrement in this case.
      6dce6aec
  3. 31 Oct, 2019 4 commits
  4. 30 Oct, 2019 23 commits
  5. 29 Oct, 2019 6 commits
    • Sergei Golubchik's avatar
      compilation fix for Windows · 20b72a3f
      Sergei Golubchik authored
      20b72a3f
    • Eugene Kosov's avatar
      remove unused struct members · bc8a9ab5
      Eugene Kosov authored
      bc8a9ab5
    • Eugene Kosov's avatar
      Merge 5.5 into 10.1 · 9ed4d067
      Eugene Kosov authored
      9ed4d067
    • Eugene Kosov's avatar
      add .clang-format file for InnoDB · 84088d94
      Eugene Kosov authored
      84088d94
    • Marko Mäkelä's avatar
      MDEV-20917 InnoDB is passing NULL to nonnull function parameters · bef843b9
      Marko Mäkelä authored
      mem_heap_dup(): Avoid mem_heap_alloc() and memcpy() of data=NULL, len=0.
      
      trx_undo_report_insert_virtual(), trx_undo_page_report_insert(),
      trx_undo_page_report_modify(): Avoid memcpy(ptr, NULL, 0).
      
      dfield_data_is_binary_equal(): Correctly handle data=NULL, len=0.
      
      rec_init_offsets_temp(): Do allow def_val=NULL in the interface.
      
      This clean-up was motivated by WITH_UBSAN, and no bug related to this
      was observed in the wild. It should be noted that undefined behaviour
      such as memcpy(ptr, NULL, 0) could allow compilers to perform unsafe
      optimizations, like it was the case in
      commit fc168c3a (MDEV-15587).
      bef843b9
    • Marko Mäkelä's avatar
      MDEV-20917 InnoDB is passing NULL to nonnull function parameters · 81453474
      Marko Mäkelä authored
      mem_heap_dup(): Avoid mem_heap_alloc() and memcpy() of data=NULL, len=0.
      
      trx_undo_report_insert_virtual(), trx_undo_page_report_insert(),
      trx_undo_page_report_modify(): Avoid memcpy(ptr, NULL, 0).
      
      dfield_data_is_binary_equal(): Correctly handle data=NULL, len=0.
      
      This clean-up was motivated by WITH_UBSAN, and no bug related to this
      was observed in the wild. It should be noted that undefined behaviour
      such as memcpy(ptr, NULL, 0) could allow compilers to perform unsafe
      optimizations, like it was the case in
      commit fc168c3a (MDEV-15587).
      81453474
  6. 28 Oct, 2019 2 commits
    • Vladislav Vaintroub's avatar
      MDEV-20825 : Innodb does not start if GetDiskFreeSpace() fails. · 2d82ae5b
      Vladislav Vaintroub authored
      Ignore GetDiskFreeSpace() errors in os_file_get_status_win32
      The call is only used to calculate filesystem block size, and this in
      turn is only  shown in information_schema.sys_tablespaces.FS_BLOCK_SIZE.
      There is no other use of this field, it does not affect any Innodb
      functionality
      2d82ae5b
    • Marko Mäkelä's avatar
      Remove bogus advice · 2cc360bd
      Marko Mäkelä authored
      Ever since MariaDB 10.0 (and MySQL 5.6.8), the innodb_log_file_size
      and innodb_log_files_in_group can be changed between server restarts,
      and the redo log files will be resized on server startup if needed.
      2cc360bd