- 11 Sep, 2016 1 commit
-
-
Oleksandr Byelkin authored
-
- 09 Sep, 2016 17 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
-
Kristian Nielsen authored
Conflicts: sql/mysqld.cc sql/slave.cc
-
Sergei Golubchik authored
-
- 08 Sep, 2016 3 commits
-
-
Oleksandr Byelkin authored
-
Kristian Nielsen authored
When a deadlock kill is detected inside the storage engine, the kill is not done immediately, to avoid calling back into the storage engine kill_query method with various lock subsystem mutexes held. Instead the kill is queued and done later by a slave background thread. This patch in preparation for fixing TokuDB optimistic parallel replication, as well as for removing locking hacks in InnoDB/XtraDB in 10.2. Signed-off-by: Kristian Nielsen <knielsen at knielsen-hq.org>
-
Igor Babaev authored
-
- 07 Sep, 2016 9 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
-
Oleksandr Byelkin authored
DEFAULT partition support added to LIST and LIST COLUMN partitioning. Partitions Prunning added for DEFAULT partititon.
-
Sergei Petrunia authored
Make the new (CTE-related) code in set_explain_type to take into account that some JOIN_TABs are non-merged semi-joins, and do not have a TABLE object.
-
Alexander Barkov authored
MDEV-10758 engines/funcs.db_alter_collate_ascii and engines/funcs.db_alter_collate_utf8 fail with wrong results
-
Sergei Petrunia authored
Add a testcase
-
Sergei Petrunia authored
Add the testcase
-
Sergei Petrunia authored
-
Alexander Barkov authored
This is the final patch removing some old remainders that are not needed anymore. (Other clean-ups were done in earlier commits)
-
- 06 Sep, 2016 10 commits
-
-
Daniel Black authored
-
Igor Babaev authored
-
Igor Babaev authored
does not work in non-debug modes.
-
Igor Babaev authored
-
Igor Babaev authored
-
Igor Babaev authored
The bug manifested itself for recursive definitions that used anchors over tables with blobs.
-
Igor Babaev authored
-
Sergei Golubchik authored
without preceding sys_vars.wsrep_provider_basic
-
Alexey Botchkov authored
mysql_prepare_create_table fixed so it doesn't let duplicating constraint names. Syntax for CONSTRAINT IF NOT EXISTS added and handled in mysql_alter_table.
-
Alexander Barkov authored
-