1. 18 May, 2017 6 commits
    • Vicențiu Ciorbaru's avatar
    • Oleksandr Byelkin's avatar
      Fixed typo in the case operator. · 648d8661
      Oleksandr Byelkin authored
      648d8661
    • Elena Stepanova's avatar
      bc622fb2
    • Marko Mäkelä's avatar
      Fix some __attribute__((nonnull)) misuse · 54bb04f7
      Marko Mäkelä authored
      This fixes warnings that were emitted when running InnoDB test
      suites on a debug server that was compiled with GCC 7.1.0 using
      the flags -O3 -fsanitize=undefined.
      
      thd_requested_durability(): XtraDB can call this with trx->mysql_thd=NULL.
      Remove the function in InnoDB, because it is not used there.
      
      calc_row_difference(): Do not call memcmp(o_ptr, NULL, 0).
      
      innobase_index_name_is_reserved(): This can be called with
      key_info=NULL, num_of_keys=0.
      
      innobase_dropping_foreign(), innobase_check_foreigns_low(),
      innobase_check_foreigns(): This can be called with
      drop_fk=NULL, n_drop_fk=0.
      
      rec_convert_dtuple_to_rec_comp(): Do not invoke memcpy(end, NULL, 0).
      54bb04f7
    • Marko Mäkelä's avatar
      ibuf_get_volume_buffered_hash(): Use a proper type cast · a436e349
      Marko Mäkelä authored
      On 64-bit systems, the constant 1 would be 32-bit (int or unsigned)
      by default. Cast the constant to ulint before shifting to avoid a
      -fsanitize=undefined warning or any potential overflow.
      a436e349
    • Marko Mäkelä's avatar
      Refactor trx_undo_report_row_operation() · 9f57e595
      Marko Mäkelä authored
      Fix a -fsanitizer=undefined warning that trx_undo_report_row_operation()
      was being passed thr=NULL when the BTR_NO_UNDO_LOG_FLAG flag was set.
      
      trx_undo_report_row_operation(): Remove the first two parameters.
      The parameter clust_entry!=NULL distinguishes inserts from updates.
      
      This should be a non-functional change (no observable change in
      behaviour; slightly smaller code).
      9f57e595
  2. 17 May, 2017 17 commits
  3. 16 May, 2017 11 commits
  4. 15 May, 2017 6 commits