- 11 Dec, 2015 5 commits
-
-
Otto Kekäläinen authored
The only difference between the files was the Debian standards line by one micro version. There was no logical motivation why there was separate control file for Debian and Ubuntu. The new debian/control file lives directly at the correct location and has the correct contents. Modify autobake.sh to take into account new control file location.
-
-
Daniel Black authored
-
Daniel Black authored
-
Sergey Vojtovich authored
OPTIMIZE TABLE against MyISAM/Aria table may fail and leave stale temporary file if mysql_file_create() returns 0 file descriptor. This was due to wrong condition, which considered 0 as failure. 5.5 doesn't have fix for MDEV-5679, thus 0 file descriptor is always occupied by stdin and this bug is not reproducible. 10.1 has fix for MDEV-8475, which hides this bug. No test case since it mostly depends on how OS returns file descriptors.
-
- 10 Dec, 2015 5 commits
-
-
Oleksandr Byelkin authored
fixed conversion
-
Jan Lindström authored
Called thd_progress_init() from several threads used for FT-index creation. For FT-indexes, need better way to report progress, remove current one for them.
-
Oleksandr Byelkin authored
removed outdated code which was causing error (no need reassign result for subqueries & Co)
-
Sergey Vojtovich authored
Correct InnoDB calls to progress report API: - second argument of thd_progress_init() is number of stages, one stage is enough for the row merge - third argument of thd_progress_report() is some value indicating threshold, for the row merge it is file->offset - second argument of thd_progress_report() is some value indicating current state, for the row merge it is file->offset - num_runs.
-
Oleksandr Byelkin authored
Double representation fixed (JSON is valid even with 'e' in the number)
-
- 09 Dec, 2015 1 commit
-
-
Sergei Petrunia authored
Fix the trivial problem: we were modifying function's arguments, not member variables. There is no testcase as this can't be easily checked from MTR.
-
- 04 Dec, 2015 1 commit
-
-
Vladislav Vaintroub authored
Avoid possible my_thread_end() in the main polling thread.
-
- 02 Dec, 2015 1 commit
-
-
Vladislav Vaintroub authored
Due to a bug in Visual Studio 2015 runtime, some newlines get lost which makes the bootstrapping fail (which also makes MSI installer non-functional). This does not have a visible effect on packages we produce so far, because we do not use VS2015 yet for building them.
-
- 30 Nov, 2015 1 commit
-
-
Monty authored
-
- 29 Nov, 2015 1 commit
-
-
Monty authored
This includes fixing all utilities to not have any memory leaks, as safemalloc warnings stopped tests from passing on MacOSX. - Ensure that all clients takes character-set-dir, as the libmysqlclient library will use it. - mysql-test-run now passes character-set-dir to all external clients. - Changed dynstr_free() so that it can be called twice (made freeing code easier) - Changed rpl_global_gtid_slave_state to be allocated dynamicly as it includes a mutex that needs to be initizlied/destroyed before my_end() is called. - Removed rpl_slave_state::init() and rpl_slave_stage::deinit() as their job are better handling by constructor and delete. - Print alias instead of table_name in check_duplicate_key as table_name may have been converted to lower case. Other things: - Fixed a case in time_to_datetime_with_warn() where we where using && instead of & in tests
-
- 27 Nov, 2015 1 commit
-
-
Monty authored
- Better error from check_slave_param - Better error message from TokuDB if it can't be compiled. - Marked rpl_mixed_drop_create_temp_table and rpl_stm_drop_create_temp_table as big tests to stop timeout failures on power8 - Added sync_slave_with_master to semisync_future-7591 to ensure that slave is up to date with master before calling rpl_end. - Disabled compiler warnings from connect and mroonga and on MacOSX. Mroonga: - Fixed bug when testing if file is a normal file that can be deleted - Marked a lot of date and datetime test to not run on macosx. This is because mktime() can't handle negative years and this restricts mroonga so that it can only store dates after the year 1900.
-
- 25 Nov, 2015 1 commit
-
-
Sergei Petrunia authored
warning in new gcc.
-
- 24 Nov, 2015 1 commit
-
-
Monty authored
- Added some extra command to rpl_start_stop to ensure that the IO thread has connected to the master before we shut down the server. - if signal returns signalhandler_t, use this with the alarm code - Added missing tests to sys_vars - Fixed some possible overflow bugs in tabxml.cpp
-
- 23 Nov, 2015 2 commits
- 19 Nov, 2015 1 commit
-
-
Sergei Golubchik authored
feedback was bzero-ing thd->status_vars.memory_used, but server was asserting the correct value of it
-
- 18 Nov, 2015 6 commits
-
-
Sergei Golubchik authored
-
Sergei Petrunia authored
RENAME TABLE code tries to update EITS statistics. It hung, because it used an index on (db_name,table_name) to find the table, and attempted to update these values at the same time. The fix is do what SQL UPDATE statement does when updating index that it's used for scanning: - First, buffer the rowids of rows to be updated, - then make the second pass to actually update the rows Also fixed the call to rename_table_in_stat_tables() in sql_rename.cc to pass the correct new database (before, it passed old db_name so cross- database renames were not handled correctly). Variant #2, with review feedback addressed.
-
Monty authored
rpl/rpl_mdev382 ; Wrong replace in show_binlog_events2.inc binlog/database ; Different error on Solaris if file exists mroonga/repair_table_no_index_file ; Different system error on Solaris partition_not_blackhole ; Different error on Solaris partition_myisam ; Different error on Solaris Some other failures in mroonga was because have_32bit.inc didn't correctly detect 64 bits on Solaris. Fixed using DEFAULT_MACHINE instead of MACHINE_TYPE for Sys_version_compile_machine.
-
Monty authored
-
Sergei Golubchik authored
feedback plugin needs to set tables->select_lex properly
-
Sergei Golubchik authored
make it possible to change feedback plugin wait intervals * only in debug builds * and force the feedback report to be ignored update the test to use this feature
-
- 17 Nov, 2015 2 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
- 14 Nov, 2015 2 commits
-
-
Kristian Nielsen authored
-
Monty authored
-
- 13 Nov, 2015 7 commits
-
-
Monty authored
Bug was that ReplSemiSyncMaster::commitTrx() was waiting on a condition for state to change, but didn't take into account that one could have disabled semi-sync during the wait.
-
Kristian Nielsen authored
-
Kristian Nielsen authored
-
Kristian Nielsen authored
-
Kristian Nielsen authored
Problem is that FLUSH TABLES WITH READ LOCK first blocks threads from starting new commits, then waits for running commits to complete. But in-order parallel replication needs commits to happen in a particular order, so this can easily deadlock. To fix this problem, this patch introduces a way to temporarily pause the parallel replication worker threads. Before starting FTWRL, we let all worker threads complete in-progress transactions, and then wait. Then we proceed to take the global read lock. Once the lock is obtained, we unpause the worker threads. Now commits are blocked from starting by the global read lock, so the deadlock will no longer occur.
-
Kristian Nielsen authored
Preparation patch, moving the GCO wait into a separate function, in preparation for adding a separate wait phase for FLUSH TABLES WITH READ LOCK.
-
Kristian Nielsen authored
Before, the Seconds_behind_master was updated already when an event was queued for a worker thread to execute later. This might lead users to interpret a low value as the slave being almost up to date with the master, while in reality there might still be lots and lots of events still queued up waiting to be applied by the slave. See https://lists.launchpad.net/maria-developers/msg08958.html for more detailed discussions.
-
- 12 Nov, 2015 2 commits
-
-
Sergei Petrunia authored
-
Monty authored
-