1. 15 Feb, 2016 5 commits
    • Sergei Golubchik's avatar
      more strict ipv6_ok check in mtr · 3889b19f
      Sergei Golubchik authored
      don't use ipv6 is the check fails for any reason. for example, an
      ancient solaris perl didn't have sockaddr_in6() in Socket at all.
      3889b19f
    • Sergei Golubchik's avatar
      fix my_gethwaddr() for solaris · 8f5030ea
      Sergei Golubchik authored
      it caused feedback plugin tests to fail
      8f5030ea
    • Sergei Golubchik's avatar
      dtrace in cmake · 95740bc5
      Sergei Golubchik authored
      1. ignore generated dtrace files
      2. don't rewrite probes_mysql_nodtrace.h in-place
      95740bc5
    • Sergei Golubchik's avatar
      better inline check · a5d9597e
      Sergei Golubchik authored
      1. check that unused inline functions are removed
      2. only allow compilation if they are or if the check if overridden
      3. with CMAKE_GENERATOR=Makefiles, use all flags when testing
         (e.g. both CMAKE_C_FLAGS and CMAKE_C_FLAGS_DEBUG if
         CMAKE_BUILD_TYPE=Debug). This is because
       - on Solaris with the SunPro compiler, default CMAKE_C_FLAGS_xxx
         values contain -xO2 (for Release and RelWithDebInfo)
         and -g (for RelWithDebInfo and Debug)
       - proper inlining only works at -xO4 without -g
       - so if CMAKE_C_FLAGS has -xO4, inlining would work in
         configure.cmake (before this fix) and fail during actual compilation
      
      also remove the outdated check for inline from myu_global.h
      a5d9597e
    • Sergei Golubchik's avatar
      compilation errors on sparc sun studio 10 · 5f078cc8
      Sergei Golubchik authored
      1. unused static inline functions are only removed at -xO4,
         otherwise test binaries will depend on various mysys
         symbols that they don't use. Link test with libmysys.
      
      2. Sphinx - don't instantiate (explicitly) templates before
         they're defined. Or, rather, don't instantiate them explicitly at
         all.
      
      3. GIS - don't use anonymous unions and structs.
      5f078cc8
  2. 14 Feb, 2016 2 commits
  3. 12 Feb, 2016 1 commit
  4. 10 Feb, 2016 2 commits
  5. 09 Feb, 2016 10 commits
  6. 08 Feb, 2016 3 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 Golubchik's avatar
      5.5.47-37.7 · 3cfd36bb
      Sergei Golubchik authored
      3cfd36bb
    • 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
  7. 06 Feb, 2016 8 commits
  8. 05 Feb, 2016 2 commits
  9. 03 Feb, 2016 2 commits
  10. 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
  11. 01 Feb, 2016 2 commits
  12. 29 Jan, 2016 2 commits