- 06 Oct, 2016 1 commit
-
-
Georg Richter authored
bash char substitution is not supported for other file options (e.g. read default file)
-
- 04 Oct, 2016 7 commits
-
-
Monty authored
- Fixed compiler warnings - Removed have_debug.inc from innochecksum_3 - Fixed race condition in innodb_buffer_pool_load - Fixed merge issue in innodb-bad-key-change.test - Fixed missing array allocation that could cause function_defaults_notembedded to fail - Fixed thread_cache_size_func
-
Monty authored
Fixed a few failing tests
-
Monty authored
-
Monty authored
This fixed several cases where we where using just ulong for sql_mode
-
Monty authored
This is similar to MysQL Worklog 3253, but with a different implementation. The disk format and SQL syntax is identical with MySQL 5.7. Fetures supported: - "Any" ammount of any trigger - Supports FOLLOWS and PRECEDES to be able to put triggers in a certain execution order. Implementation details: - Class Trigger added to hold information about a trigger. Before this trigger information was stored in a set of lists in Table_triggers_list and in Table_triggers_list::bodies - Each Trigger has a next field that poinst to the next Trigger with the same action and time. - When accessing a trigger, we now always access all linked triggers - The list are now only used to load and save trigger files. - MySQL trigger test case (trigger_wl3253) added and we execute these identically. - Even more gracefully handling of wrong trigger files than before. This is useful if a trigger file uses functions or syntax not provided by the server. - Each trigger now has a "Created" field that shows when the trigger was created, with 2 decimals. Other comments: - Many of the changes in test files was done because of the new "Created" field in the trigger file. This shows up in SHOW ... TRIGGER and when using information_schema.trigger. - Don't check if all memory is released if on uses --gdb; This is needed to be able to get a list from safemalloc of not freed memory while debugging. - Added option to trim_whitespace() to know how many prefix characters was skipped. - Changed a few ulonglong sql_mode to sql_mode_t, to find some wrong usage of sql_mode.
-
Sergei Golubchik authored
-
Daniel Black authored
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
- 03 Oct, 2016 5 commits
-
-
Jan Lindström authored
index creation for SPATIAL indexes.
-
Jan Lindström authored
-
Jan Lindström authored
-
Jan Lindström authored
-
Jan Lindström authored
-
- 01 Oct, 2016 5 commits
-
-
Igor Babaev authored
The bug was caused by a misplaced construct opt_with_clause for one of the variants of CREATE ... SELECT.
-
Igor Babaev authored
-
Igor Babaev authored
The code for st_select_lex::find_table_def_in_with_clauses() did not take into account the fact that the specs for mergeable CTEs were cloned and were not processed by the function With_element::check_dependencies_in_spec().
-
Igor Babaev authored
There was no implementation of the virtual method print() for the Item_window_func class. As a result for a view containing window function an invalid view definition could be written in the frm file. When a query that refers to this view was executed a syntax error was reported.
-
Igor Babaev authored
-
- 30 Sep, 2016 2 commits
-
-
Jan Lindström authored
MDEV-10908: innodb_zip.bug56680 fails in buildbot with InnoDB: Failing assertion: bpage->id.space() == page_id.space() Incorrect merge introduced too strict assertion.
-
Jan Lindström authored
-
- 29 Sep, 2016 1 commit
-
-
Vladislav Vaintroub authored
MDEV-10918 Innodb/Linux - Fallback to simulated aio if io_setup() fails, e.g due to insufficient resources
-
- 27 Sep, 2016 1 commit
-
-
Daniel Bartholomew authored
-
- 26 Sep, 2016 2 commits
-
-
Igor Babaev authored
The bug was in the code of the recursive method With_element::check_unrestricted_recursive. For recursive calls of this method sel->get_with_element()->owner != owner.
-
Igor Babaev authored
If a materialized derived table / view is specified by a unit with SELECTs containing ORDER BY ... LIMIT then condition pushdown cannot be done for these SELECTs. If a materialized derived table / view is specified by a unit containing global ORDER BY ... LIMIT then condition pushdown cannot be done for this unit.
-
- 25 Sep, 2016 4 commits
-
-
Elena Stepanova authored
-
Igor Babaev authored
-
Igor Babaev authored
The server missed to call check_dependencies_in_with_clauses() when processing PREPARE ... FROM CREATE ... SELECT / INSERT ... SELECT with WITH clause before SELECT.
-
Igor Babaev authored
When a prepared statement uses a CTE definition with a column list renaming of columns of the CTE expression must be performed for every execution of the prepared statement.
-
- 24 Sep, 2016 12 commits
-
-
Vladislav Vaintroub authored
Fixes file descriptor leak after unsuccessful attempt to open unix socket connection.
-
Sergei Petrunia authored
(Continued after a95e38) Update more test results.
-
Vicențiu Ciorbaru authored
Make sure we select one window function if we have an empty over clause.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
The number is irrelevant and may differ by architecture. We are only interested if it happened or not
-
Vicențiu Ciorbaru authored
-
Sergei Petrunia authored
Add support for having multiple IO_CACHEs with type=READ_CACHE to share the file they are reading from. Each IO_CACHE keeps its own in-memory buffer. When doing a read or seek operation on the file, it notifies other IO_CACHEs that the file position has been changed. Make Rowid_seq_cursor use cloned IO_CACHE when reading filesort result.
-
Vicențiu Ciorbaru authored
Implement nth_value correctly and add a test case for it.
-
Vicențiu Ciorbaru authored
Refactour out (into a copy for now) the logic of Item_sum_hybrid, to allow for multiple arguments. It does not contain the comparator members. The result is the class Item_sum_hybrid_simple. LEAD and LAG make use of this Item to store previous rows in a chache. It also helps in specifying the field type. Currently LEAD/LAG do not support default values. NTH_VALUE behaves identical to LEAD and LAG, except that the starting position cursor is placed on the top of the frame instead of the current row.
-
Vicențiu Ciorbaru authored
Also remove some whitespace
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Make window functions work with an empty over clause by forcing a sort on the first column of the current join_tab. This is a temporary fix until we get window functions to work with big tables.
-