This commit is contained in:
Mitch Freeman
2025-04-27 11:19:31 -03:00
parent 2174f41505
commit 8c6a99dc18
4 changed files with 47 additions and 19 deletions
+2 -2
View File
@@ -2300,7 +2300,7 @@ void Database::ConvertInventoryToNewUniqueId()
TransactionBegin();
uint32 index = 0;
uint32 batch_size = 1000;
const uint32 batch_size = 1000;
std::vector<InventoryRepository::Inventory> queue{};
queue.reserve(batch_size);
@@ -2321,4 +2321,4 @@ void Database::ConvertInventoryToNewUniqueId()
TransactionCommit();
LogInfo("Converted {} records", results.size());
}
}