summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-28526 Spider: remove conn_kind member variablesbb-11.0-mdev-28526Yuchen Pei2022-12-2314-133/+58
| | | | | | | | | | The conn_kind, which stands for "connection kind", is no longer useful because the HandlerSocket support is deleted and Spider now has only one connection kind, SPIDER_CONN_KIND_MYSQL. Remove conn_kind and related code. Signed-off-by: Yuchen Pei <yuchen.pei@mariadb.com> Reviewed-by: Nayuta Yanagisawa <nayuta.yanagisawa@mariadb.com>
* mark an unused error messageSergei Golubchik2022-12-201-5/+2
|
* spider fixes for 11.0+Sergei Golubchik2022-12-202-24/+11
| | | | | | | spider_rewrite plugin is not in 11.0. spider initialization code used "11.0" for "in the distant future", but suddenly it's now spider tests didn't expect anything beyond 10.x
* 11.0 branchSergei Golubchik2022-12-2011-37/+15
|
* Merge 10.10 into 10.11Marko Mäkelä2022-12-166-6/+23
|\
| * Merge 10.9 into 10.10Marko Mäkelä2022-12-166-6/+23
| |\
| | * MDEV-30172: Disable galera_sr.MDEV-25718Marko Mäkelä2022-12-161-0/+2
| | |
| | * Merge 10.8 into 10.9Marko Mäkelä2022-12-166-6/+21
| | |\
| | | * Merge 10.7 into 10.8Marko Mäkelä2022-12-166-6/+21
| | | |\
| | | | * MDEV-30172: Disable galera.galera_parallel_simpleMarko Mäkelä2022-12-161-0/+1
| | | | |
| | | | * Merge 10.6 into 10.7Marko Mäkelä2022-12-166-6/+20
| | | | |\
| | | | | * MDEV-30235 InnoDB crash on table-rebuilding DDL when the statistics tables ↵Marko Mäkelä2022-12-151-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are corrupted commit_try_rebuild(): Only invoke trx_t::drop_table_statistics() if both InnoDB statistics tables are accessible (and exclusively locked by the current transaction). This avoids a crash due to ut_a(sym_node->table != NULL) in pars_retrieve_table_def(). The crash was repeated on a partial copy of a MariaDB 10.3 data directory that lacked the *.ibd files for the statistics tables.
| | | | | * Merge 10.5 into 10.6Marko Mäkelä2022-12-151-2/+3
| | | | | |\
| | | | | | * MDEV-30227 [ERROR] [FATAL] InnoDB: fdatasync() returned 9Marko Mäkelä2022-12-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fil_space_t::flush<false>(): If the CLOSING flag is set, the file may already have been closed, resulting in EBADF being returned by fdatasync(). In any case, the thread that had set the flag should take care of invoking os_file_flush_func(). The crash occurred during the execution of FLUSH TABLES...FOR EXPORT. Tested by: Matthias Leich
| | | | | * | MDEV-30172: galera mtr disablesDaniel Black2022-12-152-0/+7
| | | | | | |
| | | | | * | Merge branch '10.5' into 10.6Daniel Black2022-12-154-3/+5
| | | | | |\ \ | | | | | | |/
| | | | | | * mtr: more galera disables - linked in MDEV-30172Daniel Black2022-12-153-1/+3
| | | | | | |
| | | | | | * Deb: debian-start.inc - do not quote exe variablesDaniel Black2022-12-151-2/+2
| | | | | | |
| | | | | * | Merge branch 10.5 into 10.6Daniel Black2022-12-156-34/+34
| | | | | |\ \ | | | | | | |/
* | | | | | | Merge branch '10.10' into 10.11Daniel Black2022-12-158-34/+38
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge branch '10.9' into 10.10Daniel Black2022-12-158-34/+38
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge branch '10.8' into 10.9Daniel Black2022-12-158-34/+38
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | Merge commit 10.7 into 10.8Daniel Black2022-12-156-34/+34
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Merge branch 10.6 into 10.7Daniel Black2022-12-156-34/+34
| | | | |\ \ \
| | | | | * \ \ Merge branch '10.5' into 10.6Daniel Black2022-12-156-34/+34
| | | | | |\ \ \ | | | | | | |/ / | | | | | |/| / | | | | | | |/
| | | | | | * rpm: server-post - use mariadb-install-dbDaniel Black2022-12-141-1/+1
| | | | | | |
| | | | | | * Deb: mariadb-server.postinst to use mariadb-install-dbDaniel Black2022-12-141-3/+3
| | | | | | |
| | | | | | * mariadb-install-db: use mariadb namesDaniel Black2022-12-141-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also refer to the service file for startup.
| | | | | | * Deb: MariaDB names as default for deb scriptsDaniel Black2022-12-143-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also include the ftp.mariadb.org script rather than old name.
| | | * | | | Add missing error suppressionMarko Mäkelä2022-12-142-0/+4
| | | | | | |
* | | | | | | MDEV-25341 post-fix. Don't use DiscardVirtualMemory on Windows.Vladislav Vaintroub2022-12-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This turns out to be a too expensive call to use for every freed page, especially under global buffer pool mutex protection. Also, the usefulness of proactive shrinking of the buffer pool on Windows this is seems questionable - there is no OOM killer, and the OS will shrink working sets itself.
* | | | | | | Merge 10.10 into 10.11Marko Mäkelä2022-12-14226-4470/+2266
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge 10.9 into 10.10Marko Mäkelä2022-12-14225-4469/+2265
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge 10.8 into 10.9Marko Mäkelä2022-12-144-0/+7
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | Merge 10.7 into 10.8Marko Mäkelä2022-12-144-0/+7
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Merge 10.6 into 10.7Marko Mäkelä2022-12-143-0/+5
| | | | |\ \ \ | | | | | |/ /
| | | | | * | Merge branch '10.5' into 10.6Daniel Black2022-12-143-0/+5
| | | | | |\ \ | | | | | | |/
| | | | | | * MDEV-30172 re-disable galera testsDaniel Black2022-12-143-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | galera_sr.GCF-1060 'innodb' w2 [ fail ] timeout after 900 seconds galera_3nodes.galera_ssl_reload At line 50: mysql_shutdown failed galera_3nodes.galera_ssl_reload : MDEV-30172 At line 50: mysql_shutdown failed galera_3nodes.GCF-354 : mysqltest: At line 39: query 'DROP TABLE test.t1' failed: 1047: WSREP has not yet prepared node for application use galera_3nodes.GCF-354 : mysqltest: At line 30: query 'INSERT INTO test.t1 values (1)' failed: 1180: Got error 6 "No such device or address" galera_wan : [ERROR] WSREP: /home/buildbot/buildbot/build/gcs/src/gcs_state_msg.cpp:gcs_state_msg_get_quorum():947: Failed to establish quorum.
| | | | * | | After-merge fixMarko Mäkelä2022-12-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes up 25b91c3f13affc1b58169240894b206ff34b1db3
| | * | | | | Merge 10.8 into 10.9Marko Mäkelä2022-12-13227-4469/+2337
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | Merge 10.7 into 10.8Marko Mäkelä2022-12-13227-4469/+2337
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Merge 10.6 into 10.7Marko Mäkelä2022-12-13227-4470/+2337
| | | | |\ \ \ | | | | | |/ /
| | | | | * | Merge 10.5 into 10.6Marko Mäkelä2022-12-13178-473/+1980
| | | | | |\ \ | | | | | | |/
| | | | | | * Merge 10.4 into 10.5Marko Mäkelä2022-12-13179-475/+1889
| | | | | | |\
| | | | | | | * Merge 10.3 into 10.4Marko Mäkelä2022-12-13171-468/+1860
| | | | | | | |\
| | | | | | | | * MDEV-29814: galera_var_notify_ssl_ipv6 causes testing system to hangJulius Goryavsky2022-12-097-88/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes the test system hanging due to the galera_var_notify_ssl_ipv6 test and also brings the wsrep_notify[_ssl].sh files in line with each other between the user template and the mtr suite. Quotes are also added here to avoid problems if the user specifies the value of one of the variables at the beginning of the file containing shell-specific characters, for example, if the password or username specified in the PSWD and USER variables will contain the "$" character. Also fixed an issue with automatic --ssl-verify-server-cert option substitution when the corresponding value is set by the user to "1" or "on". Also fixed some tests here to avoid joining one of the nodes to another cluster when the nodes are restarted from the mtr side, which can lead to random failures when testing with buildbot.
| | | | | | | | * MDEV-29144 ER_TABLE_SCHEMA_MISMATCH or crash on DISCARD/IMPORTMarko Mäkelä2022-12-097-7/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql_discard_or_import_tablespace(): On successful ALTER TABLE...DISCARD TABLESPACE, evict the table handle from the table definition cache, so that ha_innobase::close() will be invoked, like InnoDB expects to be the case. This will avoid an assertion failure ut_a(table->get_ref_count() == 0) during IMPORT TABLESPACE. ha_innobase::open(): Do not issue any ER_TABLESPACE_DISCARDED warning. Member functions for DML will do that. ha_innobase::truncate(), ha_innobase::check_if_supported_inplace_alter(): Issue ER_TABLESPACE_DISCARDED warnings, to compensate for the removal of the warning in ha_innobase::open(). row_quiesce_write_indexes(): Only write information about committed indexes. The ALTER TABLE t NOWAIT ADD INDEX(c) in the nondeterministic test case will most of the time fail due to a metadata lock (MDL) timeout and leave behind an uncommitted index. Reviewed by: Sergei Golubchik
| | | | | | | | * MDEV-30150 ST_GeomFromGeoJSON, 'geometry' before 'type: feature' errorDaniel Black2022-12-093-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The geometry type requires Type:"Feature" but the feature need not be first in the JSON structure. Adjust code to return an error if geometry isn't a JSON object, but continue parsing searching for Type: "Feature" to trigger the geometry parsing. Thanks Derick Magnusen for the bug report.
| | | | | | | | * MDEV-30162 Fix occasional "Permission denied" on Windows caused by buggy 3rd ↵Vladislav Vaintroub2022-12-076-107/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | party Add retry logic for CreateFile, DeleteFile, or MoveFile when GetLastError() is ERROR_SHARING_VIOLATION.
| | | | | | | | * MDEV-29636 Assertion `part_share->auto_inc_initialized || ↵Nayuta Yanagisawa2022-12-078-1/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | !can_use_for_auto_inc_init()' failed in ha_partition::set_auto_increment_if_higher upon REPLACE with partition pruning The bug is caused by a similar mechanism as MDEV-21027. The function, check_insert_or_replace_autoincrement, failed to open all the partitions on REPLACE SELECT statements and it results in the assertion error.