Query cancelation
Implementation of the statement cancellation feature has been committed into the version 2.1. It works via the monitoring tables – you just need to issue the DELETE command against the MON$STATEMENTS table (there’s no API implementation yet). It could be done by the application itself (using a secondary attachment) or by a server administrator. Examples:
DELETE FROM MON$STATEMENTS
WHERE MON$STATEMENT_ID = ?
or
DELETE FROM MON$STATEMENTS
WHERE MON$ATTACHMENT_ID = ? AND MON$STATEMENT_STATE = 1 -- active
The feature works for both SS and CS engines. The client application receives the GDS error code isc_cancelled.
Trusted authentication on Windows
Ability to authenticate Firebird users through a Windows domain is now available in the source tree and will be included into the v2.1 release. An up-to-date client library is required in order to use this feature. CURRENT_USER represents a logged in Windows domain user in this case. It’s expected that firebird.conf will introduce an option allowing you to choose between native-only, trusted-only and mixed authentication modes.