1. 13 May, 2015 17 commits
  2. 12 May, 2015 2 commits
    • Nirbhay Choubey's avatar
      MDEV-8151 : wsrep.foreign_key, wsrep.pool_of_threads, · c8ad5b2f
      Nirbhay Choubey authored
      .. wsrep.binlog_format, wsrep.mdev_6832 fail in buildbot
      
      Galera-3.9 logs an additional warning in the error log if
      it fails to find gvwstate.dat file. Update wsrep/suite.pm.
      c8ad5b2f
    • Alexey Botchkov's avatar
      MDEV-7926 Server crashes in get_geometry_column_record on concurrent SELECT... · 8c54182e
      Alexey Botchkov authored
      MDEV-7926 Server crashes in get_geometry_column_record on concurrent SELECT FROM I_S.GEOMETRY_COLUMNS with join and DDL.
               The bug was that open_tables() returned error in case of
              thd->killed() without properly calling thd->send_kill_message()
              to set the correct error. This was fixed already in get_schema_column_record,
              so the code was just copied to get_geometry_column_record.
      8c54182e
  3. 11 May, 2015 4 commits
    • Jan Lindström's avatar
      MDEV-7942: InnoDB: abuse of UNIV_LIKELY()/UNIV_UNLIKELY() · 58e8db2e
      Jan Lindström authored
      UNIV_LIKELY()/UNIV_UNLIKELY() hints are supposed to improve branch prediction.
      Currently, they're expected to work only if cond evaluates to TRUE or FALSE.
      
      However there're a few conditions that may evaluate to different values, e.g.:
      
      page/page0zip.cc:		if (UNIV_LIKELY(c_stream->avail_in)) {
      page/page0zip.cc:			if (UNIV_LIKELY(c_stream->avail_in)) {
      dict/dict0mem.cc:		if (UNIV_LIKELY(i) && UNIV_UNLIKELY(!table->col_names)) {
      
      Fixed these conditions so that they evaluate TRUE/FALSE.
      58e8db2e
    • Kristian Nielsen's avatar
      6e492016
    • Kristian Nielsen's avatar
      MDEV-8113: Parallel slave: slave hangs on ALTER TABLE (or other DDL) as the... · 8bedb638
      Kristian Nielsen authored
      MDEV-8113: Parallel slave: slave hangs on ALTER TABLE (or other DDL) as the first event after slave start
      
      In optimistic parallel replication, it is not safe to try to run a following
      transaction in parallel with a DDL statement, and there is code to prevent
      this.
      
      However, the code was missing the case where the DDL is the very first event
      after slave start. In this case, following transactions could run in
      parallel with the DDL, which can cause the slave to hang or even corrupt
      slave in unlucky cases.
      8bedb638
    • Jan Lindström's avatar
      MDEV-8129: Compilation warnings in log0crypt.cc · ecfc3de5
      Jan Lindström authored
      Fix incorrect types and compiler warnings.
      ecfc3de5
  4. 09 May, 2015 2 commits
  5. 08 May, 2015 2 commits
  6. 07 May, 2015 4 commits
  7. 06 May, 2015 5 commits
  8. 05 May, 2015 1 commit
    • Alexander Barkov's avatar
      - Moving Item_func_spatial_mbr_rel from Item_bool_func2 to Item_bool_func, · 539b3ca8
      Alexander Barkov authored
        as Item_func_spatial_mbr_rel needs nothing from Item_bool_func2.
      - Renaming Item_func_spacial_rel (the class that implements precise spacial
        relations) to Item_func_spatial_precise_rel
      - Adding a new abstract class Item_func_spatial_rel as a common parent
        for Item_func_spatial_precise_rel and Item_func_spatial_mbr_rel.
      539b3ca8
  9. 04 May, 2015 3 commits
    • Alexander Barkov's avatar
      MDEV-7950 Item_func::type() takes 0.26% in OLTP RO · 2fe4d0e6
      Alexander Barkov authored
      Step #3: Splitting the function check_equality() into a method in Item.
      Implementing Item::check_equality() and Item_func_eq::check_equality().
      Implement Item_func_eq::build_equal_items() in addition to
      Item_func::build_equal_items() and moving the call for check_equality()
      from Item_func::build_equal_items() to Item_func_eq::build_equal_items().
      2fe4d0e6
    • Alexander Barkov's avatar
      Adding a test for Item_default_value in WHERE condition: · 9090c3ef
      Alexander Barkov authored
        WHERE DEFAULT(col)
      It seems this was not covered yet.
      9090c3ef
    • Alexander Barkov's avatar
      MDEV-7950 Item_func::type() takes 0.26% in OLTP RO · 462bca36
      Alexander Barkov authored
      Step 2c:
      
      After discussion with Igor, it appeared that Item_field and Item_ref
      could not appear in this context in the old function build_equal_item_for_cond:
      
        else if (cond->type() == Item::FUNC_ITEM ||
                 cond->real_item()->type() == Item::FIELD_ITEM)
      
      The part of the condition checking for Item_field::FIELD_ITEM was a dead code.
      - Moving implementation of Item_ident_or_func_or_sum::build_equal_items()
      to Item_func::build_equal_items()
      - Restoring deriving of Item_ident and Item_sum_or_func from Item_result_field.
        Removing Item_ident_or_func_or_sum.
      462bca36