- 23 Sep, 2016 2 commits
-
-
Daniel Black authored
* Out of tree build: mysql_install_db to see all .sql files Since MDEV-7875 (da0991c6), not all sql source files are in the source directory, maria_add_gis_sp_bootstrap.sql is in the build directory. This corrects mysql_install_db{.sh} to be aware of the differing locations. Signed-off-by: Daniel Black <daniel.black@au.ibm.com> * Out of tree build: scripts/mysql_install_db.pl.in Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Jan Lindström authored
are not consistent on parallel mtr runs.
-
- 22 Sep, 2016 5 commits
-
-
Jan Lindström authored
tablespace. Instead use fil_read() with syncronous setting. Fix test failures and mask tablespace number as it could change in concurrent mtr runs.
-
Jan Lindström authored
Analysis: By design InnoDB was reading first page of every .ibd file at startup to find out is tablespace encrypted or not. This is because tablespace could have been encrypted always, not encrypted newer or encrypted based on configuration and this information can be find realible only from first page of .ibd file. Fix: Do not read first page of every .ibd file at startup. Instead whenever tablespace is first time accedded we will read the first page to find necessary information about tablespace encryption status. TODO: Add support for SYS_TABLEOPTIONS where all table options encryption information included will be stored.
-
Seamus Lee authored
* Fix undefined database test error when running mysql_install_db When using mariaDb in docker mode it can fail as it calls mysql_install_db but as we are going through a slightly different install process the test database has not been created, therefore we should fall back to the mysql database as per https://mariadb.com/kb/en/mariadb/mariadb-10112-mysql_install_db-aborts-on-unkown-file-test/ * Also fix mysql_install_db.pl.in
-
Alexander Barkov authored
-
Alexander Barkov authored
MDEV-10425 Assertion `collation.derivation == DERIVATION_IMPLICIT' failed in Item_func_conv_charset::fix_length_and_dec() MDEV-10850 Wrong result for WHERE .. (f2=TO_BASE64('test') OR f2=TO_BASE64('TEST')) Problem N1: MDEV-10425 Item_func_{md5|sha|sha2}::fix_length_and_dec() changed args[0]->collation to force binary comparison in args[0]->eq(). It was done to treat e.g. MD5('a') and MD5('A') as different values. It is wrong for a Item_func_xxx to modify its arguments. Item_func_conv_charset did not expect that and crashed on assert. Problem N2: MDEV-10850 Item_func_to_base64, Item_func_password, Item_func_hex are also case sensitive hash functions, but they did not compare their arguments as binary. Solution: - Removing the code changing args[0]->collation - Introducing Item_str_ascii_checksum_func as a common parent for Item_func_{md5|sha|sha2|password|hex|to_base64} and overriding its eq() method to compare arguments binary.
-
- 21 Sep, 2016 2 commits
-
-
Alexander Barkov authored
-
Nirbhay Choubey authored
While copying the received state Id (uuid:seqno) to an uninitialized buffer, it was not properly null-terminated.
-
- 20 Sep, 2016 1 commit
-
-
Nirbhay Choubey authored
-
- 09 Sep, 2016 2 commits
-
-
Kristian Nielsen authored
-
Alexander Barkov authored
-
- 08 Sep, 2016 1 commit
-
-
Kristian Nielsen authored
When a deadlock kill is detected inside the storage engine, the kill is not done immediately, to avoid calling back into the storage engine kill_query method with various lock subsystem mutexes held. Instead the kill is queued and done later by a slave background thread. This patch in preparation for fixing TokuDB optimistic parallel replication, as well as for removing locking hacks in InnoDB/XtraDB in 10.2. Signed-off-by: Kristian Nielsen <knielsen at knielsen-hq.org>
-
- 06 Sep, 2016 1 commit
-
-
Sergei Golubchik authored
without preceding sys_vars.wsrep_provider_basic
-
- 05 Sep, 2016 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 02 Sep, 2016 2 commits
-
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
Once THDs have been added to the global "threads" list, they must modify query_string only after acquiring per- thread LOCK_thd_data mutex.
-
- 31 Aug, 2016 2 commits
-
-
Oleksandr Byelkin authored
take into account all arguments of aggregate function
-
Sergey Vojtovich authored
remove die() from BUILD/autorun.sh
-
- 30 Aug, 2016 1 commit
-
-
Daniel Bartholomew authored
-
- 29 Aug, 2016 2 commits
-
-
Oleksandr Byelkin authored
Make aggregate function dependency visible.
-
Oleksandr Byelkin authored
Do not set 'optimized' flag until whole optimization procedure is finished.
-
- 27 Aug, 2016 1 commit
-
-
Elena Stepanova authored
List of unstable tests for 10.1
-
- 26 Aug, 2016 3 commits
-
-
Nirbhay Choubey authored
Activated by enabling wsrep_debug.
-
Sergei Golubchik authored
-
Nirbhay Choubey authored
-
- 25 Aug, 2016 5 commits
-
-
Nirbhay Choubey authored
-
Sergei Petrunia authored
Fix an issue in Single_line_formatting_helper: flush_on_one_line() didn't clean up the buffered items which could cause them to be printed for the second time. This can't be ever observed by a user (see MDEV text for details).
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Alexander Kuleshov authored
This patch removes die() function from the BUILD/autorun.sh. It was introduced in the c6825704 commit (Fix BUILD/autorun.sh to really bail out on error.). Last users of die() was removed in the 8664de22 commit (WL#5665: Removal of the autotools-based build system) and since it is not used anywhere. No functionality changes. Just cleanup.
-
- 24 Aug, 2016 6 commits
-
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
In galera cluster, the definer (and thus binlog invoker) must be set for CREATE ROLE before Query_log_event is created during TOI on the originating node.
-
Sergei Golubchik authored
auth_pam: debug output
-
Elena Stepanova authored
- mysql-test/unstable-tests list is created, it includes = tests identified as unstable by Debian; = tests which failed in buildbot on 10.0 over the last ~6 months and were not fixed; = tests which have been recently modified or newly added - '*' wildcard is now supported in skip lists
-
- 23 Aug, 2016 2 commits
-
-
Vicențiu Ciorbaru authored
Followup from 5.5 patch. Removing memory barriers on intel is wrong as this doesn't prevent the compiler and/or processor from reorganizing reads before the mutex release. Forcing a memory barrier before reading the waiters will guarantee that no speculative reading takes place.
-
Vicențiu Ciorbaru authored
In well defined C code, the "this" pointer is never NULL. Currently, we were potentially dereferencing a NULL pointer (master_info_index). GCC v6 removes any "if (!this)" conditions as it assumes this is always a non-null pointer. In order to prevent undefined behaviour, check the pointer before dereferencing and remove the check within member functions.
-