1. 23 Aug, 2007 3 commits
    • gshchepa/uchum@gleb.loc's avatar
      Fixed bug #30396. · 4a7fdf86
      gshchepa/uchum@gleb.loc authored
      Recommit to 5.1.22.
      The bug caused memory corruption for some queries with top OR level
      in the WHERE condition if they contained equality predicates and 
      other sargable predicates in disjunctive parts of the condition.
      
      The corruption happened because the upper bound of the memory
      allocated for KEY_FIELD and SARGABLE_PARAM internal structures
      containing info about potential lookup keys was calculated incorrectly
      in some cases. In particular it was calculated incorrectly when the
      WHERE condition was an OR formula with disjuncts being AND formulas
      including equalities and other sargable predicates.
      4a7fdf86
    • gshchepa/uchum@gleb.loc's avatar
      Fixed bug #30201. · 6e76e82e
      gshchepa/uchum@gleb.loc authored
      Recommit to 5.1.22.
      Killing a SELECT query with KILL QUERY or KILL CONNECTION
      causes a server crash if the query cache is enabled.
      
      Normal evaluation of a query may be interrupted by the
      KILL QUERY/CONNECTION statement, in this case the mysql_execute_command
      function returns TRUE, and the thd->killed flag has true value.
      In this case the result of the query may
      be cached incompletely (omitting call to query_cache_insert inside
      the net_real_write function), and next call to query_cache_end_of_result
      may lead to server crash.
      Thus, the query_cache_end_of_result function has been modified to abort
      query cache in the case of killed thread.
      6e76e82e
    • gshchepa/uchum@gleb.loc's avatar
      Fixed bug #30287. · e543c743
      gshchepa/uchum@gleb.loc authored
      Recommit to 5.1.22.
      The server created temporary tables for filesort in the working directory
      instead of the specified tmpdir directory.
      e543c743
  2. 22 Aug, 2007 3 commits
  3. 21 Aug, 2007 1 commit
  4. 20 Aug, 2007 1 commit
  5. 16 Aug, 2007 4 commits
  6. 14 Aug, 2007 3 commits
  7. 13 Aug, 2007 2 commits
  8. 11 Aug, 2007 1 commit
  9. 10 Aug, 2007 1 commit
  10. 09 Aug, 2007 5 commits
  11. 08 Aug, 2007 7 commits
  12. 07 Aug, 2007 4 commits
  13. 06 Aug, 2007 5 commits