s3/dbwrap_ctdb: set async_ctx to initialized
authorRalph Boehme <slow@samba.org>
Fri, 5 May 2017 20:30:32 +0000 (22:30 +0200)
committerRalph Boehme <slow@samba.org>
Sun, 7 May 2017 10:44:18 +0000 (12:44 +0200)
After initializing the async connection to ctdb we must set initialized
to true.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
source3/lib/dbwrap/dbwrap_ctdb.c

index 87ac8e17535f009c3b041533e689435fe4eb4b7e..cc89e93081a2390f10681670cad66cd0ea4d28ec 100644 (file)
@@ -109,6 +109,7 @@ static int ctdb_async_ctx_init_internal(TALLOC_CTX *mem_ctx,
                return ret;
        }
 
+       ctdb_async_ctx.initialized = true;
        return 0;
 }