1. 05 Jan, 2018 4 commits
    • Igor Babaev's avatar
      Fixed mdev-14852 Fails to reopen temp table within standard CTE · 0de565a5
      Igor Babaev authored
      If the specification of a CTE contains a reference to a temporary table
      then THD::open_temporary_table() must be called for this reference for
      any occurrence of the CTE in the query. By mistake this was done only
      for the first occurrences of CTEs.
      The patch fixes this problem in With_element::clone_parsed_spec().
      It also moves there the call of check_dependencies_in_with_clauses()
      to its proper place before the call of check_table_access().
      Additionally the patch optimizes the number of calls of the
      function check_dependencies_in_with_clauses().
      0de565a5
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · 287d1053
      Marko Mäkelä authored
      287d1053
    • Marko Mäkelä's avatar
      MDEV-14059 Work around a problem exposed by InnoDB GIS debug check · 9c9db1cb
      Marko Mäkelä authored
      row_sel_get_clust_rec_for_mysql(): Look up the page from the
      buffer pool, similar to how MySQL 5.7 does it.
      9c9db1cb
    • Aleksey Midenkov's avatar
      Tests: detect table count for some encryption tests · d9e0c06b
      Aleksey Midenkov authored
      debug_key_management
      encrypt_and_grep
      innodb_encryption
      
      If real table count is different from what is expected by the test, it
      just hangs on waiting to fulfill hardcoded number. And then exits with
      **failed** after 10 minutes of wait: quite unfriendly and hard to
      figure out what's going on.
      d9e0c06b
  2. 04 Jan, 2018 8 commits
    • Marko Mäkelä's avatar
      Merge branch 10.1 into 10.2 · c8e63644
      Marko Mäkelä authored
      c8e63644
    • Marko Mäkelä's avatar
      Merge 10.0 into 10.1 · 21470de1
      Marko Mäkelä authored
      21470de1
    • Marko Mäkelä's avatar
      4496fd71
    • Marko Mäkelä's avatar
      MDEV-14057 InnoDB GIS tests fail · 8dc77a72
      Marko Mäkelä authored
      Fix and enable some of the tests; some remain disabled.
      
      The tests innodb_gis.rtree_old and innodb_gis.row_format
      duplicated some versions of the test main.gis-rtree.
      Instead of duplicating, source that test, in a new test
      innodb_gis.innodb_gis_rtree.
      
      Introduce innodb_row_format.combinations. Due to this,
      ROW_FORMAT=COMPRESSED will not be covered in some tests
      where it is covered in MySQL 5.7.
      8dc77a72
    • Marko Mäkelä's avatar
      MDEV-14058 InnoDB Assertion failure !leaf on rem0rec.cc line 566 on test innodb_gis.rtree_recovery · 218dbf68
      Marko Mäkelä authored
      The function rtr_update_mbr_field_in_place() is generating
      MLOG_REC_UPDATE_IN_PLACE or MLOG_COMP_REC_UPDATE_IN_PLACE records
      on non-leaf pages, even though MLOG_WRITE_STRING would perfectly
      suffice for updating a fixed-length data field.
      
      btr_cur_parse_update_in_place(): If flags==7, the record may be
      from rtr_update_mbr_field_in_place(), and we must check if the
      page is a leaf page. Otherwise, assume that it is.
      
      btr_cur_update_in_place(): Assert that the page is a leaf page.
      218dbf68
    • Daniel Bartholomew's avatar
      bump the VERSION · 0f253d3e
      Daniel Bartholomew authored
      0f253d3e
    • Monty's avatar
      Fixed wrong arguments to printf and related functions · 5e0b13d1
      Monty authored
      Other things, mainly to get
      create_mysqld_error_find_printf_error tool to work:
      
      - Added protection to not include mysqld_error.h twice
      - Include "unireg.h" instead of "mysqld_error.h" in server
      - Added protection if ER_XX messages are already defined
      - Removed wrong calls to my_error(ER_OUTOFMEMORY) as
        my_malloc() and my_alloc will do this automatically
      - Added missing %s to ER_DUP_QUERY_NAME
      - Removed old and wrong calls to my_strerror() when using
        MY_ERROR_ON_RENAME (wrong merge)
      - Fixed deadlock error message from Galera. Before the extra
        information given to ER_LOCK_DEADLOCK was missing because
        ER_LOCK_DEADLOCK doesn't provide any extra information.
      
      I kept #ifdef mysqld_error_find_printf_error_used in sql_acl.h
      to make it easy to do this kind of check again in the future
      5e0b13d1
    • Sergei Petrunia's avatar
      Fix out-of-date comments. · c584a496
      Sergei Petrunia authored
      c584a496
  3. 03 Jan, 2018 7 commits
  4. 02 Jan, 2018 8 commits
  5. 01 Jan, 2018 5 commits
  6. 31 Dec, 2017 1 commit
  7. 30 Dec, 2017 1 commit
  8. 29 Dec, 2017 3 commits
  9. 28 Dec, 2017 3 commits