1. 11 Mar, 2018 1 commit
  2. 10 Mar, 2018 4 commits
    • Marko Mäkelä's avatar
      MDEV-15529 IMPORT TABLESPACE unnecessarily uses the doublewrite buffer · 112df069
      Marko Mäkelä authored
      fil_space_t::atomic_write_supported: Always set this flag for
      TEMPORARY TABLESPACE and during IMPORT TABLESPACE. The page
      writes during these operations are by definition not crash-safe
      because they are not written to the redo log.
      
      fil_space_t::use_doublewrite(): Determine if doublewrite should
      be used.
      
      buf_dblwr_update(): Add assertions, and let the caller check whether
      doublewrite buffering is desired.
      
      buf_flush_write_block_low(): Disable the doublewrite buffer for
      the temporary tablespace and for IMPORT TABLESPACE.
      
      fil_space_set_imported(), fil_node_open_file(), fil_space_create():
      Initialize or revise the space->atomic_write_supported flag.
      
      buf_page_io_complete(), buf_flush_write_complete(): Add the parameter
      dblwr, to indicate whether doublewrite was used for writes.
      
      buf_dblwr_sync_datafiles(): Remove an unnecessary flush of
      persistent tablespaces when flushing temporary tablespaces.
      (Move the call to buf_dblwr_flush_buffered_writes().)
      112df069
    • Marko Mäkelä's avatar
      MDEV-15524 Do not disable page checksums for temporary tables · 54765aaa
      Marko Mäkelä authored
      buf_flush_init_for_writing(): Remove the parameter skip_checksum.
      54765aaa
    • Marko Mäkelä's avatar
      MDEV-15524 Do not write garbage for temporary tables · 4fa18d52
      Marko Mäkelä authored
      fsp_init_file_page_low(): Always initialize the page.
      4fa18d52
    • Marko Mäkelä's avatar
      1e4cb840
  3. 08 Mar, 2018 1 commit
  4. 07 Mar, 2018 1 commit
  5. 02 Mar, 2018 1 commit
  6. 25 Feb, 2018 1 commit
    • Alexander Barkov's avatar
      MDEV-15420 Wrong result for CAST from TIME or DATETIME with zero integer part... · d0cc7a52
      Alexander Barkov authored
      MDEV-15420 Wrong result for CAST from TIME or DATETIME with zero integer part and non-zero microseconds to DECIMAL(X,Y)
      
      The loop in ull2dec() does not iterate if "from" is zero,
      so to->intg got erroneously set to 0 instead of 1.
      Because if this, my_decimal2seconds() wrote the fractional
      part into a wrong buf[x].
      
      Catching the special case with zero "from" and properly initialize "to"
      using decimal_make_zero().
      d0cc7a52
  7. 24 Feb, 2018 1 commit
  8. 22 Feb, 2018 7 commits
  9. 21 Feb, 2018 8 commits
  10. 20 Feb, 2018 3 commits
  11. 19 Feb, 2018 9 commits
  12. 18 Feb, 2018 3 commits