1. 15 Jul, 2019 1 commit
  2. 14 Jul, 2019 1 commit
  3. 12 Jul, 2019 1 commit
    • Jan Lindström's avatar
      Simplified slave thread creation. · 0dc843b9
      Jan Lindström authored
      Changes
      -- Added force-restart option for mtr to always restart servers between tests
      -- Added wait_condition_with_debug to wait until the passed statement returns true, or the operation times out. If operation times out, the additional error statement will be executed
      -- Rewritten MW-336 test case
      0dc843b9
  4. 11 Jul, 2019 2 commits
    • Jan Lindström's avatar
      Fix test problems. · 62ccfab1
      Jan Lindström authored
      Changes to be committed:
      	modified:   suite/galera/r/MW-336.result
      	modified:   suite/galera/t/MW-336.test
      	modified:   suite/wsrep/t/variables.test
      62ccfab1
    • Jan Lindström's avatar
      MDEV-19746: Galera test failures because of wsrep_slave_threads identification · 8ec8a651
      Jan Lindström authored
      Problem was that tests select INFORMATION_SCHEMA.PROCESSLIST processes
      from user system user and certain state. However, state could be unexpected.
      
      Added new status variables that store current amount of applier threads
      (wsrep_applier_thread_count) and rollbacker threads
      (wsrep_rollbacker_thread_count). This will make clear how many slave threads
      of certain type there is. Additionally, added THD state "wsrep applier idle"
      when applier slave thread is waiting for work.
      
      Modified tests to use wsrep_applier_thread_count when waiting slave threads
      to start.
      
      Changes to be committed:
      	modified:   mysql-test/suite/galera/disabled.def
      	modified:   mysql-test/suite/galera/r/MW-336.result
      	modified:   mysql-test/suite/galera/r/galera_var_slave_threads.result
      	modified:   mysql-test/suite/galera/t/MW-336.test
      	modified:   mysql-test/suite/galera/t/galera_kill_applier.test
      	modified:   mysql-test/suite/galera/t/galera_parallel_autoinc_largetrx.test
      	modified:   mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
      	modified:   mysql-test/suite/galera/t/galera_var_slave_threads.test
      	modified:   mysql-test/suite/wsrep/disabled.def
      	modified:   mysql-test/suite/wsrep/r/variables.result
      	modified:   mysql-test/suite/wsrep/t/variables.test
      	modified:   sql/wsrep_mysqld.cc
      	modified:   sql/wsrep_mysqld.h
      	modified:   sql/wsrep_thd.cc
      	modified:   sql/wsrep_var.cc
      8ec8a651
  5. 10 Jul, 2019 1 commit
    • Jan Lindström's avatar
      Galera test fixes. · 01d3e392
      Jan Lindström authored
      Changes to be committed:
      	modified:   suite/galera/r/galera_kill_ddl.result
      	modified:   suite/galera/r/galera_sync_wait_show.result
      	modified:   suite/galera/t/galera_kill_ddl.test
      01d3e392
  6. 09 Jul, 2019 5 commits
    • Eugene Kosov's avatar
      post-merge fixes · 46c9268b
      Eugene Kosov authored
      rebuild galera.galera_as_slave_gtid and multi_source.mdev-8874
      46c9268b
    • Eugene Kosov's avatar
      fix clang warnings · 4f1e4aa2
      Eugene Kosov authored
      4f1e4aa2
    • Eugene Kosov's avatar
      Merge 10.1 into 10.2 · 26c389b7
      Eugene Kosov authored
      26c389b7
    • Jan Lindström's avatar
      Galera test adjustments. · b9557418
      Jan Lindström authored
      Changes to be committed:
      	modified:   ../galera/disabled.def
      	modified:   ../galera/r/GAL-419.result
      	modified:   ../galera/t/GAL-419.test
      	modified:   ../galera/t/galera_ist_innodb_flush_logs.test
      	modified:   ../galera/t/galera_ist_mariabackup_innodb_flush_logs.test
      b9557418
    • Varun Gupta's avatar
      MDEV-17963: Assertion `field_pos < field_count' failed in... · fd08f953
      Varun Gupta authored
      MDEV-17963: Assertion `field_pos < field_count' failed in Protocol_text::store, Assertion `field_handlers == 0 || field_pos < field_count'
      
      The problem was that sp_head::MULTI_RESULTS was not set correctly for ANALYZE statement
      with SELECT ... INTO variable.
      This is a follow up fix for MDEV-7023
      fd08f953
  7. 08 Jul, 2019 4 commits
  8. 07 Jul, 2019 1 commit
  9. 06 Jul, 2019 1 commit
  10. 05 Jul, 2019 7 commits
    • Eugene Kosov's avatar
      MDEV-19292 "Row size too large" error when creating table with lots columns... · 5ebef422
      Eugene Kosov authored
      MDEV-19292 "Row size too large" error when creating table with lots columns when row format is DYNAMIC or COMPRESSED
      
      Basic idea of the patch: disallow creating tables which allow to create
      rows which are too big to insert. In other words, if user created a table user
      should never see an errors like 'can not insert row as it is too big for current
      page size'.
      
      SET innodb_strict_mode=OFF; will allow to create very long tables and only a
      warning will be issued.
      
      dict_table_t::get_overflow_field_local_len(): this function lets know a maximum
      local field len for overflow fields for every file and row format.
      
      innobase_check_column_length(): improve name to too_big_key_part_length()
      and reuse in a different part of code.
      
      create_table_info_t::prepare_create_table(): add check for maximum allowed
      key part length to keep ALGORITHM=COPY behavior similar to ALGORITHM=INPLACE
      behavior. Affected test is innodb.strict_mode
      
      Rename dict_index_too_big_for_tree() to
      dict_index_t::rec_potentially_too_big(): copy overflow-related size computation
      from dtuple_convert_big_rec(). A lot of tests was changed because of that.
      I wonder whether users will complain about it?
      
      Test innodb.max_record_size tests dict_index_t::rec_potentially_too_big()
      for different row formats and page sizes.
      5ebef422
    • HF's avatar
      Make Win compiler happy. · d04961cd
      HF authored
      d04961cd
    • Alexander Barkov's avatar
      Adding tests for MDEV-17857 Assertion `tmp != ((long long)... · be22d1ff
      Alexander Barkov authored
      Adding tests for MDEV-17857 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in TIME_from_longlong_datetime_packed upon SELECT with GROUP BY
      
      (they were forgotten in the previous commit)
      be22d1ff
    • Jan Lindström's avatar
      Disable MW-329 (badly written test case). · 044d0ffc
      Jan Lindström authored
      044d0ffc
    • Sergei Golubchik's avatar
      MDEV-19942 Default installation of mariadb-server doesn't allow clients to use client plugins · d3c21484
      Sergei Golubchik authored
      while client tools technically don't need or depend on libmariadb3.so,
      they need client plugins, that come with it.
      d3c21484
    • Alexander Barkov's avatar
      MDEV-17857 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in... · 11f13bff
      Alexander Barkov authored
      MDEV-17857 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in TIME_from_longlong_datetime_packed upon SELECT with GROUP BY
      11f13bff
    • Jan Lindström's avatar
      Galera test fixes · 7d56bddf
      Jan Lindström authored
      Changes to be committed:
      	modified:   suite/galera/disabled.def
      	modified:   suite/galera/r/MW-329.result
      	modified:   suite/galera/r/galera_var_notify_cmd.result
      	modified:   suite/galera/t/MW-329.test
      	modified:   suite/galera/t/galera_binlog_stmt_autoinc.test
      	modified:   suite/galera/t/galera_var_notify_cmd.test
      7d56bddf
  11. 04 Jul, 2019 5 commits
    • Jan Lindström's avatar
      MDEV-19939: Galera test failure on galera_toi_ddl_fk_insert · fee61edd
      Jan Lindström authored
      Add sync wait to make sure selects see correct consistent db.
      fee61edd
    • Jan Lindström's avatar
      Update Galera failing test list and record correct results · 24aa723a
      Jan Lindström authored
      for passing ones.
      
      Changes to be committed:
      	new file:   mysql-test/std_data/galera-cert.pem
      	new file:   mysql-test/std_data/galera-key.pem
      	new file:   mysql-test/std_data/galera-upgrade-ca-cert.pem
      	new file:   mysql-test/std_data/galera-upgrade-server-cert.pem
      	new file:   mysql-test/std_data/galera-upgrade-server-key.pem
      	modified:   mysql-test/suite/galera/disabled.def
      	modified:   mysql-test/suite/galera/r/MW-416.result
      	modified:   mysql-test/suite/galera/r/MW-44.result
      	modified:   mysql-test/suite/galera/r/galera_sst_mysqldump_with_key,debug.rdiff
      	modified:   mysql-test/suite/galera/r/galera_sst_mysqldump_with_key.result
      	modified:   mysql-test/suite/galera/t/MW-416.test
      	modified:   mysql-test/suite/galera/t/galera_kill_applier.test
      24aa723a
    • Sergei Golubchik's avatar
      MDEV-19726 MariaDB server or backup RPM install assumes mysql user exists · bee24fe1
      Sergei Golubchik authored
      mysqld_safe shouldn't try to mkdir or chown if --dry-run
      bee24fe1
    • Sergei Golubchik's avatar
      fix incorrect shell usage · 1003c76e
      Sergei Golubchik authored
      1003c76e
    • Sergei Golubchik's avatar
      MDEV-19481 mariadb-10.3.15-linux-systemd-x86_64/bin/mysqld:... · 971bef89
      Sergei Golubchik authored
      MDEV-19481 mariadb-10.3.15-linux-systemd-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' and 'GLIBCXX_3.4.21' not found
      
      don't ignore LIBSYSTEMD_LDFLAGS when trying out systemd
      
      (and put them in LIBSYSTEMD, because MYSQLD_LINK_FLAGS has stuff like
      -lmtmalloc and is used only for mysqld, not for, say, explain_filename-t)
      
      LIBSYSTEMD_LDFLAGS come from libsystemd.pc via pkg-config
      971bef89
  12. 03 Jul, 2019 5 commits
  13. 02 Jul, 2019 6 commits