Skip to content

Commit

Permalink
Use correct data type
Browse files Browse the repository at this point in the history
I use uint64_t elsewhere, so it should be used here, too.
  • Loading branch information
bartecargo committed Nov 14, 2018
1 parent fc86f1e commit 97afcc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlgrep/sqlgrep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ string enquote(string_view const val)

uint64_t get_number_of_rows(session & sql, string_view const schema, string_view const table, string_view const column, unordered_map<string, uint64_t> & cache)
{
int count;
uint64_t count;
stringstream query;
query << "select count(*) from " << enquote(schema) << "." << enquote(table);
auto const query_str = query.str();
Expand Down

0 comments on commit 97afcc8

Please sign in to comment.