1. 08 Feb, 2016 2 commits
    • Sergei Petrunia's avatar
      MDEV-6859: scalar subqueries in a comparison produced unexpected result · b17a4350
      Sergei Petrunia authored
      When one evaluates row-based comparison like (X, Y) = (A,B), one should
      first call bring_value() for the Item that returns row value. If you
      don't do that and just attempt to read values of X and Y, you get stale
      values.
      Semi-join/Materialization can take a row-based comparison apart and
      make ref access from it. In that case, we need to call bring_value()
      to get the index lookup components.
      b17a4350
    • Sergei Petrunia's avatar
      MDEV-7823: Server crashes in next_depth_first_tab on nested IN clauses with SQ inside · d443d70d
      Sergei Petrunia authored
      Consider a query with subquery in form t.key=(select ...). Suppose, the
      parent query uses this equality for ref access.
      It will attempt to evaluate the subquery in get_best_combination(),
      right before the join->join_tab[...] array is filled.  The problem was
      that subquery optimization will attempt to look at parent's join->join_tab
      to check how many times subquery will be executed (and crash).
      
      Fixed by not doing that when the subquery is constant (non-constant
      subqueries are only be evaluated during join execution, so they are not
      affected)
      d443d70d
  2. 06 Feb, 2016 8 commits
  3. 05 Feb, 2016 2 commits
  4. 03 Feb, 2016 2 commits
  5. 02 Feb, 2016 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-9466 : Exception handler on Windows does not output any text, · 603c0960
      Vladislav Vaintroub authored
      if mysqld runs as service
      
      The bug is caused by the attempt to write to filedescriptor 2
      (STDERR_FILENO), however in case of a service stderr has different fd
      (debugging shows fileno(stderr) is 4 after freopen, and -1 before it)
      
      Fixed definition of STDERR_FILENO for Windows to be fileno(stderr).
      603c0960
  6. 01 Feb, 2016 2 commits
  7. 29 Jan, 2016 2 commits
  8. 19 Jan, 2016 1 commit
  9. 15 Jan, 2016 1 commit
  10. 13 Jan, 2016 2 commits
  11. 12 Jan, 2016 1 commit
  12. 07 Jan, 2016 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-9298 : Build failure when linking libmysql. · 5f48b615
      Vladislav Vaintroub authored
      If GCC or CLang compile with link time optimization (-flto),
      they throw an error during link , when lto sees a
      function (e.g mysql_real_connect) is redeclared as "external void *"
      in libmysql_exports.cc
      
      The fix disables -flto for generated libmysql_exports.cc
      5f48b615
  13. 30 Dec, 2015 1 commit
  14. 29 Dec, 2015 2 commits
  15. 21 Dec, 2015 1 commit
  16. 19 Dec, 2015 5 commits
  17. 11 Dec, 2015 5 commits
  18. 10 Dec, 2015 1 commit