1. 15 Jul, 2017 2 commits
    • Daniel Black's avatar
      ma_recovery: unintentional order of operations · ec4e3955
      Daniel Black authored
      Coverity report this as:
      CID 971840 (#1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
      result_independent_of_operands: 4 | (flags & 1) is always true regardless of the values of its operands. This occurs as the logical first operand of "?:".
      
      The C order of precidence has | of higher precidence than ?:. The
      intenting implies an | of the 3 terms.
      
      Adjust to intented meaning.
      ec4e3955
    • Sergei Golubchik's avatar
      MDEV-12144 Signal 6 crash corrupts ibd files · 0375f2e2
      Sergei Golubchik authored
      Avoid using STDERR_FILENO. The server uses freopen(stderr),
      so stderr can be on any file descriptor.
      0375f2e2
  2. 14 Jul, 2017 1 commit
    • Daniel Black's avatar
      client: mysql - fix type · 7338d3f2
      Daniel Black authored
      field_names[x][y] is a pointer
      
      client/mysql.cc: In function 'void build_completion_hash(bool, bool)':
      client/mysql.cc:2855:37: error: invalid conversion from 'char' to 'char*' [-fpermissive]
             field_names[i][num_fields*2]= '\0';
      Signed-off-by: default avatarDaniel Black <daniel.black@au.ibm.com>
      7338d3f2
  3. 13 Jul, 2017 1 commit
  4. 12 Jul, 2017 7 commits
  5. 06 Jul, 2017 1 commit
  6. 05 Jul, 2017 1 commit
  7. 04 Jul, 2017 1 commit
  8. 03 Jul, 2017 6 commits
  9. 29 Jun, 2017 1 commit
  10. 27 Jun, 2017 2 commits
  11. 19 Jun, 2017 1 commit
  12. 18 Jun, 2017 3 commits
  13. 14 Jun, 2017 4 commits
  14. 08 Jun, 2017 1 commit
    • Igor Babaev's avatar
      Fixed the bug mdev-12855. · b850fc66
      Igor Babaev authored
      This is actually a legacy bug:
      SQL_SELECT::test_quick_select() was called
      with SQL_SELECT::head not set.
      It looks like that this problem can be
      reproduced only on queries with ORDER BY
      that use IN predicates converted to semi-joins.
      b850fc66
  15. 07 Jun, 2017 2 commits
    • Igor Babaev's avatar
      Fixed the bug mdev-12963. · 151f4e9b
      Igor Babaev authored
      This patch corrects the fix for bug mdev-7599.
      When the min/max optimization of the function
      opt_sum_query() optimizes away all tables of
      a subquery it should not ever be rolled back.
      151f4e9b
    • Igor Babaev's avatar
      Fixed the bug mdev-12838. · c258ca24
      Igor Babaev authored
      If the optimizer chose an execution plan where
      a semi-join nest were materialized and the
      result of materialization was scanned to access
      other tables by ref access it could build a key
      over columns of the tables from the nest that
      were actually inaccessible.
      The patch performs a proper check whether a key
      that uses columns of the tables from a materialized
      semi-join nest can be employed to access outer tables.
      c258ca24
  16. 29 May, 2017 1 commit
  17. 23 May, 2017 1 commit
  18. 19 May, 2017 1 commit
  19. 18 May, 2017 2 commits
    • Oleksandr Byelkin's avatar
      Make IF clear. · 4a846e01
      Oleksandr Byelkin authored
      4a846e01
    • Sachin Setiya's avatar
      MDEV-11092 Assertion `!writer.checksum_len || writer.remains == 0' failed · b5cdf014
      Sachin Setiya authored
      Problem:-
      This crash happens because logged stmt is quite big and while writing
      Annotate_rows_log_event it throws EFBIG error  but we ignore this error
      and do not call cache_data->set_incident().
      
      Solution:-
      When we normally write Binlog_log_event we check for error EFBIG, but we did
      do this for Annotate_rows_log_event. We check for this error and call
      cache_data->set_incident() accordingly.
      
      # Conflicts:
      #	sql/log.cc
      b5cdf014
  20. 17 May, 2017 1 commit
    • Igor Babaev's avatar
      Fixed the bug mdev-12812. · efb9f261
      Igor Babaev authored
      This is another correction of the patch for bug mdev-12670.
      If a derived table is merged into a select with STRAIGHT_JOIN
      modifier all IN subquery predicates contained in the
      specification of the derived table cannot be subject to
      conversion to semi-joins.
      efb9f261