- 31 Jan, 2017 3 commits
-
-
Marko Mäkelä authored
Call trx_purge_state() only once, to avoid a race condition if the value changes while the conditions are being evaluated.
-
Marko Mäkelä authored
Also, work around MDEV-11948 by disabling native asynchronous I/O.
-
Marko Mäkelä authored
Remove the debug parameter innodb_force_recovery_crash that was introduced into MySQL 5.6 by me in WL#6494 which allowed InnoDB to resize the redo log on startup. Let innodb.log_file_size actually start up the server, but ensure that the InnoDB storage engine refuses to start up in each of the scenarios.
-
- 30 Jan, 2017 5 commits
-
-
Sergei Golubchik authored
this fixes occasional main.cte_recursive failures
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Sergei Golubchik authored
this fixes the crash in innodb.101_compatibility test
-
Sergei Golubchik authored
on shutdown it might happen that 1. the server starts killing THDs 2. it sets thd->killed in srv_purge_coordinator 3. srv_purge_coordinator notices that and tells srv_workers to exit 4. srv_worker will notice that and will start exiting, ... assert here ... 5. server sets thd->killed in worker threads that is, it might happen that the assert is tested before srv_worker's THD got the kill signal. this fixes various random crashes (on this assertion) on shutdown in tests
-
- 29 Jan, 2017 3 commits
-
-
Sergei Golubchik authored
ninja doesn't like when a dummy target name matches a generated file name
-
Sergei Golubchik authored
fix the check (must be have_ not HAVE_) also remove -O1 and -Wno-error, they aren't not needed for asan
-
Sergei Golubchik authored
also move *.zip files from t/ to std_data/
-
- 28 Jan, 2017 3 commits
-
-
Igor Babaev authored
The temporary tables created for recursive table references should be closed in close_thread_tables(), because they might be used in the statements like ANALYZE WITH r AS (...) SELECT * from r where r is defined through recursion.
-
Sergei Golubchik authored
that failed main.mysqlbinlog
-
Sergei Golubchik authored
1. wait for thd_destructor_proxy thread to start after creating it. this ensures that the thread is ready to receive a shutdown signal whenever we want to send it. 2. join it at shutdown, this guarantees that no innodb THD will exist after innobase_end(). this fixes crashes and memory leaks in main.mysqld_option_err (were innodb was started and then immediately shut down).
-
- 27 Jan, 2017 9 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
As noted in MDEV-8841, any test that kills the server must issue FLUSH TABLES, so that tables of crash-unsafe storage engines will not be corrupted. Consistently issue this statement after any call mtr.add_suppression() calls. Also, do not invoke shutdown_server directly, but use helpers instead.
-
Jan Lindström authored
Skip test if system can't do trim operation.
-
Marko Mäkelä authored
InnoDB would refuse to start up if there is a mismatch on the size of the system tablespace files. However, before this check is conducted, the system tablespace may already have been heavily modified. InnoDB should perform the size check as early as possible. recv_recovery_from_checkpoint_finish(): Move the recv_apply_hashed_log_recs() call to innobase_start_or_create_for_mysql(). innobase_start_or_create_for_mysql(): Test the mutex functionality before doing anything else. Use a compile_time_assert() for a sizeof() constraint. Check the size of the system tablespace as early as possible.
-
Marko Mäkelä authored
recv_scan_log_recs(): Remember if redo log apply is needed, even if starting up in innodb_read_only mode. recv_recovery_from_checkpoint_start_func(): Refuse innodb_read_only startup if redo log apply is needed.
-
Marko Mäkelä authored
-
Jan Lindström authored
Do wait only if innodb_num_page_compressed_trim_op shows that we have succeed to do at least few trim operations (and that will happen on insert if possible).
-
Jan Lindström authored
Added flush tables to avoid corruption of mtr/test_suppressions table.
-
Jan Lindström authored
-
- 26 Jan, 2017 5 commits
-
-
Vladislav Vaintroub authored
DeviceIoControl(IOCTL_STORAGE_QUERY_PROPERTY) needs volume handle, not the handle to ordinary file.
-
Vladislav Vaintroub authored
-
Alexey Botchkov authored
paths ending on [0]..[0] should be handled in conforming manner.
-
Jan Lindström authored
-
Jan Lindström authored
Both dict_foreign_find_index and dict_foreign_qualify_index did not consider virtual columns as possible foreign key columns and there was assertion to disable virtual columns. Fixed by also looking referencing and referenced column from virtual columns if needed.
-
- 25 Jan, 2017 9 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
This should be a non-functional change (apart from removing the redundant data field).
-
Marko Mäkelä authored
In the merge of MDEV-11623 from 10.1 to 10.2, we added a call to fsp_flags_try_adjust() which causes the data file to be opened via the buffer pool while fil_ibd_open() is holding another open handle to the file.
-
Jan Lindström authored
-
Jan Lindström authored
-
Jan Lindström authored
Problem was that on import with buffered input/output trim is not possible as we write several pages in one write.
-
Jan Lindström authored
fail in buildbot. Fixed test results.
-
Jan Lindström authored
-
- 24 Jan, 2017 3 commits
-
-
Igor Babaev authored
The fields st_select_lex::cond_pushed_into_where and st_select_lex::cond_pushed_into_having should be re-initialized for the unit specifying a derived table at every re-execution of the query that uses this derived table, because the result of condition pushdown may be different for different executions.
-
Alexey Botchkov authored
more fixes.
-
Alexey Botchkov authored
Typenames made into proper character case.
-