- 23 Jan, 2014 1 commit
-
-
Sergey Petrunya authored
- convert_subq_to_sj() must connect child select's tables into parent select's TABLE_LIST::next_local chain. - The problem was that it took child's leaf_tables.head() which is different. This could cause certain tables (in this bug's case, child select's non-merged semi-join) not to be present in TABLE_LIST::next_local chain. Which would cause non-merged semi-join not to be initialized in setup_tables(), which would lead to NULL pointer dereference.
-
- 21 Jan, 2014 1 commit
-
-
Sergey Petrunya authored
- When a JOIN has both "optimization tabs" (JOIN_TABs used to read the base tables and do the join operation) and also has "execution tabs" (a JOIN_TAB that is to produce result set that is sent to the client), do not forget to call JOIN_TAB::cleanup() for the execution JOIN_TAB.
-
- 15 Jan, 2014 1 commit
-
-
unknown authored
-
- 13 Jan, 2014 1 commit
-
-
unknown authored
update_used_tables() should be called after handling derived tables in any case.
-
- 05 Jan, 2014 1 commit
-
-
Michael Widenius authored
Don't writing entries to slave log about binlog_checksum not existing on master if log_warnings is <=1. This solves the issue of getting a lot of unnecessary errors logged on the slave when connecting to MySQL or an old MariaDB version. sql/slave.cc: Don't write that binlog_checksum doesn't exists on the master if log_warnings <= 1
-
- 02 Jan, 2014 1 commit
-
-
Michael Widenius authored
This only happend when using an ORDER BY on a primary key part, where all other key parts where constant. Remove of duplicated expressions in ORDER BY (as the old code did this in some strange cases) mysql-test/r/group_by.result: Fixed results to take into account that duplicate order by parts are now deleted mysql-test/r/group_by_innodb.result: Ensure extended keys are on mysql-test/r/innodb_ext_key.result: More tests mysql-test/r/order_by.result: More tests mysql-test/t/group_by.test: Fixed results to take into account that duplicate order by parts are now deleted mysql-test/t/group_by_innodb.test: Ensure extended keys are on mysql-test/t/innodb_ext_key.test: More tests mysql-test/t/order_by.test: More tests sql/sql_select.cc: Fixed bug where we looked at extended key parts when we shouldn't Remove of duplicated expressions in ORDER BY sql/table.cc: Indentation fixes
-
- 30 Dec, 2013 1 commit
-
-
Sergey Petrunya authored
- Add --sorted_result to the query
-
- 18 Dec, 2013 1 commit
-
-
unknown authored
Materialization forced in case if rand() used in view or derived table to avoud several calls of rand for gting value of a field. Fixed set variable uncachable flag from - it shouldbe a side effect not a random value.
-
- 17 Dec, 2013 2 commits
-
-
Sergei Golubchik authored
Fix EXPLAIN and CREATE SELECT to join_free() (and, thus, ha_index_end()) before ha_commit_trans().
-
Alexander Barkov authored
Fixed a wrong assertion.
-
- 15 Dec, 2013 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
This test needs at least 320M for tokudb-max-lock-memory. Normally tokudb-max-lock-memory is auto-sized to be 1/16th of the available RAM size, and many our test VMs have 4G of RAM.
-
- 13 Dec, 2013 1 commit
-
-
Sergei Golubchik authored
-
- 12 Dec, 2013 5 commits
-
-
Igor Babaev authored
The fix for bug #27937 was incomplete: it did not handle correctly the queries containing UNION with global ORDER BY in subselects.
-
Sergei Golubchik authored
(better to have an address in the output than ??:0)
-
Sergei Golubchik authored
(PLUGIN_VAR_MEMALLOC is 0x8000 and cannot be saved in a char as such)"
-
-
Sergei Golubchik authored
-
- 11 Dec, 2013 2 commits
-
-
Igor Babaev authored
-
Sergei Golubchik authored
don't reset interrupted_query after sending the KILL signal, otherwise the client won't know it has to stop fetching and printing the data.
-
- 07 Dec, 2013 1 commit
-
-
Igor Babaev authored
a memory leak in save_index() first seen in the test case for mdev-5382.
-
- 06 Dec, 2013 1 commit
-
-
Sergei Golubchik authored
-
- 05 Dec, 2013 2 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
When marking used columns the function find_field_in_table_ref() erroneously called the walk method for the real item behind a view/derived table field with the second parameter set to TRUE. This erroneous code was introduced in 2006.
-
- 04 Dec, 2013 1 commit
-
-
unknown authored
Correct processing of view/derived with no tables added.
-
- 03 Dec, 2013 1 commit
-
-
Alexander Barkov authored
"Conditional jump or move depends on uninitialised" in Item_time_typecast::get_date. Adding "null_value" into the debug assert condition.
-
- 02 Dec, 2013 2 commits
-
-
Sergei Golubchik authored
-
Alexander Barkov authored
modified: mysql-test/r/func_time.result mysql-test/t/func_time.test sql-common/my_time.c sql/item_func.h sql/item_timefunc.cc sql/mysql_priv.h sql/time.cc
-
- 01 Dec, 2013 1 commit
-
-
Sergei Golubchik authored
-
- 29 Nov, 2013 1 commit
-
-
Sergei Golubchik authored
Fix ha_myisammrg::update_create_info() to do what ha_myisammrg::append_create_info() does - take sub-table names from TABLE_LIST, not reverse engineer tablefile names. Backport praveenkumar.hulakund@oracle.com-20120127081643-u7dxy23i8yyqarm7 from mysql-5.6
-
- 27 Nov, 2013 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
run tokudb suites by default. mark big and slow tests tokudb.change_column_all_1000_1 and tokudb.change_column_all_1000_10 test as --big
-
Sergey Petrunya authored
- For INSERT ... SELECT ... ON DUPLICATE KEY UPDATE, table elimination should check which tables are referenced in the ON DUPLICATE KEY UPDATE clause.
-
- 25 Nov, 2013 1 commit
-
-
Igor Babaev authored
remove_eq_conds() in the function make_join_statistics().
-
- 22 Nov, 2013 2 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
-
- 21 Nov, 2013 2 commits
-
-
Igor Babaev authored
The earlier pushed fix for the bug was incomplete. It did not remove the main cause of the problem: the function remove_eq_conds() removed always true multiple equalities from any conjunct, but did not adjust the list of them stored in Item_cond_and::cond_equal.current_level. Simplified the test case for the bug and moved it to another test file. The fix triggered changes in EXPLAIN EXTENDED for some queries.
-
Alexander Barkov authored
Fixed.
-
- 20 Nov, 2013 2 commits
-
-
Sergei Golubchik authored
create mysql user with /sbin/nologin shell
-
Sergei Golubchik authored
-