summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Innodb cleanup - make Innodb merge temp tables use pfs_os_file_t forbb-10.3-wlad-ioVladislav Vaintroub2018-04-169-264/+154
| | | | | | | | | file IO, rather than int. On Windows, it is suboptimal to depend on C runtime, as it has limited number of file descriptors. This change eliminates os_file_read_no_error_handling_int_fd(), os_file_write_int_fd(), OS_FILE_FROM_FD() macro.
* Fixed failing testcase rename_table_debugMichael Widenius2018-04-172-0/+2
| | | | Test was missing a FLUSH TABLES
* Renamed compile-pentium scripts to compile-pentium32Michael Widenius2018-04-1627-227/+0
| | | | | | | | This is to align the naming to compile-pentium64 and to avoid mistakes of accidently compiling a 32 bit binary on a 64 bit system Removed also a few very old not usable BUILD scripts
* Ensure that max_local_memory_used is initializedMichael Widenius2018-04-161-0/+2
|
* Remove not needed calls to print_errorMichael Widenius2018-04-163-16/+5
|
* Remove compiler warningsMichael Widenius2018-04-1615-24/+25
| | | | | | | - Remove unused variables - Mark variables unused - Fix wrong types - Add no-strict-aliasing to BUILD scripts
* bump the VERSIONDaniel Bartholomew2018-04-161-1/+1
|
* Updated apparmor-profile for spelling errorsMohd Shakir Zakaria2018-04-161-2/+2
|
* MDEV-13336: mysqldump --ignore-database address review commentsDaniel Black2018-04-163-12/+30
|
* MDEV-13336 Add --ignore-database option to mysqldumpHartmut Holzgraefe2018-04-162-4/+38
| | | | | | | | | Allow to exclude certain databases from an --all-databases dump, e.g. to be able to do mysqldump --all-databases --ignore-database=mysql to dump everything but the system tables.
* MDEV-15871 Crash in btr_search_build_page_hash_index()Marko Mäkelä2018-04-151-6/+7
| | | | | When skipping the MDEV-11369 'default row' record, check again for an empty page.
* MDEV-13697 DB_TRX_ID is not always resetMarko Mäkelä2018-04-156-148/+165
| | | | | | | | | | | | | | | | | | | | | | | The rollback of the modification of a pre-existing record should involve a purge-like operation. Before MDEV-12288 the only purge-like operation was the removal of a delete-marked record. After MDEV-12288, any rollback of updating an existing record must reset the DB_TRX_ID column when it is no longer visible in the purge read view. row_vers_must_preserve_del_marked(): Remove. It is cleaner to perform the check directly in row0umod.cc. row_trx_id_offset(): Auxiliary function to retrieve the byte offset of DB_TRX_ID in a clustered index leaf page record. row_undo_mod_must_purge(): Determine if a record should be purged. row_undo_mod_clust(): For temporary tables, skip the purge checks. When rolling back an update so that the original record was not delete-marked, reset DB_TRX_ID if the history is no longer visible.
* disable failing galera test for nowmariadb-10.3.6Sergei Golubchik2018-04-131-0/+1
|
* MDEV-15796 MariaDB crashes on startup with semisync master enabledAndrei Elkin2018-04-131-7/+13
| | | | | | | | | Recent changes in semisync initialization via MDEV-13073 introduced instantiation of THD too early from the server components pov which led to segfault. Fixed with relocating the semisync component initialization to later time when thread specific memory can be used.
* MDEV-15672: encryption.innodb_encryption_filekeys - typo in I_S column name: ↵Jan Lindström2018-04-131-3/+3
| | | | | | | ENCRYPTION_SHCEME Fixed typo on select that is executed only when something unexpected happens.
* MDEV-12632: Source and destination overlap in memcpy, ↵Jan Lindström2018-04-131-1/+1
| | | | | | encryption.innodb-discard-import-change fails in buildbot with valgrind Use block->page.offset for checking page number.
* MDEV-15580: Assertion `!lex->explain' failed in lex_start(THD*):Jan Lindström2018-04-131-1/+7
| | | | | | | | Problem was that we did not delete explain information when Galera must replay a query. Could not find easily repeatable test case that would not cause other problems.
* ./mtr --client-gdbSergei Golubchik2018-04-121-1/+3
| | | | | | followup for 339b9055791 don't use $opt_gdb for --client-gdb
* MDEV-15728 main.thread_id_overflow fails in ps-protocolSergei Golubchik2018-04-122-6/+6
| | | | mark CONNECTION_ID() as returning *unsigned* number
* MDEV-15788 versioning.partition, versioning.rpl fail on most windows builds ↵Sergei Golubchik2018-04-124-145/+114
| | | | | | | in buildbot fix versioning.partition failures: * Make the test stable by setting timestamp to fixed values.
* MDEV-15692: install_spider.sql can fail with some collationsJacob Mathew2018-04-121-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error occurs because of how the character set and collation are chosen for stored procedure parameters that have a character data type. If the character set and collation are not explicitly stated in the declaration, the server chooses the database character set and collation in effect at routine creation time. To fix the problem, I added explicit character set and collation attributes for the stored procedure parameters in the install_spider.sql script. Author: Jacob Mathew. Reviewer: Kentoku Shiba. Merged From: bb-10.3-MDEV-15692
| * MDEV-15692: install_spider.sql can fail with some collationsbb-10.3-MDEV-15692Jacob Mathew2018-04-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error occurs because of how the character set and collation are chosen for stored procedure parameters that have a character data type. If the character set and collation are not explicitly stated in the declaration, the server chooses the database character set and collation in effect at routine creation time. To fix the problem, I added explicit character set and collation attributes for the stored procedure parameters in the install_spider.sql script. Author: Jacob Mathew. Reviewer: Kentoku Shiba.
* | Feedback plugin - MSI installation checkbox switched to OFF again.Vladislav Vaintroub2018-04-121-1/+1
| | | | | | | | It was on for alpha stages of 10.3, and now we're past that.
* | Merge remote-tracking branch '10.2' into 10.3Vicențiu Ciorbaru2018-04-12145-425/+1963
|\ \
| * | MDEV-12632: Source and destination overlap in memcpy, ↵Jan Lindström2018-04-121-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | encryption.innodb-discard-import-change fails in buildbot with valgrind Problem was that if tablespace was encrypted we try to copy also page 0 from read buffer to write buffer that are in that case the same memory area. fil_iterate When tablespace is encrypted or compressed its first page (i.e. page 0) is not encrypted or compressed and there is no need to copy buffer.
| * | MDEV-12903: encryption.innodb_encryption_discard_import fails in buildbot ↵Jan Lindström2018-04-122-5/+24
| | | | | | | | | | | | | | | | | | | | | with FOUND vs NOT FOUND Wait until rotation has ended and shutdown before grep to make sure that dirty pages are on datafiles.
| * | Use same connection convention of specifying IPsVicențiu Ciorbaru2018-04-124-28/+28
| | | | | | | | | | | | If we use hostnames, it will fail during name resolution on UNIX systems
| * | Fix perfschema.hostcache_ipv4_max_conVicentiu Ciorbaru2018-04-124-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix perfschema.hostcache_ipv6_max_con. The test case makes use of a debug switch to execute some special code. The code does hostname replacement. Every hostname sent during connect phase becomes santa.claus.ipv4.example.com (or ipv6). This causes a connection from root@localhost to fail, as root is not registered as santa claus user. The failure is only apparent on Windows as Unix systems make use of sockets, which bypass the name resolution check entirely.
| * | MDEV-15780 : mariabackup does not handle absolute names in for system ↵Vladislav Vaintroub2018-04-111-1/+2
| | | | | | | | | | | | | | | | | | | | | tablespaces Fix 10.2-specific bug - copy-back is not prepared to handle system tablespaces with absolute path.
| * | Fixed mdev-15765 BETWEEN not working in certain casesIgor Babaev2018-04-103-0/+38
| | | | | | | | | | | | | | | | | | The implementations of the convert_to_basic_const_item() virtual function for the Item_cache classes should call cache_value() when value_cached == NULL.
| * | Merge branch '10.1' into 10.2Vicențiu Ciorbaru2018-04-10134-391/+1474
| |\ \
| | * | Fix warnings in InnoDB & XtraDB post MDEV-14705Vicențiu Ciorbaru2018-04-102-6/+8
| | | | | | | | | | | | | | | | | | | | There was a missing argument to service_manager_extend_timeout call and the signness of arguments did not match.
| | * | MDEV-15823: Test failure on galera.galera_var_slave_threadsJan Lindström2018-04-103-1/+9
| | | | | | | | | | | | | | | | Wait drop table to be replicated before continuing.
| | * | MDEV-14705: Extend timeout for waiting for transactionsMarko Mäkelä2018-04-102-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If innodb_fast_shutdown<2, all transactions of active connections will be rolled back on shutdown. This can take a long time, and the systemd shutdown timeout should be extended during the wait. logs_empty_and_mark_files_at_shutdown(): Extend the timeout when waiting for other threads to complete.
| | * | Revert "MDEV-14705: Do not rollback on InnoDB shutdown"Marko Mäkelä2018-04-106-24/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 76ec37f5225eda9f8a23760091bfb60287927715. This behaviour change will be done separately in: MDEV-15832 With innodb_fast_shutdown=3, skip the rollback of connected transactions
| | * | MDEV-15713 mariabackup: throw warning, if --stream is used without --backupVladislav Vaintroub2018-04-091-0/+4
| | | |
| | * | MDEV-15825 Mariabackup help mentions Percona and PXC but not MariaDBVladislav Vaintroub2018-04-092-2/+2
| | | |
| | * | Update test cases post MDEV-10286Vicențiu Ciorbaru2018-04-096-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Table_open_cache gets adjusted on server startup to prevent an out of file descriptor error. However this means that when we reset its value to default, it does not get re-adjusted. This leads to the mtr consistency check to fail with different server status at the end of the test case as opposed to when it started. To fix the problem, do not make use of the DEFAULT keyword to set the variable back, instead save the value before any modifications and restore it from there.
| | * | MDEV-13549: Galera test failuresJan Lindström2018-04-091-1/+1
| | | | | | | | | | | | | | | | Disable occasionally failing test case galera.galera_var_slave_threads.
| | * | MDEV-15810: Test failure on galera.lp1376747 and galera.lp1376747-2Jan Lindström2018-04-095-2/+20
| | | | | | | | | | | | | | | | Wait until create table is replicated before continuing.
| | * | MDEV-15807: Test failure on galera.galera_lock_tableJan Lindström2018-04-093-1/+11
| | | | | | | | | | | | | | | | | | | | Wait until create tables are replicated to the slave before trying lock table.
| | * | MDEV-13549: Galera test failuresJan Lindström2018-04-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable more occasionally failing test cases. galera.galera_lock_table galera.galera_gra_log galera.MW-44 galera.lp1376747 galera.lp1376747-2 galera.galera_pc_ignore_sb
| | * | MDEV-15806: Test failure on galera.galera_parallel_simpleJan Lindström2018-04-083-1/+11
| | | | | | | | | | | | | | | | | | | | Make sure DDL's (create tables) are replicated before continuing to lock table.
| | * | MDEV-13549: Galera test failuresJan Lindström2018-04-081-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable occasionally failing test cases pxc-421 query_cache galera_parallel_simple
| | * | MDEV-15752 Possible race between DDL and accessing ↵Marko Mäkelä2018-04-072-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I_S.INNODB_TABLESPACES_ENCRYPTION fil_crypt_read_crypt_data(): Do not attempt to read the tablespace if the file is unaccessible due to a pending DDL operation, such as renaming the file or DROP TABLE or TRUNCATE TABLE. This is only reducing the probability of the race condition, not completely preventing it.
| | * | Merge branch '10.0' into 10.1Vicențiu Ciorbaru2018-04-0733-47/+599
| | |\ \
| | | * | MDEV-15291 - OQGraph fails to build on FreeBSDSergey Vojtovich2018-04-063-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Boost includes sys/param.h on FreeBSD, which in turn defines setbit() macro. This macro is conflicting with open_query::judy_bitset::setbit(). Reordered includes such that oqgraph_judy.h never sees this macro. Also removed duplicate includes of graphcore-config.h, which is included by graphcore-graph.h/oqgraph_shim.h/oqgraph_thunk.h.
| | | * | Update contributorsIan Gilfillan2018-04-053-6/+3
| | | | |
| | | * | Merge branch '5.5' into 10.0Vicențiu Ciorbaru2018-04-0311-3/+441
| | | |\ \
| | | | * | don't disable SSL when connecting via libmysqldSergei Golubchik2018-04-031-2/+2
| | | | | |