Skip to content

Commit 2bf6198

Browse files
committed
Fixed CORE-5966: Slow performance when executing SQL scripts as non-SYSDBA user
1 parent bf5b3ae commit 2bf6198

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/jrd/scl.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ SecurityClass::flags_t SCL_get_object_mask(const int object_type)
12971297
if (!*object_name)
12981298
return 0;
12991299

1300-
const Jrd::SecurityClass* s_class = SCL_recompute_class(tdbb, object_name);
1300+
const Jrd::SecurityClass* s_class = SCL_get_class(tdbb, object_name);
13011301
if (s_class)
13021302
return s_class->scl_flags;
13031303

0 commit comments

Comments
 (0)