diff --git a/dCommon/BrickByBrickFix.cpp b/dCommon/BrickByBrickFix.cpp index 434b63a4..dfc2457f 100644 --- a/dCommon/BrickByBrickFix.cpp +++ b/dCommon/BrickByBrickFix.cpp @@ -72,7 +72,6 @@ uint32_t BrickByBrickFix::TruncateBrokenBrickByBrickXml() { } if (!document->Parse(completeUncompressedModel.c_str(), completeUncompressedModel.size()) == tinyxml2::XML_SUCCESS) { - // Change this to just look for near the end of the function. Should rely on human interference for this... if (completeUncompressedModel.find( "", completeUncompressedModel.length() >= 15 ? completeUncompressedModel.length() - 15 : 0) == std::string::npos diff --git a/dDatabase/Database.cpp b/dDatabase/Database.cpp index cd3b648e..c301cbd9 100644 --- a/dDatabase/Database.cpp +++ b/dDatabase/Database.cpp @@ -91,5 +91,7 @@ bool Database::GetAutoCommit() { } void Database::SetAutoCommit(bool value) { + // TODO This should not just access a pointer. A future PR should update this + // to check for null and throw an error if the connection is not valid. Database::con->setAutoCommit(value); }