- 29 Oct, 2013 3 commits
-
-
unknown authored
-
unknown authored
There was 2 problems: 1) coping/moving of the same type (usually casting) as sizeof() (solved in different ways depends on the cause); 2) using 'const' in SSL_CTX::getVerifyCallback() which return object (not reference) and so copy of the object will be created and 'const' has no sens.
-
timour@askmonty.org authored
Analysis: st_select_lex_unit::prepare() computes can_skip_order_by as TRUE. As a result join->prepare() gets called with order == NULL, and doesn't do name resolution for the inner ORDER clause. Due to this the prepare phase doesn't detect that the query references non-exiting function and field. Later join->optimize() calls update_used_tables() for a non-resolved Item_field, which understandably has no Field object. This call results in a crash. Solution: Resolve unnecessary ORDER BY clauses to detect if they reference non-exising objects. Then remove such clauses from the JOIN object.
-
- 24 Oct, 2013 1 commit
-
-
Sergey Petrunya authored
- Backport MySQL's fix: do set ha_partition::m_pkey_is_clustered for ha_partition objects created with handler->clone() call. - Also, include a testcase.
-
- 23 Oct, 2013 1 commit
-
-
unknown authored
test time increased to be working on all timezones.
-
- 21 Oct, 2013 6 commits
-
-
Sergey Vojtovich authored
Slackware install docs to different folder, which wasn't handled by file_contents test properly. E.g. on Redhat/Debian docs are expected to be in /usr/share/doc/mariadb-server-(version), but on Slackware they are in /usr/doc/mariadb-(version). For details see Slackware mariadb build script: http://slackbuilds.org/slackbuilds/14.0/system/mariadb/mariadb.SlackBuild
-
unknown authored
MDEV-5143: update of a joined table with a nested subquery with a syntax error crashes mysqld with signal 11 Added check of SELECT_LEX::handle_derived() result.
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
- 16 Oct, 2013 7 commits
-
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
unknown authored
fix for SP & PS
-
- 11 Oct, 2013 1 commit
-
-
unknown authored
MDEV-5034:Wrong result on LEFT JOIN with a SELECT SQ or a merge view, UNION in IN subquery Make reset null_row same as it was set in evaluate_null_complemented_join_record(). The problem was that view firlds detect null_row by not-yet-reset table.
-
- 14 Oct, 2013 1 commit
-
-
Igor Babaev authored
The patch for bug mdev-5105 incorrectly counted conditions in nested joins.
-
- 12 Oct, 2013 1 commit
-
-
Igor Babaev authored
Objects of the classes Item_func_isnull and Item_func_isnotnull must have the flag sargable set to TRUE. Set the value of the flag sargable only in constructors of the classes inherited from Item_int_func.
-
- 11 Oct, 2013 1 commit
-
-
Igor Babaev authored
-
- 10 Oct, 2013 1 commit
-
-
Igor Babaev authored
The bug caused a memory overwrite in the function update_ref_and_keys() It happened due to a wrong value of SELECT_LEX::cond_count. This value historically was calculated by the fix_fields method. Now the logic of calling this method became too complicated and, as a result, this value is calculated not always correctly. The patch changes the way how and when the values of SELECT_LEX::cond_count and of SELECT_LEX::between_count are calculated. The new code does it just at the beginning of update_ref_and_keys().
-
- 04 Oct, 2013 2 commits
-
-
Igor Babaev authored
For aggregated fields from views/derived tables the possible adjustment of thd->lex->in_sum_func->max_arg_level in the function Item_field::fix_fields must be done before we leave the function.
-
unknown authored
Added collection statistics for queries resolved via query cache.
-
- 14 Oct, 2013 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
-
Alexey Botchkov authored
The emb_free_embedded_thd() has the thread-unsafe code so should be 'mutexed' also.
-
- 13 Oct, 2013 2 commits
-
-
Igor Babaev authored
-
Alexey Botchkov authored
LOCK_thread_count locked when we do threads.append().
-
- 10 Oct, 2013 1 commit
-
-
Alexey Botchkov authored
Additional patch for the 5.5.
-
- 09 Oct, 2013 1 commit
-
-
Alexey Botchkov authored
The Gis_point::init_from_wkt called the String::realloc(), and this call is quite slow in the DEBUG mode. Which makes loading the huge polygon hang forever. Fixed by using the String::realloc(size, inc_size) version instead as it's done for other spatial features.
-
- 03 Oct, 2013 1 commit
-
-
Igor Babaev authored
Apparently in a general case a short-cut for the distinct optimization is invalid if join buffers are used to join tables after the tables whose values are to selected.
-
- 26 Sep, 2013 1 commit
-
-
Vladislav Vaintroub authored
allow user-defined EXECINFO_ROOT prefix, in case library and header are not placed under /usr/local . This change was requested by FreeBSD maintainer.
-
- 25 Sep, 2013 2 commits
- 24 Sep, 2013 1 commit
-
-
Vladislav Vaintroub authored
Bundled jemalloc can only be on Linux and OSX without problems. On BSDs, build fails because make does not understand GNU extensions (also BSDs do not need jemalloc, it is already system malloc). On Solaris, build fails with compile error.
-
- 23 Sep, 2013 3 commits
-
-
Vladislav Vaintroub authored
-
Michael Widenius authored
-
Michael Widenius authored
- Better error message when using huge pages - Fixed link error - Test suite should run even on system with huge pages storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake: Fixed that linking works on systems that uses lib64 storage/tokudb/ft-index/portability/huge_page_detection.cc: Better error message storage/tokudb/mysql-test/rpl/suite.pm: Test suite should run even on system with huge pages storage/tokudb/mysql-test/tokudb/suite.pm: Test suite should run even on system with huge pages
-