Skip to content

Commit

Permalink
fix confusing message in rlm_sql when user mangles query
Browse files Browse the repository at this point in the history
830c3de missed fixing this too, but changed from RDEBUG to WARN to match the client_query warning

Manual merge of #5465
  • Loading branch information
alandekok committed Nov 21, 2024
1 parent e04d52f commit e81e3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_sql/rlm_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ static rlm_rcode_t mod_checksimul(void *instance, REQUEST * request)

num_rows = (inst->module->sql_num_fields)(handle, inst->config);
if (num_rows < 8) {
RDEBUG("Too few rows returned. Please do not edit 'simul_verify_query'");
WARN("SELECT returned too few fields. Please do not edit 'simul_verify_query'");
rcode = RLM_MODULE_FAIL;

goto finish;
Expand Down

0 comments on commit e81e3de

Please sign in to comment.