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

A little optimization, suggested by Alex.

This commit is contained in:
Vlad Khorsun 2023-10-27 21:50:51 +03:00
parent 27502800e7
commit bc8ba56e72

View File

@ -10966,6 +10966,7 @@ bool restore(BurpGlobals* tdgbl, Firebird::IProvider* provider, const TEXT* file
// Collect system fields
{
Firebird::IRequest* req_handle = nullptr;
tdgbl->systemFields.setSortMode(Firebird::FB_ARRAY_SORT_MANUAL);
FOR(REQUEST_HANDLE req_handle)
X IN RDB$FIELDS WITH
@ -10981,6 +10982,7 @@ bool restore(BurpGlobals* tdgbl, Firebird::IProvider* provider, const TEXT* file
END_ERROR;
MISC_release_request_silent(req_handle);
tdgbl->systemFields.sort();
}
while (get_attribute(&attribute, tdgbl) != att_end)