- 06 Jul, 2019 2 commits
-
-
Kentoku SHIBA authored
Added checks of the number of columns of the system tables. Move install_spider.sql into source code except installing Spider
-
Kentoku SHIBA authored
-
- 05 Jul, 2019 3 commits
-
-
Eugene Kosov authored
-
https://github.com/systemd/systemd/issues/1221Sergei Golubchik authored
Put all capabilities in one CapabilityBoundingSet line, otherwise buggy systemd sets CapabilityBoundingSet=0
-
Eugene Kosov authored
MDEV-19486 and one more similar bug appeared because handler::write_row() interface welcomes to modify buffer by storage engine. But callers are not ready for that thus bugs are possible in future. handler::write_row(): handler::ha_write_row(): make argument const
-
- 04 Jul, 2019 1 commit
-
-
Eugene Kosov authored
Use on every virtual function override. ha_innobase: mark a final ha_innobase::bas_ext(): remove as unused ha_innobase::get_cascade_foreign_key_table_list: remove as unused ha_innobase::end_stmt(): merge into ha_innobase::reset()
-
- 03 Jul, 2019 1 commit
-
-
Robert Bindar authored
Since 10.4 requires C++11 capable compiler, gcc sync builtins became dead code. Remove relevant cmake checks and cleanup include files.
-
- 02 Jul, 2019 23 commits
-
-
Sergei Golubchik authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Sergei Golubchik authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
Even though the PAUSE instruction latency was increased from about 10 to 140 clock cycles in the Intel Skylake microarchitecture, it seems to be optimal to reduce the amount of subsequently executed PAUSE instructions not to 1/14, but to 1/2.
-
LingBin authored
Uniformly use the `.git` suffix format
-
Sergei Golubchik authored
* in --parallel mode don't copy/symlinks plugins individually in each forked child's vardir, use the common parent vardir with all plugins * move pam plugin specific code from mysql-test-run.pl to suite/plugins/suite.pm
-
Sergei Golubchik authored
(meaning, if MariaDB is installed system-wide, pam tests require mtr to be run as mysql user)
-
Sergei Golubchik authored
fixed in MDEV-19878, here just adding tests
-
Sergei Golubchik authored
* fix incorrect parentheses * if there was no password on the command line or in .cnf file, pkt will be "", and we need to request the user to enter the password
-
Sergei Golubchik authored
* wait() for the child process to die, let it rest in peace * fix incorrect parentheses * if there was no password on the command line or in .cnf file, pkt will be "", and we need to request the user to enter the password * make sure that auth->salt is always allocated on a permanent memroot. when called from set_user_salt_if_needed(), user_copy and its auth_str are on the thd memroot, but auth_copy->salt is then copied to auth->salt * adjust service files so that systemd wouldn't interfere with our setuid executables also * print the pam error message in debug mode
-
Sergei Golubchik authored
in fact, permissions were fine in RPM, but mysql_install_db was resetting them. Also fix Debian, while we're at it
-
Sergei Golubchik authored
and install in mysql-test/suite/plugins/pam so that it could be manually copied into /etc if needed
-
Sergei Golubchik authored
this matches the common behavior with pam_unix and helps to catch password related errors also, use abort() instead of sigsegv to avoid polluting /var/log/messages with intentional crashes
-
Sergei Golubchik authored
-
Sergei Golubchik authored
in /etc/ssl/openssl.cnf as it happens to be on the buster builder
-
Sergei Golubchik authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Sujatha authored
MDEV-19716: ASAN use-after-poison in Query_log_event::Query_log_event / THD::log_events_and_free_tmp_shares Analysis: ======== When a given client session ends on a master, the server logs a DROP TEMPORARY TABLE IF EXISTS statement for each temporary table that still exists in the current session. It ensures a proper temporary table cleanup on the slave. In order to write the DROP TEMPORARY TABLE query in binary log a 'Query_log_event' object is created. Within the 'Query_log_event' constructor 'thd->lex->sql_command' is read to identify what type of cache needs to be used to write the query. When the code reaches here as part of THD::cleanup the 'thd->lex->sql_command' will be in an invalid state. The 'thd->lex' could have been cleared or it could be pointing to a statement which was in the middle of execution when the session ended. In such cases ASAN reports use-after-poison error. Fix: === The 'THD::Cleanup' code invokes 'THD::log_events_and_free_tmp_shares' to look for temporary tables and write appropriate DROP TABLE stmts for them. This cleanup code provides a special flag named 'direct=TRUE' to the Query_log_event constructor. Having 'direct=TRUE' means that this query doesn't require any caching. Hence in this scenario the 'Query_log_event' constructor should respect the 'direct' flag and simply skip the logic of deciding the type of cache to be used for the statement. Hence the code will not access the stale lex object.
-
- 01 Jul, 2019 10 commits
-
-
Thirunarayanan Balathandayuthapani authored
- Changed the assert to ignore SRV_LOG_SPACE_FIRST_ID. Post push fix to address the previous commit failure.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
btr_lift_page_up(): Correct the incorrect condition. page_validate(): Validate the page type.
-
Marko Mäkelä authored
page_validate(): Validate also the page type, and try to list all errors that were encountered for the page, with a little more detail.
-
Marko Mäkelä authored
-
Thirunarayanan Balathandayuthapani authored
Changed the debug insert inside fil_io() to check whether it writes the page to wrong offset only for user tablespace.
-
Thirunarayanan Balathandayuthapani authored
- log_crypt_init() should be called from create_log_files(). Because it should re-create the new random nonce compared to the old ones.
-
Daniel Black authored
-
Marko Mäkelä authored
The test innodb.leaf_page_corrupted_during_recovery fails on buildbot with Warning 1406 Data too long for column 'line' at row 10 line len 16384; hex ... because of a page dumps that InnoDB is generating for a corrupted page Since this test is using debug instrumentation, we will solve the issue by disabling page dumps in debug builds altogether. Users of debug builds will likely know how to extract page dumps in other means. Page dump output could sometimes be useful when diagnosing problems that users are facing. Hence we will keep the page dump output in non-debug (release) builds.
-
Thirunarayanan Balathandayuthapani authored
MDEV-19914 Server startup fails while dropping garbage encrypted tablespace if innodb_encryption_threads > 0 - Avoiding accessing encryption thread mutex before initiating the encryption threads
-