Skip to content

Commit f159061

Browse files
committed
Merge 10.4 into 10.5
2 parents f33e57a + ad0f0d2 commit f159061

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

cmake/make_dist.cmake.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ IF(GIT_EXECUTABLE)
4343
MESSAGE(STATUS "Running git checkout-index")
4444
EXECUTE_PROCESS(
4545
COMMAND "${GIT_EXECUTABLE}" checkout-index --all --prefix=${PACKAGE_DIR}/
46+
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
47+
RESULT_VARIABLE RESULT
48+
)
49+
IF(NOT RESULT EQUAL 0)
50+
SET(GIT_EXECUTABLE)
51+
ENDIF()
52+
EXECUTE_PROCESS(
4653
COMMAND "${GIT_EXECUTABLE}" submodule foreach "${GIT_EXECUTABLE} checkout-index --all --prefix=${PACKAGE_DIR}/$path/"
4754
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
4855
RESULT_VARIABLE RESULT

storage/innobase/log/log0recv.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2640,8 +2640,6 @@ void recv_sys_t::apply(bool last_batch)
26402640
srv_operation == SRV_OPERATION_RESTORE ||
26412641
srv_operation == SRV_OPERATION_RESTORE_EXPORT;
26422642

2643-
ut_d(recv_no_log_write = recv_no_ibuf_operations);
2644-
26452643
mtr_t mtr;
26462644

26472645
if (!pages.empty())
@@ -3573,7 +3571,8 @@ recv_recovery_from_checkpoint_start(lsn_t flush_lsn)
35733571
mysql_mutex_unlock(&log_sys.mutex);
35743572

35753573
ib::error() << "Recovered only to lsn:"
3576-
<< recv_sys.recovered_lsn << " checkpoint_lsn: " << checkpoint_lsn;
3574+
<< recv_sys.recovered_lsn
3575+
<< " checkpoint_lsn: " << checkpoint_lsn;
35773576

35783577
return(DB_ERROR);
35793578
}
@@ -3606,6 +3605,8 @@ recv_recovery_from_checkpoint_start(lsn_t flush_lsn)
36063605

36073606
recv_sys.apply_log_recs = true;
36083607
recv_no_ibuf_operations = false;
3608+
ut_d(recv_no_log_write = srv_operation == SRV_OPERATION_RESTORE
3609+
|| srv_operation == SRV_OPERATION_RESTORE_EXPORT);
36093610

36103611
mutex_exit(&recv_sys.mutex);
36113612

0 commit comments

Comments
 (0)