mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
enable if one suffix only is present
This commit is contained in:
parent
cd2e651c26
commit
e5c58636de
@ -449,6 +449,14 @@ backsql_db_open(
|
||||
0, 0, 0 );
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* should never happen! */
|
||||
assert( bd->be_nsuffix != NULL );
|
||||
|
||||
if ( BER_BVISNULL( &bd->be_nsuffix[ 1 ] ) ) {
|
||||
/* enable if only one suffix is defined */
|
||||
bi->sql_flags |= BSQLF_USE_SUBTREE_SHORTCUT;
|
||||
}
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "<==backsql_db_open(): "
|
||||
"test succeeded, schema map loaded\n", 0, 0, 0 );
|
||||
|
Loading…
Reference in New Issue
Block a user