1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

feat(ddl,partitions): better partition-related commands logging

This commit is contained in:
drrtuy
2024-08-23 18:24:48 +00:00
committed by Leonid Fedorov
parent 4b411b3968
commit 7828ded2d2
7 changed files with 35 additions and 6 deletions

View File

@ -82,7 +82,8 @@ RestorePartitionProcessor::DDLResult RestorePartitionProcessor::processPackageIn
CalpontSystemCatalog::DictOIDList dictOIDList;
std::string processName("DDLProc");
string stmt = restorePartitionStmt->fSql + "|" + restorePartitionStmt->fTableName->fSchema + "|";
auto stmt = formatStatementString(restorePartitionStmt->fSql, restorePartitionStmt->fTableName->fSchema,
restorePartitionStmt->fTableName->fName, restorePartitionStmt->fPartitions);
SQLLogger logger(stmt, fDDLLoggingId, restorePartitionStmt->fSessionID, txnID.id);
uint32_t processID = 0;