Skip to content

Commit

Permalink
once more...
Browse files Browse the repository at this point in the history
  • Loading branch information
alanking committed Sep 16, 2023
1 parent 458a391 commit 9552c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/database/src/db_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ namespace
stmt.bind(0, _rule_id);

for (auto result = nanodbc::execute(stmt); result.next();) {
const auto& option_name = result.get<std::string>(0);
const auto& option_name = result.get_ref<const std::string&>(0);

if (option_name == irods::KW_CFG_PAM_PASSWORD_MIN_TIME) {
const auto& option_value = result.get_ref<const std::string&>(1);
Expand Down

0 comments on commit 9552c1f

Please sign in to comment.