- 19 Mar, 2020 3 commits
-
-
Marko Mäkelä authored
Adapt from 10.2: git cherry-pick bfb5e1c3 buf_pool_t::chunk_t::create(), buf_pool_t::resize(): Restore or simplify the debug instrumentation. buf_resize_callback(): Add DBUG_ENTER/DBUG_VOID_RETURN so that the DBUG_EXECUTE_IF in buf_pool_t::resize() can be triggered.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
- 18 Mar, 2020 18 commits
-
-
Andrei Elkin authored
Testing is extended with a block added up to binlog_grant.
-
Otto Kekäläinen authored
The purpose of a CI system is to validate if a change is acceptable or not. Thus tests that always fail should be ignored, otherwise the result of the CI (green/red) is not reliable and actionable.
-
Otto Kekäläinen authored
There is a 4 MB hard limit on Travis-CI and build output needs to be less than that. Silencing the 'make install' step gets rid of a lot of "Installing.." and "Missing.." and removing all mysql-test files will make the dh_missing warnings much shorter.
-
Otto Kekäläinen authored
Package contents before this fix: libmariadb-dev-compat drwxr-xr-x root/root ./ drwxr-xr-x root/root ./usr/ drwxr-xr-x root/root ./usr/bin/ lrwxrwxrwx root/root ./usr/bin/mysql_config drwxr-xr-x root/root ./usr/include/ lrwxrwxrwx root/root ./usr/include/mysql drwxr-xr-x root/root ./usr/lib/ drwxr-xr-x root/root ./usr/lib/${DEB_HOST_MULTIARCH}/ drwxr-xr-x root/root ./usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/ lrwxrwxrwx root/root ./usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/mysqlclient.pc drwxr-xr-x root/root ./usr/lib/x86_64-linux-gnu/ lrwxrwxrwx root/root ./usr/lib/x86_64-linux-gnu/libmysqlclient.a lrwxrwxrwx root/root ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.a lrwxrwxrwx root/root ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.so lrwxrwxrwx root/root ./usr/lib/x86_64-linux-gnu/libmysqlclient.so drwxr-xr-x root/root ./usr/share/ drwxr-xr-x root/root ./usr/share/doc/ drwxr-xr-x root/root ./usr/share/doc/libmariadb-dev-compat/ -rw-r--r-- root/root ./usr/share/doc/libmariadb-dev-compat/changelog.gz -rw-r--r-- root/root ./usr/share/doc/libmariadb-dev-compat/copyright With this fix the '/usr/lib/${DEB_HOST_MULTIARCH}/' becomes correctly populated with the actual architecture dependent path. Also add dh-exec to Travis-CI testing so that CI passes. As an extra small thing, clean away excess executable bit from Mroonga plugin maintainer script that does not need it.
-
Otto Kekäläinen authored
If libpcre2 (10.x) is not defined and only the older libpcre3 (8.x) would be available, the build would attempt to download it from the Internet, violating many build environment restrictions. Commit b6b69806 attempted to fix MDEV-21942 but was incomplete, and after in CI systems started failing since the .travis.yml update was missing.
-
Vicențiu Ciorbaru authored
-
Marko Mäkelä authored
Thanks to MDEV-15058, there is only one InnoDB buffer pool. Allocating buf_pool statically removes one level of pointer indirection and makes code more readable, and removes the awkward initialization of some buf_pool members. While doing this, we will also declare some buf_pool_t data members private and replace some functions with member functions. This is mostly affecting buffer pool resizing. This is not aiming to be a complete rewrite of buf_pool_t to a proper class. Most of the buffer pool interface, such as buf_page_get_gen(), will remain in the C programming style for now. buf_pool_t::withdrawing: Replaces buf_pool_withdrawing. buf_pool_t::withdraw_clock_: Replaces buf_withdraw_clock. buf_pool_t::create(): Repalces buf_pool_init(). buf_pool_t::close(): Replaces buf_pool_free(). buf_bool_t::will_be_withdrawn(): Replaces buf_block_will_be_withdrawn(), buf_frame_will_be_withdrawn(). buf_pool_t::clear_hash_index(): Replaces buf_pool_clear_hash_index(). buf_pool_t::get_n_pages(): Replaces buf_pool_get_n_pages(). buf_pool_t::validate(): Replaces buf_validate(). buf_pool_t::print(): Replaces buf_print(). buf_pool_t::block_from_ahi(): Replaces buf_block_from_ahi(). buf_pool_t::is_block_field(): Replaces buf_pointer_is_block_field(). buf_pool_t::is_block_mutex(): Replaces buf_pool_is_block_mutex(). buf_pool_t::is_block_lock(): Replaces buf_pool_is_block_lock(). buf_pool_t::is_obsolete(): Replaces buf_pool_is_obsolete(). buf_pool_t::io_buf: Make default-constructible. buf_pool_t::io_buf::create(): Delayed 'constructor' buf_pool_t::io_buf::close(): Early 'destructor' HazardPointer: Make default-constructible. Define all member functions inline, also for derived classes.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Alexander Barkov authored
MDEV-21975 Add BINLOG REPLAY privilege and bind new privileges to gtid_seq_no, preudo_thread_id, server_id, gtid_domain_id
-
Marko Mäkelä authored
-
Alexander Barkov authored
-
Monty authored
-
Alexander Barkov authored
-
Alexander Barkov authored
MDEV-21971 Bind BINLOG ADMIN to binlog_annotate_row_events and binlog_row_image global and session variables
-
Alexander Barkov authored
MDEV-21969 Bind REPLICATION SLAVE ADMIN to relay_log_*, sync_master_info, sync_relay_log, sync_relay_log_info
-
Alexander Barkov authored
-
Alexander Barkov authored
-
- 17 Mar, 2020 13 commits
-
-
Monty authored
Added options: --datadir --ignore-control-file --require-control-file - Improved error messages if open fails - If control file can't be found/opened, assume that all rows in the tables are commited.
-
Alexander Barkov authored
-
Monty authored
Problem was that replace_dynstr_append_mem() assumed strings are null terminated which is not always the case.
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Alexander Barkov authored
Simplifying definitions on Sys_var_charptr*: - Removing sys_var::is_os_charset - Adding a new class Sys_var_charptr_fscs, to handle system variables with character_set_filesystem.
-
Igor Babaev authored
'index_merge_sort_union=off' When index_merge_sort_union is set to 'off' and index_merge_union is set to 'on' then any evaluated index merge scan must consist only of ROR scans. The cheapest out of such index merges must be chosen. This index merge might not be the cheapest index merge.
-
Monty authored
This was to remove a performance regression between 10.3 and 10.4 In 10.5 we will have a better implementation of records_in_range that will enable us to get more statistics. This change was not done in 10.4 because the 10.5 will be part of a larger change that is not suitable for the GA 10.4 version Other things: - Changed default handler block_size to 8192 to fix things statistics for engines that doesn't set the block size. - Fixed a bug in spider when using multiple part const ranges (Patch from Kentoku)
-
Daniel Black authored
Move function ut_crc32_swap_byteorder to a non-x86 #ifdef area. As its only used in BIGENDIAN, use #ifdefs around ut_crc32_swap_byteorder. Travis CI and Debian both include s390x in builds/test, which is big endian. Fixes commit: 1312b4eb
-
- 16 Mar, 2020 6 commits
-
-
Vladislav Vaintroub authored
It did not work, eventhough the default for Windows was changed to 1 for the corresponding system variable. This be because test_flags was zeroed mysql_init_variables. The patch fixes this glitch.
-
Marko Mäkelä authored
log_write_buf(): Remove the unused variable write_header. The dependent code was removed in commit 0c2365c4. That was dead or unnecessary code at least ever since commit 9ef2d29f removed the support for innodb_log_files_in_group>1.
-
Monty authored
This should fix the following failure: + Warnings: + Warning 1639 debug sync point wait timed out
-
Marko Mäkelä authored
mi_records_in_range(): Because HA_POS_ERROR cannot be accurately represented in double (it will be off by one), add an explicit cast to silence the warning.
-
Marko Mäkelä authored
-
Eugene Kosov authored
log_t::has_encryption_key_rotation(): checks whether key rotation is supported. In a subsequent redo log format version, this key rotation may be broken again.
-