1. 17 Nov, 2017 2 commits
    • Michael Widenius's avatar
      Remove mark_check_constraint_columns from delete · cf5e193d
      Michael Widenius authored
      - We don't check constraints when doing delete
      cf5e193d
    • Michael Widenius's avatar
      Handle failures from malloc · 87933d52
      Michael Widenius authored
      Most "new" failures fixed in the following files:
      - sql_select.cc
      - item.cc
      - item_func.cc
      - opt_subselect.cc
      
      Other things:
      - Allocate udf_handler strings in mem_root
        - Required changes in sql_string.h
      - Add mem_root as argument to some new [] calls
      - Mark udf_handler strings as thread specific
      - Removed some comment blocks with code
      87933d52
  2. 16 Nov, 2017 2 commits
  3. 15 Nov, 2017 2 commits
  4. 13 Nov, 2017 1 commit
    • Marko Mäkelä's avatar
      MDEV-14378 In ALGORITHM=INPLACE, use a common name for the intermediate tables or partitions · e94c9d24
      Marko Mäkelä authored
      Allow DROP TABLE `#mysql50##sql-...._.` to drop tables that were
      being rebuilt by ALGORITHM=INPLACE
      
      NOTE: If the server is killed after the table-rebuilding ALGORITHM=INPLACE
      commits inside InnoDB but before the .frm file has been replaced, then
      the recovery will involve something else than DROP TABLE.
      
      NOTE: If the server is killed in a true inplace ALTER TABLE commits
      inside InnoDB but before the .frm file has been replaced, then we
      are really out of luck. To properly handle that situation, we would
      need a transactional mysql.ddl_fixup table that directs recovery to
      rename or remove files.
      
      prepare_inplace_alter_table_dict(): Use the altered_table->s->table_name
      for generating the new_table_name.
      
      table_name_t::part_suffix: The start of the partition name suffix.
      
      table_name_t::dbend(): Return the end of the schema name.
      
      table_name_t::dblen(): Return the length of the schema name, in bytes.
      
      table_name_t::basename(): Return the name without the schema name.
      
      table_name_t::part(): Return the partition name, or NULL if none.
      
      row_drop_table_for_mysql(): Assert for #sql, not #sql-ib.
      e94c9d24
  5. 10 Nov, 2017 8 commits
  6. 09 Nov, 2017 11 commits
  7. 08 Nov, 2017 3 commits
  8. 07 Nov, 2017 8 commits
  9. 06 Nov, 2017 3 commits