aboutsummaryrefslogtreecommitdiff
path: root/src/engine/logging.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-04-16 09:40:18 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-04-19 23:12:55 -0500
commit941c47e5a3f57ce9626b447a95740b1444e69343 (patch)
tree6225b78f5fc7c8f88a2abf187a6a76d45b36ec26 /src/engine/logging.cpp
parentd32f770ca05748df9e356444c7e617d5eeedb60c (diff)
downloadwix-941c47e5a3f57ce9626b447a95740b1444e69343.tar.gz
wix-941c47e5a3f57ce9626b447a95740b1444e69343.tar.bz2
wix-941c47e5a3f57ce9626b447a95740b1444e69343.zip
Detect a package as cached if any of its payloads exist.
Detect is supposed to be fast, so it can't fully verify every payload for every package. The engine was wasting its time by trying to verify file sizes without the hash. Even worse, it was making decisions during planning based on that insufficient verification. Contributes to #3640
Diffstat (limited to 'src/engine/logging.cpp')
-rw-r--r--src/engine/logging.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/engine/logging.cpp b/src/engine/logging.cpp
index 67f39c85..fd2343fa 100644
--- a/src/engine/logging.cpp
+++ b/src/engine/logging.cpp
@@ -426,23 +426,6 @@ extern "C" LPCSTR LoggingPackageRegistrationStateToString(
426 } 426 }
427} 427}
428 428
429extern "C" LPCSTR LoggingCacheStateToString(
430 __in BURN_CACHE_STATE cacheState
431 )
432{
433 switch (cacheState)
434 {
435 case BURN_CACHE_STATE_NONE:
436 return "None";
437 case BURN_CACHE_STATE_PARTIAL:
438 return "Partial";
439 case BURN_CACHE_STATE_COMPLETE:
440 return "Complete";
441 default:
442 return "Invalid";
443 }
444}
445
446extern "C" LPCSTR LoggingMsiFeatureStateToString( 429extern "C" LPCSTR LoggingMsiFeatureStateToString(
447 __in BOOTSTRAPPER_FEATURE_STATE featureState 430 __in BOOTSTRAPPER_FEATURE_STATE featureState
448 ) 431 )