aboutsummaryrefslogtreecommitdiff
path: root/src/ca/scadb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ca/scadb.cpp')
-rw-r--r--src/ca/scadb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ca/scadb.cpp b/src/ca/scadb.cpp
index 9f9efca2..68f7b10b 100644
--- a/src/ca/scadb.cpp
+++ b/src/ca/scadb.cpp
@@ -385,7 +385,7 @@ static HRESULT SchedCreateDatabase(
385 hr = SqlDatabaseExists(psd->wzServer, psd->wzInstance, psd->wzDatabase, psd->fUseIntegratedAuth, psd->scau.wzName, psd->scau.wzPassword, NULL); 385 hr = SqlDatabaseExists(psd->wzServer, psd->wzInstance, psd->wzDatabase, psd->fUseIntegratedAuth, psd->scau.wzName, psd->scau.wzPassword, NULL);
386 if (S_FALSE == hr) 386 if (S_FALSE == hr)
387 { 387 {
388 hr = WcaDoDeferredAction(L"RollbackCreateDatabase", pwzCustomActionData, COST_SQL_CREATEDB); 388 hr = WcaDoDeferredAction(CUSTOM_ACTION_DECORATION(L"RollbackCreateDatabase"), pwzCustomActionData, COST_SQL_CREATEDB);
389 ExitOnFailure(hr, "Failed to schedule RollbackCreateDatabase action"); 389 ExitOnFailure(hr, "Failed to schedule RollbackCreateDatabase action");
390 } 390 }
391 391
@@ -444,7 +444,7 @@ static HRESULT SchedCreateDatabase(
444 } 444 }
445 445
446 // schedule the CreateDatabase action 446 // schedule the CreateDatabase action
447 hr = WcaDoDeferredAction(L"CreateDatabase", pwzCustomActionData, COST_SQL_CREATEDB); 447 hr = WcaDoDeferredAction(CUSTOM_ACTION_DECORATION(L"CreateDatabase"), pwzCustomActionData, COST_SQL_CREATEDB);
448 ExitOnFailure(hr, "Failed to schedule CreateDatabase action"); 448 ExitOnFailure(hr, "Failed to schedule CreateDatabase action");
449 449
450LExit: 450LExit:
@@ -491,7 +491,7 @@ HRESULT SchedDropDatabase(
491 hr = WcaWriteStringToCaData(wzPassword, &pwzCustomActionData); 491 hr = WcaWriteStringToCaData(wzPassword, &pwzCustomActionData);
492 ExitOnFailure(hr, "Failed to add user password to CustomActionData"); 492 ExitOnFailure(hr, "Failed to add user password to CustomActionData");
493 493
494 hr = WcaDoDeferredAction(L"DropDatabase", pwzCustomActionData, COST_SQL_DROPDB); 494 hr = WcaDoDeferredAction(CUSTOM_ACTION_DECORATION(L"DropDatabase"), pwzCustomActionData, COST_SQL_DROPDB);
495 ExitOnFailure(hr, "Failed to schedule DropDatabase action"); 495 ExitOnFailure(hr, "Failed to schedule DropDatabase action");
496 496
497LExit: 497LExit: