- 03 Jun, 2016 3 commits
-
-
Vladislav Vaintroub authored
On Windows with low precision (10-16 ms) timer used for timing queries, the statement "set @@long_query_time=0.01" can log itself a slow if it spawn more single timer tick. The fix is to filter this query out from "SELECT FROM mysql.slow_log" results
-
Sergei Petrunia authored
Make the range optimizer not call records_in_range() when it would not give any benefit.
-
Sergei Petrunia authored
-
- 02 Jun, 2016 6 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Part #2: make tree_or(tree1, tree2) to reuse tree1 for the result object for simple cases. These include key IN (c1, ... cN). The reuse was happening in old MySQL versions, but we stopped doing it in the "fair choice between range and index_merge" patch.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Jan Lindström authored
MDEV-10154 - Remove some unnecessary parentheses
-
- 01 Jun, 2016 4 commits
-
-
Sergei Petrunia authored
Post-fix #2: - Update test results - Make the optimization conditional under @@optimizer_switch flag. - The optimization is now disabled by default, so .result files are changed back to be what they were before the MDEV-8989 patch.
-
Jan Lindström authored
Add big_test and not_debug requirements to avoid timeouts.
-
Jan Lindström authored
Fix spelling: shhould -> should
-
Hyeonseok Oh authored
-
- 31 May, 2016 1 commit
-
-
Sergei Petrunia authored
A partial backport of 67f21fb3a077dedfd14b9ca720e926c55e682f93, Bug#22283790: RANGE OPTIMIZER UTILIZES TOO MUCH MEMORY WITH MANY OR CONDITIONS The backported part changes SEL_TREE::keys from being an array of MAX_KEY elements (64*8=512 bytes) to a Mem_root_array<SEL_ARG*> (32 bytes + alloc'ed array of as many elements as we need). The patch doesn't fix the "not limiting memory" part, but the memory usage is much lower with it.
-
- 30 May, 2016 4 commits
-
-
Alexander Barkov authored
utf8mb4_thai_520_w2, ucs2_thai_520_w2, utf16_thai_520_w2, utf32_thai_520_w2
-
Alexander Barkov authored
from ctype_uca.test. This is to reuse ctype_thai.inc for other Unicode character sets later - Removing separate ctype_uca.result
-
Alexander Barkov authored
and including it from t/ctype_uca.test - Deleting r/ctype_uca_th.result
-
Alexander Barkov authored
They have bytes 0x25 and 0x5F. Testing that these bytes are treated as parts of multi-byte characters rather than underscore and percent sign.
-
- 28 May, 2016 1 commit
-
-
Vladislav Vaintroub authored
Mark gssapi plugin as stable. No open bug reports, and no further work planned, thus stable is accurate
-
- 27 May, 2016 1 commit
-
-
Sergei Petrunia authored
Post-fix: add comments, remove dead-code.
-
- 26 May, 2016 4 commits
-
-
Alexander Barkov authored
- Changing strnxfrm_multiply from 8 to 4, as agreed with Pruet Boonma - Adjusting tests
-
Alexander Barkov authored
-
Hyeonseok Oh authored
-
pruet authored
-
- 23 May, 2016 1 commit
-
-
Sergei Petrunia authored
Variant #4 of the fix. Make ORDER BY optimization functions take into account multiple equalities. This is done in several places: - remove_const() checks whether we can sort the first table in the join, or we need to put rows into temp.table and then sort. - test_if_order_by_key() checks whether there are indexes that can be used to produce the required ordering - make_unireg_sortorder() constructs sort criteria for filesort.
-
- 18 May, 2016 1 commit
-
-
Alexander Barkov authored
-
- 17 May, 2016 1 commit
-
-
Sergei Petrunia authored
-
- 11 May, 2016 1 commit
-
-
Sergei Petrunia authored
When simplify_joins() converts an outer join to an inner, it should reset the value of TABLE::dep_tables. This is needed, because the function may have already set TABLE::dep_tables according to the outer join dependency.
-
- 10 May, 2016 1 commit
-
-
Daniel Bartholomew authored
-
- 08 May, 2016 2 commits
-
-
Elena Stepanova authored
-
Sergei Golubchik authored
-
- 07 May, 2016 1 commit
-
-
Sergei Golubchik authored
don't use MY_THREAD_SPECIFIC on the client side in embedded: 1. server memory accounting does not track client side memory 2. in not embedded builds, this still *might* be useful for plugins (handlersocket, connect, etc)
-
- 06 May, 2016 1 commit
-
-
Jan Lindström authored
including the test case: https://github.com/mysql/mysql-server/commit/520aedfe INNODB: "DATA DIRECTORY" OPTION OF CREATE TABLE FAILS WITH PWRITE() OS ERROR 22 Fix for version mysql-5.6 PROBLEM ======== For version mysql-5.6.27 onwards InnoDB fails to create a table with explicit 'data directory' option when Innodb_flush_method is set to O_DIRECT.While creating link file we get a a pwrite error 22 due to the alignment restrictions imposed by O_DIRECT flag which is being set for the link file created. FIX === Fixed the above issue by making use of file IO functions while creating the link file that wouldn't let the O_DIRECT flag restrictions arise. Reviewed-by: Kevin Lewis <kevin.lewis@oracle.com> Reviewed-by: Shaohua Wang <shaohua.wang@oracle.com> RB: 11387
-
- 05 May, 2016 7 commits
-
-
Nirbhay Choubey authored
Do not allow NULL password to pass directly to password validation plugin.
-
Nirbhay Choubey authored
An additional warning saying "tc-log cannot be enabled" is emitted when InnoDB is installed at runtime on mysqld built with wsrep-patch (-DWITH_WSREP=ON). This happens because, installing InnoDB increments the total number of 2pc-capable engines and with wsrep-patch already enabled - the total count goes >1. Even though, this condition is sufficient to enable tc-logging, it is not permitted at runtime, and thus the warning. Updated the testcase to avoid the warning.
-
Nirbhay Choubey authored
Ha_trx_info should not be reset in ha_fake_trx_id() as it is later used during commit.
-
Nirbhay Choubey authored
This is to ensure that the list of valid values for METADATA_LOCK_INFO fields is always kept in sync with the parent MDL types.
-
Nirbhay Choubey authored
Xtrabackup-based SST method uses socat. Move it from Suggests to Depends list.
-
Nirbhay Choubey authored
-
Alexander Barkov authored
10.1 introduced a problem: Execution time for various recursive stages (walk, update_used_table, and propagate_equal_fields) in NULLIF is O(recursion_level^2), because complexity is doubled on every recursion level when we copy args[0] to args[2]. This change fixes to avoid unnecessary recursion in: - Item_func_nullif::walk - Item_func_nullif::update_used_tables - Item_func_nullif::propagate_equal_fields when possible.
-