Skip to content

Commit

Permalink
Merge pull request #181 from miyurud/fix-aug25-23
Browse files Browse the repository at this point in the history
Fix startup sql error
  • Loading branch information
miyurud authored Aug 25, 2023
2 parents e7071b2 + e02803b commit ef169a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server/JasmineGraphServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2631,6 +2631,11 @@ void JasmineGraphServer::addInstanceDetailsToPerformanceDB(std::string host, std
}

hostString = hostString.substr(0, hostString.length() - 1);

if (hostString.length() == 0) {
return;
}

insertPlaceQuery = insertPlaceQuery + hostString;

this->performanceSqlite.runInsert(insertPlaceQuery);
Expand Down

0 comments on commit ef169a9

Please sign in to comment.