]> git.sur5r.net Git - openldap/commitdiff
ITS#7499 fix typos
authorHoward Chu <hyc@openldap.org>
Fri, 25 Jan 2013 14:54:43 +0000 (14:54 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 25 Jan 2013 14:54:43 +0000 (14:54 +0000)
servers/slapd/back-sql/config.c

index 3d19a3b2f323ee4d8ffda35d0ba50edfe51396d8..8e1e93f08f02dcd14aeed6d737473792bc237f01 100644 (file)
@@ -425,19 +425,19 @@ sql_cf_gen( ConfigArgs *c )
                if ( c->value_int )
                        bi->sql_flags |= BSQLF_FETCH_ALL_ATTRS;
                else
-                       bi->sql_flags &= BSQLF_FETCH_ALL_ATTRS;
+                       bi->sql_flags &= ~BSQLF_FETCH_ALL_ATTRS;
                break;
        case BSQL_CHECK_SCHEMA:
                if ( c->value_int )
                        bi->sql_flags |= BSQLF_CHECK_SCHEMA;
                else
-                       bi->sql_flags &= BSQLF_CHECK_SCHEMA;
+                       bi->sql_flags &= ~BSQLF_CHECK_SCHEMA;
                break;
        case BSQL_AUTOCOMMIT:
                if ( c->value_int )
                        bi->sql_flags |= BSQLF_AUTOCOMMIT_ON;
                else
-                       bi->sql_flags &= BSQLF_AUTOCOMMIT_ON;
+                       bi->sql_flags &= ~BSQLF_AUTOCOMMIT_ON;
                break;
        case BSQL_BASE_OBJECT:
                if ( c->be->be_nsuffix == NULL ) {