1. 03 Jan, 2018 2 commits
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2, with some MDEV-14799 fixups · d361401b
      Marko Mäkelä authored
      trx_undo_page_report_modify(): For SPATIAL INDEX, keep logging
      updated off-page columns twice, so that
      the minimum bounding rectangle (MBR) will be logged.
      Avoiding the redundant logging would require larger changes
      to the undo log format.
      
      row_build_index_entry_low(): Handle SPATIAL_UNKNOWN more robustly,
      by refusing to purge the record from the spatial index.
      We can get this code when processing old undo log from 10.2.10 or
      10.2.11 (the releases affected by MDEV-14799, which was a regression
      from MDEV-14051).
      d361401b
    • Marko Mäkelä's avatar
      MDEV-13568 gcol.innodb_virtual_debug_purge failed in buildbot with wrong result · 7a9fee98
      Marko Mäkelä authored
      The InnoDB background tasks can modify tables while LOCK TABLES...WRITE
      is in effect. The purge of InnoDB history always worked like this in
      MariaDB, but in MySQL 5.7 it sometimes yields to LOCK TABLES.
      
      Also, make gcol.innodb_virtual_index run the purge for an UPDATE
      before DROP TABLE is executed.
      7a9fee98
  2. 02 Jan, 2018 8 commits
  3. 01 Jan, 2018 5 commits
  4. 31 Dec, 2017 1 commit
  5. 30 Dec, 2017 1 commit
  6. 29 Dec, 2017 3 commits
  7. 28 Dec, 2017 7 commits
  8. 27 Dec, 2017 5 commits
    • Sergei Golubchik's avatar
      MDEV-14309 MTR tests require perl-Env which is not always in the default installation · 1300627a
      Sergei Golubchik authored
      * don't use Env module in tests, use $ENV{xxx} instead
      * collateral changes:
      ** $file in the error message was unset
      ** $file in the other error message was unset too :)
      ** source file arguments are conventionally upper-cased
      ** abort the test (die) on error, don't just echo/exit
      1300627a
    • Igor Babaev's avatar
      Fixed the bug MDEV-14755 Crash when executing prepared statement · bbb8c9d7
      Igor Babaev authored
      for a query that uses CTE
      
      The first reference to a CTE in the processed query uses the unit
      built by the parser for the CTE specification. This unit is
      considered as the specification of the derived table created for
      the first reference of the CTE. This requires some transformation of
      the original query tree: the unit of the specification must be moved
      to a new position as a slave of the select where the first reference
      to the CTE occurs. The transformation is performed by the function
      st_select_lex_node::move_as_slave(). There was an obvious bug in this
      function. As a result of this bug in many cases the moved unit turned
      out to be lost in the query tree. This could cause different problems.
      In particular the prepared statements for queries that used CTEs could
      miss cleanup for some selects that was performed at the end of the
      preparation/execution of the PSs. If such cleanup is not done for a PS
      the next execution of the PS causes an assertion abort or a crash.
      bbb8c9d7
    • Vicențiu Ciorbaru's avatar
      d1c2cd30
    • Oleksandr Byelkin's avatar
      MDEV-10657: incorrect result returned with binary protocol (prepared statements) · 462808f3
      Oleksandr Byelkin authored
      If translation table present when we materialize the derived table then
      change it to point to the materialized table.
      
      Added debug info to see really what happens with what derived.
      462808f3
    • Alexander Barkov's avatar
      MDEV-14249 Wrong character set info of Query_log_event and the query in... · 02b7dc7b
      Alexander Barkov authored
      MDEV-14249 Wrong character set info of Query_log_event and the query in Query_log_event constructed by different charsets cause error when slave apply the event.
      02b7dc7b
  9. 25 Dec, 2017 8 commits