1. 03 Oct, 2017 6 commits
    • Vladislav Vaintroub's avatar
      Fix Windows warnings : fix server_audit not to use my_win_open and Co · 47327679
      Vladislav Vaintroub authored
      functions.
      
      There is no reason to export IO this functionality from server, if it can
      be easily implemented with CRT.
      
      Note: for the sake of compatibility, we do not use _open() on Windows,
      but open file with CreateFile, with FILE_SHARE_DELETE flag,
      so it can be renamed or deleted when open. Also atomic append flag is used.
      47327679
    • Vladislav Vaintroub's avatar
      Update C/C · 35a4591e
      Vladislav Vaintroub authored
      Fixes some warnings.
      35a4591e
    • Marko Mäkelä's avatar
      MDEV-13901 Assertion `!space->stop_new_ops' failed in TRUNCATE TABLE with many indexes · b7162312
      Marko Mäkelä authored
      fil_space_extend_must_retry(): If the table is being truncated,
      do not call fil_flush_low(). The operation is covered by the
      truncate log. File extension during TRUNCATE only occurs
      if there are many indexes on the table. With smaller innodb_page_size,
      the file extension occurs already with fewer indexes on the table.
      b7162312
    • Sergei Petrunia's avatar
      Avoid using HA_POS_ERROR constant when passing around values of type double. · ebc2f0da
      Sergei Petrunia authored
      This is error-prone and causes warnings on Windows
      ebc2f0da
    • Jan Lindström's avatar
      Merge pull request #457 from smtalk/10.2 · 325e071c
      Jan Lindström authored
      wrep_sst_common and wsrep_sst_xtrabackup-v2 bugfixes to read sst parameters from configs
      325e071c
    • Marko Mäkelä's avatar
      Remove dict_disable_redo_if_temporary() · 770231f3
      Marko Mäkelä authored
      The function dict_disable_redo_if_temporary() was supposed to
      disable redo logging for temporary tables. It was invoked
      unnecessarily for two read-only operations:
      row_undo_search_clust_to_pcur() and
      dict_stats_update_transient_for_index().
      
      When a table is not temporary and not in the system tablespace,
      the tablespace should be flagged for MLOG_FILE_NAME logging.
      We do not need this overhead for temporary tables. Therefore,
      either mtr_t::set_log_mode() or mtr_t::set_named_space() should
      be invoked.
      
      dict_table_t::is_temporary(): Determine if a table is temporary.
      
      dict_table_is_temporary(): Redefined as a macro wrapper for
      dict_table_t::is_temporary().
      
      dict_disable_redo_if_temporary(): Remove.
      770231f3
  2. 02 Oct, 2017 8 commits
  3. 01 Oct, 2017 1 commit
    • Martynas Bendorius's avatar
      wrep_sst_common: Setting "-c ''" for my_print_defaults just takes no values... · 36ef89c9
      Martynas Bendorius authored
      wrep_sst_common: Setting "-c ''" for my_print_defaults just takes no values from config at all. $MY_PRINT_DEFAULTS is already set at the top of the script to have --defaults-file and --defaults-extra-file. If WSREP_SST_OPT_CONF if set to "--defaults-file=/etc/my.cnf --defaults-extra-file=/etc/my.extra.cnf", then "my_print_defaults -c "" --defaults-file=/etc/my.cnf" succeeds, but if WSREP_SST_OPT_CONF is empty - no default values are taken at all.
      wsrep_sst_xtrabackup-v2: innobackupex does not support --defaults-extra-file, so ${WSREP_SST_OPT_CONF} cannot be used as an argument, it has been changed to ${WSREP_SST_OPT_DEFAULT}. Removed --defaults-file= from INNOMOVE line, because WSREP_SST_OPT_CONF already includes it (INNOBACKUP was fine, INNOMOVE - not).
      36ef89c9
  4. 30 Sep, 2017 1 commit
  5. 29 Sep, 2017 8 commits
  6. 28 Sep, 2017 7 commits
  7. 27 Sep, 2017 9 commits