Remove obsolete debug assert from PamAuth
Would be always hit in debug mode.
This commit is contained in:
parent
5ebae9be90
commit
098ffde13c
@ -40,8 +40,6 @@ const string FIELD_HAS_PROXY = "proxy_grant";
|
||||
const string FIELD_DB = "db";
|
||||
const string FIELD_ROLE = "role";
|
||||
|
||||
const int NUM_FIELDS = 6;
|
||||
|
||||
const char* SQLITE_OPEN_FAIL = "Failed to open SQLite3 handle for file '%s': '%s'";
|
||||
const char* SQLITE_OPEN_OOM = "Failed to allocate memory for SQLite3 handle for file '%s'.";
|
||||
|
||||
|
@ -36,7 +36,6 @@ extern const string FIELD_DEF_ROLE;
|
||||
extern const string FIELD_HAS_PROXY;
|
||||
extern const string FIELD_IS_ROLE;
|
||||
extern const string FIELD_ROLE;
|
||||
extern const int NUM_FIELDS;
|
||||
|
||||
extern const char* SQLITE_OPEN_FAIL;
|
||||
extern const char* SQLITE_OPEN_OOM;
|
||||
|
@ -491,7 +491,6 @@ void PamInstance::diagnostic(DCB* dcb)
|
||||
|
||||
static int diag_cb_json(json_t* data, int columns, char** row, char** field_names)
|
||||
{
|
||||
mxb_assert(columns == NUM_FIELDS);
|
||||
json_t* obj = json_object();
|
||||
for (int i = 0; i < columns; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user