- 22 Sep, 2016 3 commits
-
-
Daniel Black authored
Using numa_all_nodes_ptr was excessively optimistic. Due to constraints in systemd, containers or otherwise mysqld could of been limited to a smaller set of cpus. Use the numa_get_mems_allowed library function to see what we can interleave between before doing so. The alternative is to fail interleaving overall. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Daniel Black authored
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Daniel Black authored
Code was already existing within the innobase/xtradb storage engines however without this cmake code it was never enabled. num.cmake heavily based off work by Annamalai Gurusami <annamalai.gurusami@oracle.com> Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
- 19 Sep, 2016 1 commit
-
-
Annamalai Gurusami authored
-
- 17 Sep, 2016 2 commits
-
-
Sergei Golubchik authored
-
Sergey Vojtovich authored
Updated mysqld--help,win.rdiff.
-
- 16 Sep, 2016 5 commits
-
-
Sergey Vojtovich authored
Some compilers are unhappy about mixed struct/class declarations.
-
Sergey Vojtovich authored
Fixed type cast.
-
Sergey Vojtovich authored
Fixed sysvars_server_[not]embedded failure: changed type of table_open_cache_instances from ulong to uint. Added casts foratomic operations around tc_active_instances and tc_contention_warning_reported: needed on some platforms.
-
Sergey Vojtovich authored
Table cache instances autosizing.
-
Sergey Vojtovich authored
Improve scalability by implementing multi-instance table cache.
-
- 15 Sep, 2016 2 commits
- 14 Sep, 2016 2 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
The condition pushed into WHERE/HAVING of a materialized view/derived table may differ for different executions of the same prepared statement. That's why the should be ANDed with the existing WHERE/HAVING conditions only after all permanent transformations of these conditions has been performed.
-
- 13 Sep, 2016 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
Do not push conditions into materialized views/derived tables marked with the flag 'fill_me'.
-
Alexander Barkov authored
MDEV-10779 Failing assertion lex->proc_list.elements == 0 or syntax error on PROCEDURE ANALYSE in UNION Reverting a part of the patch for "MDEV-8909union parser cleanup", as a parenthesized SELECT with PROCEDURE followed by UNION is not disallowed by the grammar (only a non-parenthesized SELECT with PROCEDURE followed by a UNION is disallowed grammatically).
-
- 12 Sep, 2016 6 commits
-
-
Vicențiu Ciorbaru authored
When running with --ps protocol, window functions cleanup method may be called twice. Enforce proper cleanup by setting pointers to NULL after deletion. This prevents double deletion on second cleanup.
-
Sergei Golubchik authored
-
Elena Stepanova authored
-
Sergey Vojtovich authored
no need to set net->vio to zero in mysql_real_connect
-
Alexey Botchkov authored
Wrong argument for the my_error function fixed.
-
Igor Babaev authored
This bug in the code of Item_ref::build_clone could cause corruption of items in where conditions. Also made sure that equality predicates extracted from multiple equality items to be pushed into materialized views were cloned.
-
- 11 Sep, 2016 1 commit
-
-
Oleksandr Byelkin authored
-
- 09 Sep, 2016 15 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
-
Kristian Nielsen authored
If there are other threads running (for example binlog background thread), then the thread count may not drop to zero at the end of do_handle_bootstrap(). This caused an assertion and missing wakeup of the main thread. The missing wakeup is because THD::~THD() only signals the COND_thread_count mutex when the number of threads drops to zero. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
-
Vicențiu Ciorbaru authored
This can happen with degenerate frame definitions that are always empty.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Cursors now report their current row number as the boundary of the partition. This is used by Frame_scan_cursor to compute aggregate functions that do not support removal.
-
Vicențiu Ciorbaru authored
Added an extra virtual method to the Frame_cursor class to allow cursors to report the row number to which they are pointing.
-
Vicențiu Ciorbaru authored
Currently cursors automatically add values to the sum functions they manage. There are use cases when we just want to figure out the frame boundaries, without actually adding/removing values from them.
-
Vicențiu Ciorbaru authored
The 'IS A' relation is more appropriate for Partition_read_cursor. This also helps with accessing methods available only to Table_read_cursor.
-
Vicențiu Ciorbaru authored
When specifying a RANGE type frame that exceeds the partition size, both for the top and bottom cursors we end up removing more rows than added to the aggregate function. This happens because our TOP range cursor, which removes values from the aggregate function, would be allowed to breach partition boundaries, while the BOTTOM range cursor would not. To prevent this from happening, force the TOP range cursor to only move within the current partition, as does the BOTTOM range cursor.
-
Vicențiu Ciorbaru authored
Perform only one table scan for each window function present. We do this by keeping keeping cursors for each window function frame bound and running them for each function for every row.
-
Oleksandr Byelkin authored
MDEV-10763: Wrong result - server does not return NULL values from default list partition after ALTER table Fixed partition pruning for NULL value.
-
Oleksandr Byelkin authored
MDEV-10765: Wrong result - query does not retrieve values from default partition on a table partitioned by list columns Partial matches should be treat as not exact one.
-
Oleksandr Byelkin authored
-