- 13 May, 2016 2 commits
-
-
Oleksandr Byelkin authored
-
Alexander Barkov authored
- Moving select_options_and_item_list from select_init2 to select_init and view_select_aux - Renaming select_init2 to select_init3 This will simplify upcoming sql_yacc.yy fixes (e.g. MDEV-10035, MDEV-8909).
-
- 10 May, 2016 5 commits
-
-
Sergey Vojtovich authored
-
Sergey Vojtovich authored
An addition to original patch: - use FN_REFLEN instead of HOST_NAME_MAX (the latter can be undefined) - avoid calling gethostname() on every prompt construction by caching it
-
Dan Ungureanu authored
Introduce `\H` option which behaves mostly like `\h`. The only exception is when the client connects to the server hosted on localhost. In this case, the hostname will be used instead.
-
Alexander Barkov authored
closer the grammar in the SQL Standard: - <query specification> is only a SELECT followed by <set quantifier>, <select list> and <table expression>. - While <query term> includes SELECT queries and derived tables.
-
Alexander Barkov authored
MDEV-10036 sql_yacc.yy: Split select_part2 to disallow syntactically bad constructs with INTO, PROCEDURE, UNION MDEV-10037 UNION with LIMIT ROWS EXAMINED does not require parentheses
-
- 06 May, 2016 1 commit
-
-
Alexander Barkov authored
MDEV-10030 sql_yacc.yy: Split table_expression and remove PROCEDURE from create_select, select_paren_derived, select_derived2, query_specification This change refactors the "table_expression" rule in sql_yacc.yy. Queries with subselects and derived tables, as well as "CREATE TABLE ... SELECT" now return syntax error instead of "Incorrect usage of PROCEDURE and ...".
-
- 05 May, 2016 1 commit
-
-
Sergey Vojtovich authored
This is an addition to original patch. Removed meaningless "echo SET SESSION AUTOCOMMIT=0" (transaction is started explicitely on master anyway).
-
- 01 May, 2016 2 commits
- 29 Apr, 2016 5 commits
-
-
Sergei Golubchik authored
* simplify the code at default: label * bugfix: flush the checksum for NULL fields (perfschema.checksum was failing) * cleanup: put repeated code into a function
-
Daniel Black authored
-
Daniel Black authored
-
Daniel Black authored
Error noted by Sergey Vojtovich.
-
Daniel Black authored
Checksum implementations contain optimizations for calculating checksums of larger blocks of memory. This optimization calls my_checksum on a larger block of memory rather than calling on multiple adjacent memory as its going though the table columns for each table row.
-
- 28 Apr, 2016 13 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Monty authored
- Change some static variables to dynamic to ensure that we don't do any memory allocations before server starts or stops - Print more memory information on SIGHUP. Fixed output. - Write out if memory was lost if run with --debug-at-exit - Fixed wrong #ifdef in sql_cache.cc
-
Monty authored
-
Monty authored
-
Monty authored
- Avoid some realloc() during startup - Ensure that file_key_management_plugin frees it's memory early, even if it's linked statically. - Fixed compiler warnings from unused variables and missing destructors - Fixed wrong indentation
-
Monty authored
-
Monty authored
-
Jan Lindström authored
MariaDB 10.1.x 32-bit binaries. Problem was the fact that tablespace size was incorrectly rounded to next extent size (1M).
-
Monty authored
wrong mutex usage from safe_mutex. Ensure that LOCK_status is always taken before LOCK_thread_count
-
Monty authored
-
Monty authored
-
Monty authored
Problem was that cost_group_min_max() could not handle if group by was optimized away.
-
- 27 Apr, 2016 3 commits
-
-
Vladislav Vaintroub authored
This appears to break some installation, and it did not do anything useful anyway.
-
Jan Lindström authored
change buffer not empty Fix: Allow not empty change buffer when innodb_force_recovery >= 5 and output only a warning to error log. Note: Before using force recovery you should always take backup of your database.
-
Alexey Botchkov authored
-
- 26 Apr, 2016 1 commit
-
-
Igor Babaev authored
-
- 20 Apr, 2016 2 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
When the specification of a WITH table referred to a view that used a based table with the same name as the WITH table the server went into an infinite loop because it erroneously resolved the reference to the base table as the reference to the WITH table. With tables used in a view cannot be searched for beyond the scope the view.
-
- 19 Apr, 2016 1 commit
-
-
Igor Babaev authored
When the specification of a WITH table referred to a view that used a based table with the same name as the WITH table the server went into an infinite loop because it erroneously resolved the reference to the base table as the reference to the WITH table. With tables used in a view cannot be searched for beyond the scope the view.
-
- 17 Apr, 2016 1 commit
-
-
Sergei Petrunia authored
The issues themselves were fixed as part of MDEV-8646
-
- 16 Apr, 2016 2 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
When join output is just one row, we still need to compute window function values for it. We could skip invoking filesort for it, but it doesn't seem to be worth it to do such optimization.
-
- 15 Apr, 2016 1 commit
-
-
Sergei Petrunia authored
Make Frame_range_current_row_bottom to take into account partition bounds. Other partition bounds that could potentially hit the end of partition are Frame_range_n_bottom, Frame_n_rows_following, Frame_unbounded_following, and they all had end-of-partition protection. To simplify the code, factored out end-of-partition checks into class Partition_read_cursor.
-