commit | e50121ec96c2457c66501d7b6e1fcd539ee3c5e1 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Mon Oct 09 17:48:51 2017 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Wed Oct 11 22:32:19 2017 +0200 |
tree | 595186865f2da4260fb3291098519600b6184067 | |
parent | dd783056f7ede461dd27347fa86743a24c4c4eed [diff] |
refactor db_subscr_purge Use named parameters in the SQL statements. Use db_bind_* functions to drop some code dup. Adopt error handling (rc and logging) to match the other db functions: return -ENOENT for unknown subscriber, -EIO for SQL failures. Change-Id: Iad49d29b90a708c6cf55bfb3bcc02d9e29001a15