1. 01 Nov, 2019 1 commit
    • 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
  2. 31 Oct, 2019 4 commits
  3. 30 Oct, 2019 23 commits
  4. 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
  5. 28 Oct, 2019 6 commits