- 08 Mar, 2020 4 commits
-
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
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 4 commits
-
-
Oleksandr Byelkin authored
-
Oleksandr Byelkin authored
-
Stepan Patryshev authored
-
Oleksandr Byelkin authored
-
- 05 Mar, 2020 3 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
-
Anel Husakovic 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 6 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
-
Sergei Petrunia authored
-
Igor Babaev authored
join_cache_level=6+ The patch fixes two similar bugs in the commit 8eeb689e that added multi_range_read support to partitions. The commit opened a possibility to join a partition table using BKA+MRR. However in some cases it could lead to wrong results or even crashes. This could happened when - index condition pushdown was used to join the table or - the joined table was an inner table of an outer join and 'not exist' optimization was applied or - the join table was the inner table of a semi-join and the first match optimization was applied The bugs were in the code of the call-back functions - partition_multi_range_key_skip_record() and - partition_multi_range_key_skip_index_tuple(). Each of this function consist only of an invocation of another function. Yet a wrong parameter was passed at this invocation. The fix was suggested by Sergey Petrunia and it is apparently in line with original design. The corresponding comprehensive test cases demonstrating the problems caused by the bugs were constructed by me.
-
Daniel Black authored
No adverse effects since this was made a null function in 6b53f9d7. This function had the last remaining cmake CMP0026 violation.
-
Daniel Black authored
cmake enabling -DENABLE_DTRACE=ON is particularlly noisy with CMP0026 errors. Fixed in the same way as 6b53f9d7
-
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`
-
- 20 Feb, 2020 3 commits
-
-
Thirunarayanan Balathandayuthapani authored
- Add warning suppression in misc_debug2 test.
-
Anel Husakovic authored
- Delete variable HAVE_PTHREAD_CONDATTR_SETCLOCK and check - Delete second HAVE_PTHREAD_KEY_DELETE
-
Daniel Black authored
Detecting the cpus based on sysconf of the online CPUs can significantly over estimate the number of cpus available. Wheither via numactl, cgroups, taskset, systemd constraints, docker containers and probably other mechanisms, the number of threads mysqld can be run on can be quite less. As such we use the pthread_getaffinity_np function on Linux and FreeBSD (identical API) to get the number of CPUs. The number of CPUs is the default for the thread_pool_size and a too high default will resulting in large memory usage and high context switching overhead. Closes PR #922
-
- 19 Feb, 2020 1 commit
-
-
Sergei Petrunia authored
(Backport to 10.3) Partitioning storage now supports MRR but doesn't support Index Condition Pushdown (aka ICP). This causes counter-intuitive query plans for queries that use BKA and conditions that depend on index fields: - If the condition refers to other tables, BKA's variant of ICP is used to handle it. - If the condition depends on this table only, the optimizer will try to use regular ICP for it, which will fail because the storage engine doesn't support ICP. Make the optimizer be smarter in the second case: if we were not able to use regular ICP, use BKA's variant of ICP..
-
- 17 Feb, 2020 1 commit
-
-
Jan Lindström authored
Add missing wait condition before we check the end database state.
-
- 14 Feb, 2020 1 commit
-
-
Jan Lindström authored
Add wait condition and cleanup.
-
- 13 Feb, 2020 4 commits
-
-
Otto Kekäläinen authored
No functional changes. Apply this in 10.3 so eventually it is merged to 10.4 and 10.5, which in turn will have separate wrap-and-sort runs but only for new lines, and not affecting badly next merges from 10.3 to 10.4 to 10.5. Also remove a duplicate line that was found thanks to wrap-and-sort.
-
Otto Kekäläinen authored
The Debian build tools add all run-time dependencies automatically. For the mariadb-rocksdb-plugin the "${misc:Depends}, ${shlibs:Depends}" will become (based on the build dependencies at build time): Depends: mariadb-server-10.4 (= 1:10.4.12-1), rocksdb-tools, libc6 (>= 2.29), liblz4-1 (>= 0.0~r130), libsnappy1v5 (>= 1.1.8), libstdc++6 (>= 7), libzstd1 (>= 1.3.3), zlib1g (>= 1:1.1.4) There is no need to manually add run-time build dependencies. Only external dependencies need to be defined, for example rocksdb-tools could come in question for mariadb-plugin-rocksdb, and it will be eventually added when downstream official Debian packaging is merged upstream in a later commit.
-
Jan Lindström authored
MDEV-21515 : Galera test sporadic failure on galera.galera_wsrep_new_cluster: Result content mismatch Use correct configuration and wait for nodes to reach correct state with wait conditions.
-
Jan Lindström authored
MDEV-21421 : Galera test sporadic failure on galera.galera_as_slave_gtid_myisam: Result length mismatch In Galera 3 nodes 2 and 3 are galera nodes and node_1 should be non galera.
-
- 12 Feb, 2020 2 commits
-
-
Oleksandr Byelkin authored
Emulate older API
-
Jan Lindström authored
Add proper wait condition instead of sleeps.
-
- 10 Feb, 2020 5 commits
-
-
Alexey Botchkov authored
Mistake in syntax definition fixed - should be ALTER USER IF EXISTS, not ALTER IF EXISTS USER.
-
Oleksandr Byelkin authored
-
Anel Husakovic authored
-
Oleksandr Byelkin authored
-
Oleksandr Byelkin authored
-