- 12 Jul, 2016 9 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Rik Prohaska authored
-
Sergei Golubchik authored
don't call strlen() in the loop
-
Sergei Golubchik authored
a test case for a broken vcols behavior with different charsets. this is fixed in 10.2
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
MDEV-10211 : fix ssl test not to use specific value of ssl_cipher, as it can change between different openssl/yassl version
-
Sergei Golubchik authored
add a test case
-
Vicențiu Ciorbaru authored
Addreses are not necessarily between heap_start && heap_end. Malloc calls using mmap can place pointers outside these bounds. In this case, we'll warn the user that the query pointer is potentially invalid. However, we'll attempt to print the data anyway after we're done printing everything else.
-
- 11 Jul, 2016 1 commit
-
-
Vladislav Vaintroub authored
MDEV-10318 : Fix crash in embedded, in case prepared statement has parameter placeholders, but does not bind parameters
-
- 06 Jul, 2016 1 commit
-
-
Sergei Golubchik authored
-LONGLONG_MIN is the undefined behavior in C. longlong2decimal() used to do this: int longlong2decimal(longlong from, decimal_t *to) { if ((to->sign= from < 0)) return ull2dec(-from, to); return ull2dec(from, to); and later in ull2dec() (DIG_BASE is 1000000000): static int ull2dec(ulonglong from, decimal_t *to) { for (intg1=1; from >= DIG_BASE; intg1++, from/=DIG_BASE) {} this breaks in gcc-5 at -O3. Here ull2dec is inlined into longlong2decimal. And gcc-5 believes that 'from' in the inlined ull2dec is always a positive integer (indeed, if it was negative, then -from was used instead). So gcc-5 uses *signed* comparison with DIG_BASE. Fix: make a special case for LONGLONG_MIN, don't negate it
-
- 04 Jul, 2016 1 commit
-
-
Jan Lindström authored
innodb_shutdown_for_mysql in ppc64el on test case innodb_fts.innodb_fts_stopword_charset.
-
- 30 Jun, 2016 1 commit
-
-
Sergey Vojtovich authored
State column of SHOW PROCESSLIST can have NULL values for being initialized threads (between new connection was acknowledged and waiting for network data). Fixed test case to handle such cases by waiting for State to become empty string.
-
- 28 Jun, 2016 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 24 Jun, 2016 2 commits
-
-
Daniel Bartholomew authored
-
Oleksandr Byelkin authored
thd should not be taken earlier then fix_field and reset on fix_fields if it is needed.
-
- 23 Jun, 2016 5 commits
-
-
Sergey Vojtovich authored
-
Sergey Vojtovich authored
Disable output of MDL lock duration since there is no facility to retreive it properly.
-
Sergey Vojtovich authored
Reverted APC based fix. APC subsystem is not ready to serve metadata_lock_info needs.
-
Jan Lindström authored
commit ef92aaf9 Author: Jan Lindström <jan.lindstrom@mariadb.com> Date: Wed Jun 22 22:37:28 2016 +0300 MDEV-10083: Orphan ibd file when playing with foreign keys Analysis: row_drop_table_for_mysql did not allow dropping referenced table even in case when actual creating of the referenced table was not successfull if foreign_key_checks=1. Fix: Allow dropping referenced table even if foreign_key_checks=1 if actual table create returned error.
-
Jan Lindström authored
Analysis: row_drop_table_for_mysql did not allow dropping referenced table even in case when actual creating of the referenced table was not successfull if foreign_key_checks=1. Fix: Allow dropping referenced table even if foreign_key_checks=1 if actual table create returned error.
-
- 22 Jun, 2016 9 commits
-
-
Sergei Golubchik authored
windows: use GetProcAddress() to access internal server data structures rhel5: CONNECT-JDBC requires at least Java 1.6
-
Dimitri John Ledkov authored
This used to be a compile failure. The defined structure isn't required in the later versions of boost. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
Vicențiu Ciorbaru authored
Fix the replication failure caused by incorect initialization of THD::invoker_host && THD::invoker_user. Breakdown of the failure is this: Query_log_event::host and Query_log_event::user can have their LEX_STRING's set to length 0, but the actual str member points to garbage. Code afterwards copies Query_log_event::host and user to THD::invoker_host and THD::invoker_user. Calling code for these members expects both members to be initialized. Eg. the str member be a NULL terminated string and length have appropriate size.
-
Igor Pashev authored
The bug is apparent when the username is longer than the rolename. It is caused by a simple typo that caused a memcmp call to compare a different number of bytes than necessary. The fix was proposed by Igor Pashev. I have reviewed it and it is the correct approach. Test case introduced by me, using the details provided in the MDEV. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
Sergei Golubchik authored
-
Sergei Golubchik authored
disable unstable tokudb tests, (old change that was lost in a merge)
-
Sergei Golubchik authored
1. remove unnecessary rpl-tokudb combination file. 2. fix rpl_ignore_table to cleanup properly (not leave test grants in memory) 3. check_temp_dir() is supposed to set the error in stmt_da - do it even when called multiple times, this fixes a crash when rpl.rpl_slave_load_tmpdir_not_exist is run twice.
-
Sergei Golubchik authored
fix constants to stay 64-bit instead of being truncated by VS. this fixes a hang on startup.
-
Sergei Golubchik authored
in particular, revert changes to the spider (avoid diverging from the upstream if possible)
-
- 21 Jun, 2016 9 commits
-
-
Sergey Vojtovich authored
Added missing target_thd initialization when processing local thread.
-
Alexander Barkov authored
The patch fixes the problem with loading information from system tables (e.g. event and help related tables) when PAD_CHAR_TO_FULL_LENGTH is enabled, as well as includes some additional minor improvements: - refactoring in get_field() to return an error rather than success if strmake_root() failed - removing of duplicate code in similar functions: char *get_field(MEM_ROOT *mem, Field *field) bool get_field(MEM_ROOT *mem, Field *field, String *res)
-
Vladislav Vaintroub authored
-
Oleksandr Byelkin authored
MDEV-5973: MySQL Bug#11757486:49539: NON-DESCRIPTIVE ERR (ERROR 0 FROM STORAGE ENGINE) WITH MULTI-TABLE UPDATE Condition in processing IGNORE clause for UPDATE & multi-table UPDATE made the same.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-