- 23 Sep, 2015 4 commits
-
-
Elena Stepanova authored
-
Jan Lindström authored
MDEV-8832: Encryption meta data should not be stored when ENCRYPTED=DEFAULT and innodb-encrypt-tables=OFF
-
Alexander Barkov authored
Item_string::clone_item() creates a new Item_string that points exactly to the same buffer that the original one does. Later, Item_string::print() uses c_ptr() for the original Item_string, which reallocs the original buffer, and the clone remain with the old freed buffer. Refactoring the code not to use c_ptr() in Item_string::print().
-
Jan Lindström authored
Folloup: Made encryption rules too strict (and incorrect). Allow creating table with ENCRYPTED=OFF with all values of ENCRYPTION_KEY_ID but create warning that nondefault values are ignored. Allow creating table with ENCRYPTED=DEFAULT if used key_id is found from key file (there was bug on this) and give error if key_id is not found.
-
- 22 Sep, 2015 4 commits
-
-
Sergey Vojtovich authored
Failed attempt to load dynamic library with STB_GNU_UNIQUE symbol may corrupt internal dynamic linker data sructures. This looks like libdl bug: https://sourceware.org/bugzilla/show_bug.cgi?id=14577 In embedded mode "show plugins soname" fails to dlopen ha_mroonga.so (which has STB_GNU_UNIQUE) due to undefined reference to wsrep_forced_binlog_format. It crashes later in subsequent call to dlopen() from pthread_exit(). Disabled plugins.show_all_plugins until dlopen() bug is fixed.
-
Jan Lindström authored
Analysis: Problem sees to be the fact that we allow creating or altering table to use encryption_key_id that does not exists in case where original table is not encrypted currently. Secondly we should not do key rotation to tables that are not encrypted or tablespaces that can't be found from tablespace cache. Fix: Do not allow creating unencrypted table with nondefault encryption key and do not rotate tablespaces that are not encrypted (FIL_SPACE_ENCRYPTION_OFF) or can't be found from tablespace cache.
-
Alexander Barkov authored
-
Jan Lindström authored
Added decompression and after page update recompression support for import.
-
- 21 Sep, 2015 8 commits
-
-
Sergei Petrunia authored
Post fix: initialize a variable
-
Alexander Barkov authored
and collations from the global name space into private and protected methods in Item_func_or_sum.
-
Sergei Petrunia authored
The crash was caused by range optimizer using RANGE_OPT_PARAM::min_key (and max_key) to store keys. Buffer size was a good upper bound for range analysis and partition pruning, but not for EITS selectivity calculations. Fixed by making these buffers variable-size. The sizes are calculated from [pseudo]indexes used for range analysis.
-
Oleksandr Byelkin authored
-
Alexander Barkov authored
Using a CHARSET_INFO pointer instead.
-
Alexander Barkov authored
pointer instread, as the "derivation" and "repertoire" parts of DTCollation were not really used by user_var_entry.
-
Alexander Barkov authored
-
Alexander Barkov authored
Moving agg_arg_charsets_for_string_result() and agg_arg_charsets_for_string_result_with_comparison() inside "protected" section in Item_func_or_sum.
-
- 20 Sep, 2015 1 commit
-
-
Oleksandr Byelkin authored
-
- 19 Sep, 2015 2 commits
-
-
Nirbhay Choubey authored
-
Jan Lindström authored
-
- 18 Sep, 2015 3 commits
-
-
Alexander Barkov authored
MDEV-8816 Equal field propagation is not applied for WHERE varbinary_column>=_utf8'a' COLLATE utf8_general_ci AND varbinary_column='A'; 1. Removing the legacy code that disabled equal field propagation in cases when comparison is done as VARBINARY. This is now correctly handled by the new propagation code in Item_xxx::propagate_equal_fields() and Field_str::can_be_substituted_to_equal_item (the bug fix). 2. Also, removing legacy (pre-MySQL-4.1) Arg_comparator methods compare_binary_string() and compare_e_binary_string(), as VARBINARY comparison is correcty handled in compare_string() and compare_e_string() by the corresponding VARBINARY collation handler implemented in my_charset_bin. (not really a part of the bug fix)
-
Oleksandr Byelkin authored
Printing non-trivial HAVING added.
-
Alexander Barkov authored
WHERE COALESCE(time_column)=TIME('00:00:00') AND COALESCE(time_column)=DATE('2015-09-11') MDEV-8814 Wrong result for WHERE datetime_column > TIME('00:00:00')
-
- 17 Sep, 2015 4 commits
-
-
Alexander Barkov authored
which did not return a correct "end_of_num" pointer in case of character sets with mbminlen>1 (ucs2, utf16, utf16le, utf32). The bug caused sporadic test failures on BuildBot, as well "uninitialized memory read" errors in valgrind builds.
-
Jan Lindström authored
is linked statically and dynamic plugin is not available.
-
Oleksandr Byelkin authored
Added tid (thread ID) for system where it is present. ps -eL -o tid,pid,command shows the thread on Linux
-
Alexander Barkov authored
MDEV-8468 CAST and INSERT work differently for DECIMAL/INT vs DOUBLE for a string with trailing spaces
-
- 16 Sep, 2015 2 commits
-
-
Sergey Vojtovich authored
Contributed by Bill Parker. Added check for strndup() return value.
-
Jan Lindström authored
Allow enforce-storage-engine="" option and use that on mysql_install_db when doing bootstrap.
-
- 15 Sep, 2015 5 commits
-
-
Nirbhay Choubey authored
Updated address parsing logic to include IPv6 format.
-
Nirbhay Choubey authored
Fix the test case : switch to save_master_gtid.inc & sync_with_master_gtid.inc to sync slave with master.
-
Jan Lindström authored
-
Jan Lindström authored
MDEV-8799: Server crashes in btr_defragment_add_index, encryption.innodb-bad-key-change5 and alike fail in buildbot Problem was unsafe access to NULL pointer. Added additional checks to avoid access to NULL pointer.
-
Alexander Barkov authored
-
- 14 Sep, 2015 7 commits
-
-
Jan Lindström authored
-
Jan Lindström authored
MDEV-8772: Assertion failure in file ha_innodb.cc line 20027 when importing page compressed and encrypted tablespace using incorrect keys Add error handling to decryp function when decrypt fails during import.
-
Jan Lindström authored
MDEV-8769: Server crash at file btr0btr.ic line 122 when defragmenting encrypted table using incorrect keys Add error handling when getting block from encrypted table and decryption fails.
-
Jan Lindström authored
MDEV-8768: Server crash at file btr0btr.ic line 122 when checking encrypted table using incorrect keys Add error handling to btr_validate_index when index root block can't be read because block decryption fails.
-
Jan Lindström authored
Add a new error message when table is encrypted but decryption fails. Use this new error message on InnoDB/XtraDB.
-
Elena Stepanova authored
-
Elena Stepanova authored
type_spatial_indexes test is now be re-enabled, and the new result file can be used for creating engine-specific rdiffs
-