Fix a few warnings
This commit is contained in:
parent
8a9cbce1cc
commit
1a1bbd0838
3 changed files with 4 additions and 3 deletions
|
|
@ -77,7 +77,7 @@ void PgSequenceContainer::loadAll(Pgsql::Connection &conn)
|
|||
q += ", start_value, increment_by, max_value, \n"
|
||||
" min_value, cache_value, is_cycled";
|
||||
}
|
||||
q += "\nFROM " + std::string(fqn.data(), static_cast<size_t>(fqn.count()));
|
||||
q += "\nFROM " + std::string(fqn.data(), static_cast<size_t>(fqn.size()));
|
||||
auto && res = conn.query(q.c_str());
|
||||
if (res.rows() == 1) {
|
||||
Pgsql::Row row(res, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue