1. 05 Mar, 2012 3 commits
  2. 03 Mar, 2012 3 commits
  3. 02 Mar, 2012 3 commits
  4. 01 Mar, 2012 6 commits
    • Igor Babaev's avatar
      Merge 5.3->5.5. · 8b469eb5
      Igor Babaev authored
      8b469eb5
    • Sergei Golubchik's avatar
      misc test/result fixes · 29b0b0b5
      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
      29b0b0b5
    • unknown's avatar
      acd7727e
    • unknown's avatar
      Small cleanups: · 118e437d
      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.
      118e437d
    • unknown's avatar
      22a504f8
    • Igor Babaev's avatar
      Fixed LP bug #943543. · 000deedf
      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. 
      000deedf
  5. 29 Feb, 2012 3 commits
  6. 28 Feb, 2012 8 commits
    • Igor Babaev's avatar
      Addressed all review feedbacks for mwl #247. · 2521ac0c
      Igor Babaev authored
      2521ac0c
    • Vladislav Vaintroub's avatar
      Update copyright notices · 4e8bb265
      Vladislav Vaintroub authored
      4e8bb265
    • Sergei Golubchik's avatar
      lp:938977 - Query performance with join/index super slow on MariaDB 5.3.4RC · 54f9fe6c
      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()
      54f9fe6c
    • Sergei Golubchik's avatar
      merge · 45faabf4
      Sergei Golubchik authored
      45faabf4
    • Vladislav Vaintroub's avatar
      merge threadpool · ec89275d
      Vladislav Vaintroub authored
      ec89275d
    • Michael Widenius's avatar
      Automatic merge · adf3deda
      Michael Widenius authored
      adf3deda
    • Michael Widenius's avatar
      Fixed lp:905716 "Assertion `page->size <= share->max_index_block_size'" · cf06b29f
      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.
      cf06b29f
    • Igor Babaev's avatar
      Merge. · 9db23c82
      Igor Babaev authored
      9db23c82
  7. 27 Feb, 2012 4 commits
  8. 26 Feb, 2012 6 commits
  9. 25 Feb, 2012 4 commits
    • Sergei Golubchik's avatar
      1df16a17
    • unknown's avatar
      Fix of LP bug:938518 (also LP bug:791761 and LP bug:806955) · 6a72fbe3
      unknown authored
      Cause of the bug is uninitialized items before evaluation HAVING clasue in case of empty result.
      6a72fbe3
    • Igor Babaev's avatar
      Merge. · b161b2e1
      Igor Babaev authored
      b161b2e1
    • Igor Babaev's avatar
      Fixed LP bug #939009. · 841a74a4
      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.  
      841a74a4