- 03 Jul, 2019 4 commits
-
-
Marko Mäkelä authored
Many InnoDB internal variables and counters were only exposed in an unstructured fashion via SHOW ENGINE INNODB STATUS. Expose more variables via SHOW STATUS. Many of these were exported in XtraDB. Also, introduce SHOW_SIZE_T and use the proper size for exporting the InnoDB variables. Remove some unnecessary indirection via export_vars, and bind some variables directly. dict_sys_t::rough_size(): Replaces dict_sys_get_size() and includes the hash table sizes. This is based on a contribution by Tony Liu from ServiceNow.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
Shorten some VARCHAR attributes to a more reasonable length. INNODB_METRICS: Rename the column STATUS to ENABLED, and make it Boolean. Replace with INT(1) many Boolean attributes that were declared as VARCHAR containing 'NO','YES','disabled','enabled','Uninitialized','Initialized'. Replace some VARCHAR attributes with ENUM. Replace some BIGINT with INT when 32 bits are sufficient. Remove INNODB_SYS_TABLESPACES.SPACE_TYPE. The type of a tablespace can be derived from the tablespace ID. A fixed number is used for the system tablespace and the temporary tablespace. All other tablespaces are single-table or single-partition tablespaces. i_s_locks_row_t::lock_type, lock_get_type_str(): Remove. This is a redundant field. Table and record locks can be distinguished by whether i_s_locks_row_t::lock_index is NULL. fill_trx_row(): Do not unnecessarily copy the constant strings that trx->op_info is pointing to. i_s_locks_row_t::lock_mode: Replace string with integer. lock_get_mode_str(), lock_get_trx_id(), lock_get_trx(): Remove. field_store_ulint(): Remove.
-
Marko Mäkelä authored
Fix the build on clang. GCC only checks that a member function with the C++11 override keyword is actually overriding a virtual member function in a base class. In clang, you will get a warning for overridden member functions that lack the keyword, if any overridden member function of the class is declared with the keyword.
-
- 02 Jul, 2019 1 commit
-
-
LingBin authored
Uniformly use the `.git` suffix format
-
- 01 Jul, 2019 2 commits
-
-
Sujatha authored
Create "Sql_cmd_show_slave_status" class for "SHOW SLAVE STATUS" command.
-
Yuqi Gu authored
The gcc version in CentOS 7 is 4.8.2 (released in Mar 2013). But Arm added the support for 'arm_acle.h' in gcc 5.1 (released in Jun 2014). And there are also some bugs in Arm gcc 4.8. The patch is to detect GCC(greater than 5.1) version for Arm crc32c. Change-Id: I718b9b89f952fed72c8795a176ebbe5395c8dd5e Signed-off-by: Yuqi Gu <yuqi.gu@arm.com>
-
- 30 Jun, 2019 7 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
Fix "consistent override", and "unused private field" warnings in popular header files.
-
Vladislav Vaintroub authored
Remove this flag only from domdoc.cpp, which uses #import directive.
-
Vladislav Vaintroub authored
If it is not enabled, build wsrep as static "stub" library from wsrep_dummy.cc ´ Allow static plugins to export symbols (on Unix) wsrep_info relies on wsrep defined symbols (e.g LOCK_wsrep_config_state) exported from mysqld
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
Not much use of this feature so far.
-
- 29 Jun, 2019 1 commit
-
-
Alexander Barkov authored
-
- 28 Jun, 2019 3 commits
-
-
Alexander Barkov authored
`cmake . -DWITH_EXTRA_CHARSETS=complex` did not compile. Fixing forgotten "utf8" to "utf8mb3" in definitions of CHARSET and CHARSETS_AVAILABLE in cmake/character_sets.cmake
-
Alexander Barkov authored
-
Alexander Barkov authored
-
- 27 Jun, 2019 4 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
installers Rely on Universal CRT to be on every computer we install.
-
Vladislav Vaintroub authored
Improve previous patch so we do not depend on (tiny) compiler-version dependent libraries, i.e vcruntime140.dll, and msvcp140.dll The remaining dependency is Universal CRT, is part of Win10+ OS, and should already be installed by Windows update on most downlevel systems.
-
Vladislav Vaintroub authored
Do not load GetSystemTimePreciseAsFileTime() dynamically - it is available since Windows 8. Win7 is going out of support before 10.5 reaches GA.
-
- 26 Jun, 2019 18 commits
-
-
Monty authored
-
Monty authored
MDEV-19585 Assertion with S3 table and flush_tables
-
Monty authored
-
Monty authored
-
Monty authored
-
Monty authored
There was a bug in the page cache that didn't take into account that another thread could be waiting for a page to be read by read_big_block(). Fixed by releasing all waiters in read_big_block()
-
Monty authored
-
Monty authored
-
Vlad Lesin authored
There are two options when coping S3 tables with mysqldump (there is startup option --copy_s3_tables, boolean, default no) 1) Ignore all tables with engine S3, as the data is already safe in S3 and any computer where you restore the backup will automatically discover the S3 table. 2) Copy the table as a normal table with the following 2 changes: - Change ENGINE=S3 to ENGINE=ARIA; - After copy add to log 'ALTER TABLE table_name ENGINE=S3'
-
Monty authored
MDEV-19585 Assertion with S3 table and flush_tables The limit has to be increased so that MariaDB can create system tables. It should not have any notable impact on performance. There should not be any notable performance differences between 1K and 4K, especially for temporary tables. In most cases using bigger blocks is also faster (with the possible exception of doing key reads of not fixed length keys).
-
Monty authored
The problem was two fault: - flush_tables() wrongly gave errors when failing to open read only tables - backup_block_ddl() didn't properly ignores errors from flush_tables() The test case for this will be pushed in 10.5 as the test involves S3 tables.
-
Eugene Kosov authored
os0once.h: remove as not used now
-
Eugene Kosov authored
zip_pad_info_t::mutex_created: remove along with corresponding stuff zip_pad_info_t::mutex: make member value instead of a pointer
-
Eugene Kosov authored
dict_table_t::stats_latch_created: remove along with related stuff dict_table_t::stats_latch: make value member, not pointer. And always lock this for simplicity, even to stats cloned table. based on the work of Sergey Vojtovich
-
Sergey Vojtovich authored
Get rid of os_once.
-
Vlad Lesin authored
The error occured because aria_copy_to_s3() function tried to copy .frm file of partition, but partition does not have it's own .frm file. The same is true for aria_rename_s3(). To fix this issue the new parameter was added to those two functions to specify if .frm file must be copied or not. The parameter is set to 'false' for partitions. Also there was other issue with EXCHANGE PARTITION. Briefly, there is the following sequence of operations(see exchange_name_with_ddl_log() for details): 1) rename swap table to temporary table, 2) rename partition to swap table, 3) rename temporary table to partition. On step (1) .frm file is renamed too. On step (2) the swap table does not have .frm file, as partition does not have it. On step (3) partition will have .frm file, because it will be renamed from temporary table. All of this causes error on different stages of the table access. To fix it, .frm is not touched at all for s3 during EXCHANGE PARTITION operation. This is implemented in ha_s3::rename_table() by additional checking of current_thd->lex->alter_info.partition_flags(see also ALTER_PARTITION_EXCHANGE in sql_yacc.yy).
-
Sachin authored
MDEV-19049 Server crashes in check_duplicate_long_entry_key, ASAN stack-buffer-overflow in Field_blob::get_key_image Long Unique keys should always be last unique key.
-
Alexander Barkov authored
-