Skip to content

Commit e11f62f

Browse files
committed
Keep the password case same | Fix failing tests
Signed-off-by: mkhullar <mohit.khullar@gmail.com>
1 parent f3a7131 commit e11f62f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

db/db_access.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,8 @@ int comdb2_check_vtab_access(sqlite3 *db, sqlite3_module *module)
457457
return SQLITE_OK;
458458
}
459459

460-
if (!gbl_vtab_externalauth_strict && !(module->access_flag & CDB2_STRICT)) {
460+
if (gbl_uses_externalauth && gbl_vtab_externalauth && !gbl_vtab_externalauth_strict &&
461+
!(module->access_flag & CDB2_STRICT)) {
461462
return SQLITE_OK;
462463
}
463464

0 commit comments

Comments
 (0)