1. 03 Mar, 2012 1 commit
  2. 02 Mar, 2012 3 commits
  3. 01 Mar, 2012 6 commits
    • Igor Babaev's avatar
      Merge 5.3->5.5. · fc74170a
      Igor Babaev authored
      fc74170a
    • Sergei Golubchik's avatar
      misc test/result fixes · 90696456
      Sergei Golubchik authored
      mysql-test/include/have_xtradb.combinations:
        xtradb tests need this I_S table
      mysql-test/lib/mtr_cases.pm:
        fix for .deb and .rpm installations
      90696456
    • unknown's avatar
      824f8e69
    • unknown's avatar
      Small cleanups: · a869435d
      unknown authored
       - use thd->in_active_multi_stmt_transaction() for
         @@in_transaction, not THD flag directly
       - use common error_if_in_trans_or_substatement() function for
         all 4 binlog variables that cannot be changed inside
         statement or transaction.
      a869435d
    • unknown's avatar
      c83077c6
    • Igor Babaev's avatar
      Fixed LP bug #943543. · 84575fc4
      Igor Babaev authored
      This bug appeared after the patch for bug 939009 that in the
      function merge_key_fields forgot to reset a proper value for
      the val field in the result of the merge operation of the key
      field created for a regular key access and  the key field
      created to look for a NULL key.
      
      Adjusted the results of the test case for bug 939009 that
      actually were incorrect. 
      84575fc4
  4. 29 Feb, 2012 3 commits
  5. 28 Feb, 2012 8 commits
    • Igor Babaev's avatar
      Addressed all review feedbacks for mwl #247. · 8a9a7efd
      Igor Babaev authored
      8a9a7efd
    • Vladislav Vaintroub's avatar
      Update copyright notices · e8ab8ba0
      Vladislav Vaintroub authored
      e8ab8ba0
    • Sergei Golubchik's avatar
      lp:938977 - Query performance with join/index super slow on MariaDB 5.3.4RC · 61535e34
      Sergei Golubchik authored
      make sure that stored routines are evaluated (that is, de facto - cached) in convert_const_to_int().
      revert the fix for lp:806943 because it cannot be repeated anymore.
      add few tests for convert_const_to_int()
      61535e34
    • Sergei Golubchik's avatar
      merge · 64d91d98
      Sergei Golubchik authored
      64d91d98
    • Vladislav Vaintroub's avatar
      merge threadpool · 24508404
      Vladislav Vaintroub authored
      24508404
    • Michael Widenius's avatar
      Automatic merge · 7c9a8780
      Michael Widenius authored
      7c9a8780
    • Michael Widenius's avatar
      Fixed lp:905716 "Assertion `page->size <= share->max_index_block_size'" · 8bd65762
      Michael Widenius authored
      The issue was that Aria allowed too long keys to be created (so that the internal buffer was not big enough to hold the whole key).
      Key lengths is now limited to HA_MAX_KEY_LENGTH (1000), as for MyISAM.
      Fixed failure in  "_ma_apply_redo_index: Assertion `new_page_length == 0", as found by buildbot.
      
      mysql-test/suite/maria/r/maria.result:
        Updated results
      mysql-test/suite/maria/r/maria3.result:
        Updated results. Added test for bug fix
      mysql-test/suite/maria/t/maria3.test:
        Updated results. Added test for bug fix
      mysql-test/suite/maria/t/optimize.test:
        Updated test for new max key length
      storage/maria/ha_maria.cc:
        Limit key to HA_MAX_KEY_LENGTH.
      storage/maria/ma_key_recover.c:
        Limit used page length to max page size (this is in line with the code that writes the entry to the log).
        This fixes failure in  "_ma_apply_redo_index: Assertion `new_page_length == 0", as found by buildbot.
      storage/maria/ma_search.c:
        Extra DBUG
      storage/maria/ma_write.c:
        Added test to detect errors earlier.
      8bd65762
    • Igor Babaev's avatar
      Merge. · 967770e9
      Igor Babaev authored
      967770e9
  6. 27 Feb, 2012 4 commits
  7. 26 Feb, 2012 6 commits
  8. 25 Feb, 2012 4 commits
    • Sergei Golubchik's avatar
      150d4b95
    • unknown's avatar
      Fix of LP bug:938518 (also LP bug:791761 and LP bug:806955) · 5793a020
      unknown authored
      Cause of the bug is uninitialized items before evaluation HAVING clasue in case of empty result.
      5793a020
    • Igor Babaev's avatar
      Merge. · 38ed47c4
      Igor Babaev authored
      38ed47c4
    • Igor Babaev's avatar
      Fixed LP bug #939009. · 33d8d316
      Igor Babaev authored
      The result of materialization of the right part of an IN subquery predicate
      is placed into a temporary table. Each row of the materialized table is
      distinct. A unique key over all fields of the temporary table is defined and
      created. It allows to perform key look-ups into the table.
      The table created for a materialized subquery can be accessed by key as
      any other table. The function best_access-path search for the best access
      to join a table to a given partial join. With some where conditions this
      function considers a possibility of a ref_or_null access. If such access
      employs the unique key on the temporary table then when estimating
      the cost this access the function tries to use the array rec_per_key. Yet,
      such array is not built for this unique key. This causes a crash of the server.
      
      Rows returned by the subquery that contain nulls don't have to be placed
      into temporary table, as they cannot be match any row produced by the
      left part of the subquery predicate. So all fields of the temporary table
      can be defined as non-nullable. In this case any ref_or_null access
      to the temporary table does not make any sense and it does not make sense
      to estimate such an access.
      
      The fix makes sure that the temporary table for a materialized IN subquery
      is defined with columns that are all non-nullable. The also ensures that 
      any row with nulls returned by the subquery is not placed into the
      temporary table.  
      33d8d316
  9. 24 Feb, 2012 5 commits