struct ctdb_db_context *db;
struct ctdb_node *node = ctdb->nodes[ctdb->pnn];
struct ctdb_client *client = NULL;
- bool clear_if_first = (tdb_flags & TDB_CLEAR_IF_FIRST);
-
- if (persistent == clear_if_first) {
- DEBUG(DEBUG_ERR, ("ERROR: DB Attach to %s: %s\n", db_name, persistent
- ? "CLEAR_IF_FIRST is not allowed for persistent databases"
- : "non-persistent databases need CLEAR_IF_FIRST"));
- return -1;
- }
if (ctdb->tunable.allow_client_db_attach == 0) {
DEBUG(DEBUG_ERR, ("DB Attach to database %s denied by tunable "