- 20 Jul, 2017 11 commits
-
-
Teemu Ollakka authored
Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
Daniele Sciascia authored
Sync waiting before processing SQLCOM_REPLACE was not necessary given that this case falls through to processing of SQLCOM_INSERT. In case of SQLCOM_REPLACE, wsrep_sync_wait would be called twice. Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
Daniele Sciascia authored
The following commands are now subject to wsrep_sync_wait with bitmask value 8: SHOW BINARY LOGS SHOW BINLOG EVENTS SHOW GRANTS Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
Daniele Sciascia authored
Previously, setting `wsrep_sync_wait = 1` would have an effect on both SELECT and SHOW statements. This patch changes wsrep_sync_wait so that bitmask value 1 is used for SELECT statements, while bitmask value 8 is reserved for SHOW statements. It is still possible to achieve sync wait on both SELECT and SHOW statements by setting `wsrep_sync_wait = 9`. Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
sjaakola authored
Skipping wsrep extra FK check for applier and replayer Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
sjaakola authored
Pushed fix for a typo Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
Teemu Ollakka authored
Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
Jan Lindström authored
-
sjaakola authored
Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
sjaakola authored
Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
-
Jan Lindström authored
-
- 18 Jul, 2017 12 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Daniel Black authored
Inspired by: https://github.com/devexp-db/mariadb/blob/f27/mariadb-covscan-stroverflow.patch
-
Daniel Black authored
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Sergei Golubchik authored
test case
-
Sergei Golubchik authored
simplify. add a test case.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Oleksandr Byelkin authored
MDEV-11240: Server crashes in check_view_single_update or Assertion `derived->table' failed in mysql_derived_merge_for_insert Move table pointer for single table view (even if it is view over other view) to make the access universal.
-
Alexey Botchkov authored
Set name_length properly in Item_idnet constructors.
-
Daniel Black authored
end_io_call uses uninitialized values from the new_data_cache As such we the buffer 0 and check this before calling end_io_cache on it. Thanks Sergey Vojtovich for the review and for this solution. Found by Coverity (ref 972481).
-
- 17 Jul, 2017 2 commits
-
-
Elena Stepanova authored
-
Alexander Barkov authored
A few tests assumes that the CYCLE timer is always available, which is not true on some platforms (e.g. ARM). Fixing the tests not to reply on the CYCLE availability.
-
- 15 Jul, 2017 3 commits
-
-
Sergei Golubchik authored
in ab785bfe
-
Daniel Black authored
Coverity report this as: CID 971840 (#1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT) result_independent_of_operands: 4 | (flags & 1) is always true regardless of the values of its operands. This occurs as the logical first operand of "?:". The C order of precidence has | of higher precidence than ?:. The intenting implies an | of the 3 terms. Adjust to intented meaning.
-
Sergei Golubchik authored
Avoid using STDERR_FILENO. The server uses freopen(stderr), so stderr can be on any file descriptor.
-
- 14 Jul, 2017 1 commit
-
-
Daniel Black authored
field_names[x][y] is a pointer client/mysql.cc: In function 'void build_completion_hash(bool, bool)': client/mysql.cc:2855:37: error: invalid conversion from 'char' to 'char*' [-fpermissive] field_names[i][num_fields*2]= '\0'; Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
- 13 Jul, 2017 1 commit
-
-
Sergei Golubchik authored
Same MDEV, second bug. Merge buffer must fit at least MERGEBUFF2 (that is, 15) key values. Because merge_index() can merge that many buffers, and merge_many_buff() leaves that many buffers unmerged.
-
- 12 Jul, 2017 7 commits
-
-
Sergei Golubchik authored
use the correct value for the merge_buffer size, max_in_memory_size is too small and merge_walk() fails. also: remove a cast.
-
Sergei Golubchik authored
already fixed by be55bbc2 just add a test case
-
Sergei Golubchik authored
only compare field references with an alias (from the SELECT clause) when this reference doesn't specify an explicit table name part.
-
Sergei Golubchik authored
remove unused variable
-
Sergei Golubchik authored
already fixed by a7ed4644. just add a test case,
-
Sergei Golubchik authored
upper->item can be NULL if we're referring to an aggregate function
-
Sergei Golubchik authored
Item_in_subselect::pushed_cond_guards[] array is allocated only when left_expr->maybe_null. And it is used (for row expressions) when left_expr->element_index(i)->maybe_null. For left_expr being a multi-column subquery, its maybe_null is always false when the subquery doesn't use tables (see Item_singlerow_subselect::fix_length_and_dec() and subselect_single_select_engine::fix_length_and_dec()), otherwise it's always true. But row elements can be NULL regardless, so let's always allocate pushed_cond_guards for multi-column subqueries, no matter whether its maybe_null was forced to true or false.
-
- 06 Jul, 2017 1 commit
-
-
Sergei Golubchik authored
-
- 05 Jul, 2017 1 commit
-
-
Oleksandr Byelkin authored
MDEV-10146: Wrong result (or questionable result and behavior) with aggregate function in uncorrelated SELECT subquery When outer reference resolved in a VIEW it still should mark aggregate function resolving border.
-
- 04 Jul, 2017 1 commit
-
-
Daniel Black authored
Found by Coverity (id 971843). Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-