- 04 Jul, 2019 8 commits
-
-
Markus Mäkelä authored
The JSON_ARRAYAGG function extends the GROUP_CONCAT function and provides a method of aggregating JSON results. The current implementation supports DISTINCT and LIMIT but not ORDER BY (Oracle supports GROUP BY). Adding GROUP BY support is possible but it requires some extra work as the grouping appears to be done inside a temporary table that complicates matters. Added test cases that covert aggregation of all JSON types and JSON validation for the generated results.
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
According to the code, it was Windows specific "simulated AIO" workaround. The simulated s not supported on Windows anymore. Thus, remove the dead code
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
We use own IO callbacks from server code anyway.
-
Vladislav Vaintroub authored
- allow incremental linking for Debug build - do not allow EDITANDCONTINUE (/ZI) - better clang-cl warnings flags
-
Vladislav Vaintroub authored
-
Alexander Barkov authored
-
- 03 Jul, 2019 8 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
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.
-
Alexander Barkov authored
Sources did not compile in some builds because of undeclared ER_BLOB_KEY_WITHOUT_LENGTH. Moving the implementations of Key_part_spec::check_key_length_for_blob() from sql_class.h to sql_class.cc
-
Alexander Barkov authored
-
- 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 6 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()
-