mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 20:03:03 +01:00
Simpified fix for CORE-1775 : Improve performance of security checking
This commit is contained in:
parent
78e30c68e9
commit
4505e0a611
@ -468,7 +468,7 @@ SecurityClass* SCL_get_class(const TEXT* _string)
|
||||
s_class;
|
||||
s_class = s_class->scl_next)
|
||||
{
|
||||
if (string == s_class->scl_name) {
|
||||
if (!strcmp(string.c_str(), s_class->scl_name)) {
|
||||
return s_class;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user