Skip to content
Snippets Groups Projects
Commit 632b868c authored by Robert Butora's avatar Robert Butora
Browse files

fix warnings (column cycle-counter type mismatch)

parent 6c88849c
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ void DbConn::dbExecQuery(string query) ...@@ -117,7 +117,7 @@ void DbConn::dbExecQuery(string query)
pqxx::result r{txn.exec(query)}; pqxx::result r{txn.exec(query)};
// column names // column names
for(/*pqxx::row::size_type*/size_t i=0; i<r.columns();i++) LOG_STREAM << r.column_name(i) << "\t"; for(pqxx::row::size_type i=0; i<r.columns();i++) LOG_STREAM << r.column_name(i) << "\t";
LOG_STREAM << endl; LOG_STREAM << endl;
...@@ -156,7 +156,7 @@ vector<string> DbConn::dbExecQuery2(string query) ...@@ -156,7 +156,7 @@ vector<string> DbConn::dbExecQuery2(string query)
// column names // column names
string columns; string columns;
for(/*pqxx::row::size_type*/size_t i=0; i<r.columns();i++) for(pqxx::row::size_type i=0; i<r.columns();i++)
{ {
columns += string{r.column_name(i)} + " | "; columns += string{r.column_name(i)} + " | ";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment