1. 14 Mar, 2017 1 commit
    • Varun Gupta's avatar
      MDEV-6486: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' · adbe1c5f
      Varun Gupta authored
      failed with SELECT SQ, TEXT field
      
      The functon find_all_keys does call Item_subselect::walk, which calls walk() for the subquery
      The issue is that when a field is represented by Item_outer_ref(Item_direct_ref(Item_copy_string( ...))).
      Item_copy_string does have a pointer to an Item_field in Item_copy::item but does not implement Item::walk method, so we are not
      able to set the bitmap for that field. This is the reason why the assert fails.
      
      Fixed by adding the walk method to Item_copy class.
      adbe1c5f
  2. 13 Mar, 2017 1 commit
  3. 12 Mar, 2017 1 commit
  4. 09 Mar, 2017 1 commit
  5. 08 Mar, 2017 6 commits
  6. 06 Mar, 2017 1 commit
  7. 05 Mar, 2017 1 commit
  8. 03 Mar, 2017 1 commit
    • Marko Mäkelä's avatar
      MDEV-11520: Retry posix_fallocate() after EINTR. · 6b8173b6
      Marko Mäkelä authored
      The function posix_fallocate() as well as the Linux system call
      fallocate() can return EINTR when the operation was interrupted
      by a signal. In that case, keep retrying the operation, except
      if InnoDB shutdown has been initiated.
      6b8173b6
  9. 28 Feb, 2017 1 commit
  10. 27 Feb, 2017 23 commits
  11. 24 Feb, 2017 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-7992. · ac78927a
      Igor Babaev authored
      'Not exists' optimization can be used for nested outer joins
      only if IS NULL predicate from the WHERE condition is activated.
      So we have to check that all guards that wrap this predicate
      are in the 'open' state.
      This patch supports usage of 'Not exists' optimization for any
      outer join, no matter how it's nested in other outer joins.
      
      This patch is also considered as a proper fix for bugs
      #49322/#58490 and LP #817360.
      ac78927a
  12. 23 Feb, 2017 1 commit
  13. 22 Feb, 2017 1 commit
    • Marko Mäkelä's avatar
      MDEV-11520/MDEV-5746 post-fix: Do not posix_fallocate() too much. · 365c4e97
      Marko Mäkelä authored
      Before the MDEV-11520 fixes, fil_extend_space_to_desired_size()
      in MariaDB Server 5.5 incorrectly passed the desired file size as the
      third argument to posix_fallocate(), even though the length of the
      extension should have been passed. This looks like a regression
      that was introduced in the 5.5 version of MDEV-5746.
      365c4e97