1. 25 Jun, 2012 1 commit
  2. 24 Jun, 2012 1 commit
  3. 23 Jun, 2012 3 commits
  4. 22 Jun, 2012 2 commits
  5. 21 Jun, 2012 7 commits
  6. 20 Jun, 2012 7 commits
  7. 19 Jun, 2012 2 commits
    • unknown's avatar
      Merged the fix for bug lp:944706, mdev-193 · 29c3a273
      unknown authored
      29c3a273
    • Igor Babaev's avatar
      Fixed bug mdev-354. · 76667ce6
      Igor Babaev authored
      Virtual columns of ENUM and SET data types were not supported properly
      in the original patch that introduced virtual columns into MariaDB 5.2.
      The problem was that for any  virtual column the patch used the 
      interval_id field of the definition of the column in the frm file as
      a reference to the virtual column expression.
      The fix stores the optional interval_id of the virtual column in the
      extended header of the virtual column expression. 
      76667ce6
  8. 18 Jun, 2012 5 commits
  9. 17 Jun, 2012 1 commit
  10. 16 Jun, 2012 2 commits
  11. 15 Jun, 2012 9 commits
    • Vladislav Vaintroub's avatar
      merge · e0732913
      Vladislav Vaintroub authored
      e0732913
    • Sergei Golubchik's avatar
      MDEV-316 lp:1009085 Assertion failed: warn_item, file item_cmpfunc.cc, line 3613 · 98ae55aa
      Sergei Golubchik authored
      make sure that find_date_time_item() is called before agg_arg_charsets_for_comparison().
      optimize Item_func_conv_charset to avoid conversion if no string result is needed
      98ae55aa
    • Vladislav Vaintroub's avatar
      MDEV-339, LP1001340 - system_time_zone is wrong on Windows · d319ae01
      Vladislav Vaintroub authored
      On localized Windows versions, Windows uses localized time zone names and contain non-ASCII characters.  non-ASCII characters appear broken when displayed by clients
      The fix is to declare system_time_zone variable to have UTF8 encoding and to convert tzname to UTF8.
      d319ae01
    • Sergei Golubchik's avatar
      merged with XtraDB 1.1.8-26.0 · 4e94e431
      Sergei Golubchik authored
      4e94e431
    • Michael Widenius's avatar
      Automatic merge · c73df610
      Michael Widenius authored
      c73df610
    • Michael Widenius's avatar
      Removed one variable from the test output that was depending on timing. · 63422883
      Michael Widenius authored
      mysql-test/suite/sphinx/sphinx.result:
        Removed sphinx_time, as it was depending on timing.
      mysql-test/suite/sphinx/sphinx.test:
        Removed sphinx_time, as it was depending on timing.
      63422883
    • Michael Widenius's avatar
      Fix for: lp:1013432 and MySQL#64800: · 3312e2f6
      Michael Widenius authored
      mysqldump with --include-master-host-port putting quotes around port number
      Patch from Stewart Smith
      
      client/mysqldump.c:
        Remove quotes from MASTER_PORT
      3312e2f6
    • Michael Widenius's avatar
      Fixed MDEV-306 / LP:1007967 - Assertion `table->file->stats.records > 0 ||... · 4524db23
      Michael Widenius authored
      Fixed MDEV-306 / LP:1007967 - Assertion `table->file->stats.records > 0 || error' failed join_read_const_table on concurrent SELECT and DROP/ADD INDEX
      
      
      sql/sql_table.cc:
        Added comment
      storage/maria/ma_close.c:
        Don't store history if it's visible to all.
        This fixed the MDEV-306 bug
      storage/maria/ma_delete_table.c:
        Removed old comment
        Delete history state for deleted tables
      storage/maria/ma_info.c:
        More DBUG_PRINT
      storage/maria/ma_open.c:
        More DBUG_PRINT
      4524db23
    • unknown's avatar
      Fix bug lp:1008686 · 34909431
      unknown authored
      Analysis:
      The fix for bug lp:985667 implements the method Item_subselect::no_rows_in_result()
      for all main kinds of subqueries. The purpose of this method is to be called from
      return_zero_rows() and set Items to some default value in the case when a query
      returns no rows. Aggregates and subqueries require special treatment in this case.
      
      Every implementation of Item_subselect::no_rows_in_result() called
      Item_subselect::make_const() to set the subquery predicate to its default value
      irrespective of where the predicate was located in the query. Once the predicate
      was set to a constant it was never executed.
      
      At the same time, the JOIN object of the fake select for UNIONs (the one used for
      the final result of the UNION), was set after all subqueries in the union were
      executed. Since we set the subquery as constant, it was never executed, and the
      corresponding JOIN was never created.
      
      In order to decide whether the result of NOT IN is NULL or FALSE, Item_in_optimizer
      needs to check if the subquery result was empty or not. This is where we got the
      crash, because subselect_union_engine::no_rows() checks for
      unit->fake_select_lex->join->send_records, and the join object was NULL.
      
      Solution:
      If a subquery is in the HAVING clause it must be evaluated in order to know its
      result, so that we can properly filter the result records. Once subqueries in the
      HAVING clause are executed even in the case of no result rows, this specific
      crash will be solved, because the UNION will be executed, and its JOIN will be
      constructed. Therefore the fix for this crash is to narrow the fix for lp:985667,
      and to apply Item_subselect::no_rows_in_result() only when the subquery predicate
      is in the SELECT clause.
      34909431