1. 09 Nov, 2018 2 commits
    • Jan Lindström's avatar
      MDEV-17379: galera_new_cluster throws error in 10.3.10 · 781f1a76
      Jan Lindström authored
      Use exit instead of return.
      781f1a76
    • Alexander Barkov's avatar
      MDEV-17387 MariaDB Server giving wrong error while executing select query from procedure · 3074beaa
      Alexander Barkov authored
      Changing the way how a cursor is opened to fetch its structure only,
      e.g. for a cursor FOR loop record variable.
      
      The old methods with setting thd->lex->limit_rows_examined to an Item_uint(0)
      was not reliable and could push these messages into diagnostics area:
      
        The query examined at least 1 rows, which exceeds LIMIT ROWS EXAMINED (0)
      
      The new method should be more reliable, as it completely prevents the call
      of do_select() in JOIN::exec_inner() during the cursor structure discovery,
      so the execution of the cursor SELECT query returns immediately after the
      preparation step (when the result row structure becomes known),
      without even entering the code that fetches the result rows.
      3074beaa
  2. 08 Nov, 2018 4 commits
  3. 07 Nov, 2018 11 commits
  4. 06 Nov, 2018 11 commits
  5. 05 Nov, 2018 9 commits
  6. 04 Nov, 2018 1 commit
    • Sergei Golubchik's avatar
      MDEV-17349 Assertion `!table || (!table->read_set ||... · af9649c7
      Sergei Golubchik authored
      MDEV-17349 Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed on concurrent SELECT and DELETE after RENAME from table with index on virtual column
      
      Race condition. field->flags were copied from s->field->flags during
      field->clone(), early in open_table_from_share(). But s->field->flags
      were getting their PART_INDIRECT_KEY_FLAG bit much later in
      TABLE::mark_columns_used_by_virtual_fields() and only once per share.
      
      If two threads were executing the code between field->clone()
      and mark_columns_used_by_virtual_fields() at the same time, only
      one would get PART_INDIRECT_KEY_FLAG bits in field[].
      af9649c7
  7. 03 Nov, 2018 1 commit
  8. 02 Nov, 2018 1 commit