1. 15 Sep, 2017 7 commits
  2. 14 Sep, 2017 7 commits
  3. 13 Sep, 2017 6 commits
    • Marko Mäkelä's avatar
      Clean up the logging of virtual column values in table-rebuilding online ALTER · f5a833c3
      Marko Mäkelä authored
      In online table-rebuilding ALTER TABLE (LOCK=NONE), virtual column values
      are being written to the online_log. WL#8149 in MySQL 5.7 changed some
      low-level functions that are also being used outside row0log.cc, causing
      performance penalty to other code.
      
      We revert those changes, and introduce separate functions for writing
      the virtual column values.
      
      The only functional change should be the one that is mentioned in
      MDEV-13795: row_log_table_low_redundant() will no longer write
      virtual column values along with old_pk, just like row_log_table_low().
      
      As noted in MDEV-13795, some forms of table-rebuilding ALTER with
      virtual columns is broken. At least DROP PRIMARY KEY, ADD PRIMARY KEY
      is broken.
      
      rec_get_converted_size_temp(), rec_convert_dtuple_to_temp():
      Remove the parameter for passing virtual column values.
      
      rec_get_converted_size_temp_v(), rec_convert_dtuple_to_temp_v():
      New functions for appending virtual column values to the online_log.
      
      rec_get_converted_size_comp_prefix_low(),
      rec_convert_dtuple_to_rec_comp(): Remove the v_entry parameter,
      and do not allow n_fields=0.
      f5a833c3
    • Marko Mäkelä's avatar
      Remove the debug variables innodb_purge_stop_now, innodb_purge_run_now · 24062fed
      Marko Mäkelä authored
      The InnoDB purge subsystem can be best stopped by opening a read view,
      for example by START TRANSACTION WITH CONSISTENT SNAPSHOT.
      
      To ensure that everything is purged, use wait_all_purged.inc,
      which waits for the History list length in SHOW ENGINE INNODB STATUS
      to reach 0. Setting innodb_purge_run_now never guaranteed this.
      24062fed
    • Marko Mäkelä's avatar
      Do not require a debug non-embedded server in the test · d06e4fc6
      Marko Mäkelä authored
      This also avoids hitting the hang at server shutdown.
      That hang should be fixed, of course.
      d06e4fc6
    • Marko Mäkelä's avatar
      Return uint16_t instead of ulint · dd35fb35
      Marko Mäkelä authored
      dd35fb35
    • Alexander Barkov's avatar
    • Alexey Botchkov's avatar
      MDEV-13633 JSON_ARRAY() - bad output with some UTF8 characters. · dc82f70e
      Alexey Botchkov authored
              set_charset() calls added for Item_func_json_arran
              and Item_func_json_object::val_str-s.
      dc82f70e
  4. 12 Sep, 2017 13 commits
  5. 11 Sep, 2017 1 commit
  6. 08 Sep, 2017 5 commits
  7. 07 Sep, 2017 1 commit