Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handling of SQL rcodes in xlats
If RLM_SQL_ALT_QUERY is treated as an error, then redundant SQL xlats will try the same query again on each database host (with the same result). To handle switching to a different query if an INSERT fails due to key contraints, then the return value of the xlat, which is the number of affected rows should be checked instead.
- Loading branch information