- 17 Mar, 2020 2 commits
-
-
Alexey Botchkov authored
Error message now shows the whole value.
-
Marko Mäkelä authored
Rows_log_event::change_to_flashback_event(): Reduce the scope of the variable swap_buff2, and do not duplicate conditions. GCC 9.3.0 flagged the -Wmaybe-uninitialized when compiling the 10.5 branch using cmake -DWITH_ASAN=ON -DCMAKE_CXX_FLAGS=-O2
-
- 16 Mar, 2020 1 commit
-
-
Petr Vaněk authored
Function os_file_get_last_error_low returns error number + OS_FILE_ERROR_MAX (which is currently set to 200) for unknown numbers to this program.
-
- 13 Mar, 2020 9 commits
-
-
Marko Mäkelä authored
myrg_open(): Reduce the scope of the variable 'end' and simplify the code. For some reason, I got no warning for this code in the 10.2 branch, only 10.3 or later. The ENGINE=MERGE is covered by the tests main.merge, main.merge_debug, and main.merge-big.
-
Sujatha authored
Problem: ======= When we upgrade from "mysql" to "mariadb" if slave is using repositories as tables their data is completely ignored and no warning is issued in error log. Fix: === "mysql_upgrade" test should check for the presence of data in "mysql.slave_master_info" and "mysql.slave_relay_log_info" tables. When tables have some data the upgrade script should report a warning which hints users that the data in repository tables will be ignored.
-
Marko Mäkelä authored
_ma_fetch_keypage(): Correct an assertion that used to always hold. Thanks to clang -Wint-in-bool-context for flagging this. double_to_datetime_with_warn(): Suppress -Wimplicit-int-float-conversion by adding a cast. LONGLONG_MAX converted to double will actually be LONGLONG_MAX+1.
-
Marko Mäkelä authored
All tablespace metadata is buffered in fil_system. There is a LRU mechanism, but that only controls the opening and closing of fil_node_t::handle. It is much more efficient and less error-prone to access data file names by looking up the fil_space_t object rather than by essentially joining each row with an access to SYS_DATAFILES via the InnoDB internal SQL parser. dict_get_first_path(): Declare static. The function may only be needed when loading or updating the data dictionary. Also, change a condition in order to avoid a bogus GCC 10 -Wstringop-overflow warning for mem_strdupl() about len==ULINT_UNDEFINED. i_s_sys_tablespaces_fill_table(): Do not access other InnoDB internal dictionary tables than SYS_TABLESPACES.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
This fixes GCC 10.0.1 -Wstringop-truncation and some typos.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
- 12 Mar, 2020 1 commit
-
-
Eugene Kosov authored
-
- 11 Mar, 2020 5 commits
-
-
Eugene Kosov authored
actually, page_zip_verify_checksum() generally allows all-zeroes checksums because our CRC32 checksum is something like crc_1 ^ crc_2 ^ crc_3 Also, all zeroes page is considered correct. As a side effect fix nasty reinterpret_cast<> UB Also, since c0f47a4a innodb_checksum_algorithm=full_crc32 exists which computes CRC32 in one go (without bitwise arithmetic)
-
Eugene Kosov authored
-
Marko Mäkelä authored
Also, remove some trailing white space and add missing static qualifier to free_annotate_event().
-
Sergei Petrunia authored
It was: implicit conversion from 'ha_rows' (aka 'unsigned long long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 Follow what JOIN::get_examined_rows() does for similar code.
-
Jan Lindström authored
-
- 10 Mar, 2020 5 commits
-
-
Marko Mäkelä authored
-
Eugene Kosov authored
-
Marko Mäkelä authored
Re-enable main.mysql_client_test on all builders, because at the moment we do not run any --big-test on buildbot due to resource constraints. A number of tests were declared big in commit eeee1832 in an attempt to save resources on buildbot.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
- 09 Mar, 2020 2 commits
-
-
Marko Mäkelä authored
Stop masking the Data_free values, because innodb_file_per_table=1 is the default. Also, do mask Update_time after updating tables, even though for some reason it does appear to matter.
-
Jan Lindström authored
Change events only on Galera environment where idea is that event is enabled only on one node of the cluster and nodes are identified by server_id.
-
- 08 Mar, 2020 2 commits
-
-
Vicențiu Ciorbaru authored
* Small refactor of my_getncpus function to compile for very old glibc < 2.6. * Cleanup code to eliminate duplication.
-
Daniel Black authored
Cleanup install_layout to account for multi-arch setup and remove redundant defines in debian rules. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
- 06 Mar, 2020 3 commits
-
-
Oleksandr Byelkin authored
-
Stepan Patryshev authored
-
Oleksandr Byelkin authored
-
- 05 Mar, 2020 2 commits
-
-
Vicențiu Ciorbaru authored
The .pc file installed by mariadb mentions archful directories and therefore must be archful itself. This fixes MDEV-14340.
-
Vicențiu Ciorbaru authored
-
- 02 Mar, 2020 1 commit
-
-
Vladislav Vaintroub authored
status threads_connected can temporarily be bigger than max_connections+1 If SHOW STATUS LIKE "Threads_connected" comes after ER_CON_COUNT_ERROR is sent to the client, but before the counter is decremented, Threads_connected can differ from the expected value.
-
- 28 Feb, 2020 1 commit
-
-
Vicențiu Ciorbaru authored
-
- 26 Feb, 2020 2 commits
-
-
Ben Boeckel authored
When installing, no headers are installed into the parent directory of `${includedir}`.
-
Alexey Bychko authored
cmake cannot detect openssl headers on Mac during checks. the solution is to add path to openssl includes to CMAKE_REQUIRED_INCLUDES before checks.
-
- 25 Feb, 2020 2 commits
-
-
Alexey Bychko authored
added cmake checks for pam_ext.h and pam_appl.h headers added check for pam_syslog() added pam_syslog() if doesn't exist all cmake checks performed from inside the plugin
-
Daniel Black authored
-
- 23 Feb, 2020 1 commit
-
-
seppo authored
If async replication slave thread conflicts with cluster replication, then the async slave transaction should be BF aborted, and depending on the state of async slave transaction execution, potentially also replayed. There were problems in such BF abort implementation and the replaying was not started. This pull request contains fixes which make sure that if async slave thread is marked to abort and replay, it will complete carry out the rollback and release all locks and resources before starting the replaying. After replaying, async slave transactions is treated as successful, so the slave thread will continue as usual, handling next replication event. There is also new mtr test: galera.galera_slave_replay, which stresses both a certification failure for async slave thread and a successful BF abort followed by replaying.
-
- 22 Feb, 2020 1 commit
-
-
Anel Husakovic authored
MDEV-21374: When "--help --verbose" prints out configuration file paths, the --defaults-file option is not considered * `--defaults-file` option is showed only in `--help --verbose` if applied * `--default-extra-file` is showing correctly now in `--help --verbose`, previously it was treated as a directory with appended `my.cnf`
-