Why KeePass 2.x resets in-memory protection options?
Important: the following describes a behavior related to in-memory protection, which has nothing to do with database encryption. All database fields are encrypted; see the Security page for details. For all fields except the password field, in-memory protection is turned off automatically when the fields are searched or displayed as plain text. If you want data to be in-memory protected, you additionally must turn on hiding by asterisks for the column and never search this field type. In-memory protection is useless otherwise. If you don’t hide by asterisks or search, your data is clear in memory, no matter whether the in-memory protection is on or off.