8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 19:23:03 +01:00

Simpified fix for CORE-1775 : Improve performance of security checking

This commit is contained in:
hvlad 2008-03-06 19:06:40 +00:00
parent 78e30c68e9
commit 4505e0a611

View File

@ -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;
}
}