Commit f1590615 authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.4 into 10.5

parents f33e57a9 ad0f0d2b
...@@ -43,6 +43,13 @@ IF(GIT_EXECUTABLE) ...@@ -43,6 +43,13 @@ IF(GIT_EXECUTABLE)
MESSAGE(STATUS "Running git checkout-index") MESSAGE(STATUS "Running git checkout-index")
EXECUTE_PROCESS( EXECUTE_PROCESS(
COMMAND "${GIT_EXECUTABLE}" checkout-index --all --prefix=${PACKAGE_DIR}/ COMMAND "${GIT_EXECUTABLE}" checkout-index --all --prefix=${PACKAGE_DIR}/
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
RESULT_VARIABLE RESULT
)
IF(NOT RESULT EQUAL 0)
SET(GIT_EXECUTABLE)
ENDIF()
EXECUTE_PROCESS(
COMMAND "${GIT_EXECUTABLE}" submodule foreach "${GIT_EXECUTABLE} checkout-index --all --prefix=${PACKAGE_DIR}/$path/" COMMAND "${GIT_EXECUTABLE}" submodule foreach "${GIT_EXECUTABLE} checkout-index --all --prefix=${PACKAGE_DIR}/$path/"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
RESULT_VARIABLE RESULT RESULT_VARIABLE RESULT
......
...@@ -2640,8 +2640,6 @@ void recv_sys_t::apply(bool last_batch) ...@@ -2640,8 +2640,6 @@ void recv_sys_t::apply(bool last_batch)
srv_operation == SRV_OPERATION_RESTORE || srv_operation == SRV_OPERATION_RESTORE ||
srv_operation == SRV_OPERATION_RESTORE_EXPORT; srv_operation == SRV_OPERATION_RESTORE_EXPORT;
ut_d(recv_no_log_write = recv_no_ibuf_operations);
mtr_t mtr; mtr_t mtr;
if (!pages.empty()) if (!pages.empty())
...@@ -3573,7 +3571,8 @@ recv_recovery_from_checkpoint_start(lsn_t flush_lsn) ...@@ -3573,7 +3571,8 @@ recv_recovery_from_checkpoint_start(lsn_t flush_lsn)
mysql_mutex_unlock(&log_sys.mutex); mysql_mutex_unlock(&log_sys.mutex);
ib::error() << "Recovered only to lsn:" ib::error() << "Recovered only to lsn:"
<< recv_sys.recovered_lsn << " checkpoint_lsn: " << checkpoint_lsn; << recv_sys.recovered_lsn
<< " checkpoint_lsn: " << checkpoint_lsn;
return(DB_ERROR); return(DB_ERROR);
} }
...@@ -3606,6 +3605,8 @@ recv_recovery_from_checkpoint_start(lsn_t flush_lsn) ...@@ -3606,6 +3605,8 @@ recv_recovery_from_checkpoint_start(lsn_t flush_lsn)
recv_sys.apply_log_recs = true; recv_sys.apply_log_recs = true;
recv_no_ibuf_operations = false; recv_no_ibuf_operations = false;
ut_d(recv_no_log_write = srv_operation == SRV_OPERATION_RESTORE
|| srv_operation == SRV_OPERATION_RESTORE_EXPORT);
mutex_exit(&recv_sys.mutex); mutex_exit(&recv_sys.mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment