- 30 Jul, 2017 3 commits
-
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
- 29 Jul, 2017 3 commits
-
-
Vicențiu Ciorbaru authored
Following merge from 5.6.36, this merge also rejects changes that collided with the rejection of 6ca4f693c1ce472e2b1bf7392607c2d1124b4293. We initially rejected 6ca4f693c1ce472e2b1bf7392607c2d1124b4293 because it was introducing a new storage engine API method.
-
Vicențiu Ciorbaru authored
One query was removed due to inconsistent behaviour with subquery cache enabled vs disabled. MDEV-13399 has been created to track this change and fix.
-
Vicențiu Ciorbaru authored
-
- 27 Jul, 2017 5 commits
-
-
Vicențiu Ciorbaru authored
slave_skip_counter must not be reset to 0 during purge_relay_logs. See MDEV-4937 as to when this change happened.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 24 Jul, 2017 1 commit
-
-
Vicențiu Ciorbaru authored
-
- 22 Jul, 2017 1 commit
-
-
Sergei Golubchik authored
-
- 21 Jul, 2017 1 commit
-
-
Jan Lindström authored
Problem was that dict_sys->size tries to maintain used memory occupied by the data dictionary table and index objects. However at least on table objects table->heap size can increase between when table object is inserted to dict_sys and when it is removed from dict_sys causing inconsistency on amount of memory added to and removed from dict_sys->size variable. Removed unnecessary dict_sys:size variable as it is really used only for status output. Introduced dict_sys_get_size function to calculate memory occupied by the data dictionary table and index objects that is then used on show engine innodb output. dict_table_add_to_cache(), dict_table_rename_in_cache(), dict_table_remove_from_cache_low(), dict_index_remove_from_cache_low(), Remove size calculation. srv_printf_innodb_monitor(): Use dict_sys_get_size function to get dictionary memory allocated. xtradb_internal_hash_tables_fill_table(): Use dict_sys_get_size function to get dictionary memory allocated.
-
- 20 Jul, 2017 6 commits
-
-
Sergei Golubchik authored
apparently it uses a smaller per-thread stack
-
Sergei Golubchik authored
Backport of 7e29f2d6 from 10.1. Create_field does not set BINARY_FLAG, so the check didn't work at all. Also, character sets were already compared, so this check would've been redundant (if it would've worked).
-
Sergei Golubchik authored
InnoDB fix will come in MDEV-13360. Here I just fix upgrades from old unfixed InnoDBs - bad data makes the following copying ALTER TABLE to fail.
-
Sergei Golubchik authored
MDEV-13173 An RLIKE that previously worked on 10.0 now returns "Got error 'pcre_exec: recursion limit of 100 exceeded' from regexp" 1. use Regexp_processor_pcre::set_recursion_limit() to set the recursion limit depending on the current available stack size 2. make pcre stack frame to be estimated no less than 500 bytes. sometimes pcre estimates it too low, even though the manual says 500+16 bytes (it was estimated only 188 for me, actual frame size was 512). 3. do it for embedded too
-
Sergei Golubchik authored
Change the semantics of thd_get_error_context_description(). It no longer expects the caller to lock LOCK_thread_count (no caller ever did that anyway), but takes care of it internally.
-
Sergei Golubchik authored
-
- 19 Jul, 2017 2 commits
-
-
Daniel Bartholomew authored
-
Sachin Setiya authored
Problem rpl.rpl_mdev-11092 fails in buildbot because after starting slave in wait_for_slave_sql_error_and_skip.inc slave is started but there may be chances that we have not skipped the last error and Last_SQL_Errno is still not zero untill the end of rpl_end.inc , which will compare Last_SQL_Errno to 0. So in this this case rpl_mdev-11092 fails. Solution After starting slave in wait_for_slave_sql_error_and_skip.inc we will wait for Last_SQL_Errno to become 0.
-
- 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 4 commits
-
-
Daniel Black authored
Increased size in tests to allow for 100 character hostname. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
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.
-