dsdb-operational: Avoid doing the ldb_attr_cmp if bypass flag is not set
commite1d50a6b24012b42f9987b439a4b94cd8db79999
authorMatthieu Patou <mat@matws.net>
Thu, 27 Dec 2012 08:01:49 +0000 (27 00:01 -0800)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 Jan 2013 16:10:32 +0000 (17 17:10 +0100)
tree522de5ee1d39f9ec8e73c43981b854dfcea42080
parenta0faf16ae9aefc4963b2583970509b1b23e27ce1
dsdb-operational: Avoid doing the ldb_attr_cmp if bypass flag is not set

Most of the time this flag is not set and so we can avoid the strcasecmp
in ldb_attr_cmp()

Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jan 17 17:10:32 CET 2013 on sn-devel-104
source4/dsdb/samdb/ldb_modules/operational.c