- 15 Nov, 2016 1 commit
-
-
Kristian Nielsen authored
-
- 10 Nov, 2016 1 commit
-
-
Alexander Barkov authored
MDEV-10780 Server crashes in in create_tmp_table MDEV-11265 Access defied when CREATE VIIEW v1 AS SELECT DEFAULT(column) FROM t1 Item_default_value and Item_insert_value erroneously derive from Item_field but forgot to override some methods that apply only to true fields, so the server code mixes Item_{default|insert}_value instances with real table fields (i.e. true Item_field) in some cases. Overriding a few methods to avoid this. TODO: we should eventually derive Item_default_value (and Item_insert_value) directly from Item, as they don't really need the entire Item_field, Item_ident and Item_result_field functionality. Only the member "Field *field" related functionality is actually needed, like val_xxx(), is_null(), get_geometry_type(), charset_for_protocol(), etc.
-
- 04 Nov, 2016 1 commit
-
-
Kristian Nielsen authored
This occured when the SQL thread (but not the IO thread) stops while GTID and parallel replication are used with multiple domain ids in the GTID position, and is restarted. In this case, the SQL needs to start some way back in the relay log, applying or skipping events within each replication domain as appropriate. The SQL threads starts at the beginning of an old relay log file, and this position may be in the middle of an event group. The bug was that such partial event group could be re-applied, causing replication corruption. This patch fixes the issue, by making sure to skip any initial events that were part of an earlier (already applied) event group.
-
- 01 Nov, 2016 1 commit
-
-
Jan Lindström authored
as currently MariaDB does not support compressed columns.
-
- 31 Oct, 2016 1 commit
-
-
Jan Lindström authored
-
- 28 Oct, 2016 2 commits
-
-
Daniel Bartholomew authored
-
Sergey Vojtovich authored
The hardening-wrapper package has been removed from Debian Sid. Remove dependency and relevant settings.
-
- 27 Oct, 2016 4 commits
-
-
Oleksandr Byelkin authored
-
Sergei Golubchik authored
Update test results after 26b87c33
-
Igor Babaev authored
In the function create_key_parts_for_pseudo_indexes() the key part structures of pseudo-indexes created for BLOB fields were set incorrectly. Also the key parts for long fields must be 'truncated' up to the maximum length acceptable for key parts.
-
Igor Babaev authored
1. When min/max value is provided the null flag for it must be set to 0 in the bitmap Culumn_statistics::column_stat_nulls. 2. When the calculation of the selectivity of the range condition over a column requires min and max values for the column then we have to check that these values are provided.
-
- 26 Oct, 2016 9 commits
-
-
Alexey Botchkov authored
'mysql.proc' doesn't exist. The mysql_rm_db() doesn't seem to expect the 'mysql' database to be deleted. Checks for that added. Also fixed the bug MDEV-11105 Table named 'db' has weird side effect. The db.opt file now removed separately.
-
Sergei Golubchik authored
cherry-pick from 5.7: commit 6b24763 Author: Manish Kumar <manish.4.kumar@oracle.com> Date: Tue Mar 27 13:10:42 2012 +0530 BUG#12977988 - ON STOP SLAVE: ERROR READING PACKET FROM SERVER: LOST CONNECTION TO MYSQL SERVER BUG#11761457 - ERROR 2013 + "ERROR READING RELAY LOG EVENT" ON STOP SLAVEBUG#12977988 - ON STOP SLAVE: ERROR READING PACKET FROM SERVER: LOST CONNECTION TO MYSQL SERVER
-
Sergei Golubchik authored
-
Jan Lindström authored
Problem was that if old virtual column is computed and stored there was no check if new column is really virtual column.
-
Sergey Vojtovich authored
It is set in sql_yacc.yy.
-
Sergey Vojtovich authored
Code flow hit incorrect branch while closing table instances before removal. This branch expects thread to hold open table instance, whereas CREATE OR REPLACE doesn't actually hold open table instance. Before CREATE OR REPLACE TABLE it was impossible to hit this condition in LTM_PRELOCKED mode, thus the problem didn't expose itself during DROP TABLE or DROP DATABASE. Fixed by adjusting condition to take into account LTM_PRELOCKED mode, which can be set during CREATE OR REPLACE TABLE.
-
Daniel Black authored
The following directives to ignore warnings where in the PerconaFT build in tokudb. These generate errors when g++ ... -o xxx.so is used to compile are shared object. As these don't actually hit any warnings they have been removed. * -Wno-ignored-attributes * -Wno-pointer-bool-conversion Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Vladislav Vaintroub authored
coming from Percona's workaround for glibc bug http://bugs.mysql.com/bug.php?id=82886
-
Sergei Golubchik authored
-
- 25 Oct, 2016 12 commits
-
-
Vladislav Vaintroub authored
The crash is caused by macro uint3korr() accessing memory (1 byte) past the end of allocated page. The macro is written such it reads 4 bytes instead of 3 and discards the value of the last byte. However, it is not always guaranteed that all uint3korr accesses will be valid (i.e that the caller allocates an extra byte after the value). In particular, the tree in Item_func_group_concat does not account for any extra bytes that it would need for comparison of keys in some cases (Field_newdate::cmp, Field_medium::cmp) The fix change uint3korr so it does not access extra bytes.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
commented out the "compressed columns" feature
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Vicențiu Ciorbaru authored
This reverts commit 1daf746e. Removed temporarily to make sure there are no legal problems.
-
Vicențiu Ciorbaru authored
The man page was already present in the debian release of MariaDB 10.0.
-
Vicențiu Ciorbaru authored
Make use of a different function to get the current tid. Additionally, librt doesn't exist on OS X. Use System library instead.
-
Vladislav Vaintroub authored
- don't use stat() for file size, it doesn not handle large size use GetFileSizeEx() instead - don't use lseek(), it can't handle large files, use _lseeki64() instead. - Also, switch off OS file buffering for innochecksum on Windows, to avoid thrashing file cache.
-
Don Lewis authored
Clang/LLVM has more strict schemantics than gcc. This patch quantifies the namesspace such that it will compile using clang.
-
- 23 Oct, 2016 1 commit
-
-
Elena Stepanova authored
-
- 22 Oct, 2016 1 commit
-
-
Vladislav Vaintroub authored
Prior to this patch name of the user was read from environment variable USER, with a fallback to 'ODBC', if the environment variable is not set. The name of the env.variable is incorrect (USERNAME usually contains current user's name, but not USER), which made client to always determine current user as 'ODBC'. The fix is to use GetUserName() instead.
-
- 21 Oct, 2016 3 commits
-
-
Kristian Nielsen authored
From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838914 Fixes CMake so that when building a 32-bit mips binary on a 64-bit mips machine, the target is not set as 32-bit, which apparently confused some tests in mroonga.
-
Kristian Nielsen authored
The patch fixes 128-bit multiply on mips64. This corrects a previous incorrect patch upstreamed from Debian.
-
Kristian Nielsen authored
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838557 MIPS has a different errno for "directory not empty".
-
- 18 Oct, 2016 1 commit
-
-
Vladislav Vaintroub authored
Fix PSI idle and socket instrumentation in threadpool
-
- 17 Oct, 2016 2 commits
-
-
Daniel Bartholomew authored
-
Elena Stepanova authored
Patch provided by Honza Horak
-