s3:dbwrap: Store warning thresholds in db_ctdb_ctx
authorChristof Schmitt <cs@samba.org>
Tue, 14 Jan 2014 21:17:32 +0000 (14:17 -0700)
committerVolker Lendecke <vl@samba.org>
Thu, 16 Jan 2014 08:18:45 +0000 (09:18 +0100)
commit32f232d9ad05d476933641a72cc5899d49cbb220
tree092e365893893f366c7e737c9f23f197a60454ae
parentef239302ed8e190fe8cb5cee1a4791f7a9959980
s3:dbwrap: Store warning thresholds in db_ctdb_ctx

Avoid the parameter lookup for the warning thresholds in the hot code
path by reading them in db_open_ctdb and storing them in the
db_ctdb_ctx.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/dbwrap/dbwrap_ctdb.c