Attachment.h (Firebird-3.0.2.32703-0.tar.bz2) | : | Attachment.h (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 275 | skipping to change at line 275 | |||
vec<Lock*>* att_compatibility_table; // hash table of compatib le locks | vec<Lock*>* att_compatibility_table; // hash table of compatib le locks | |||
Validation* att_validation; | Validation* att_validation; | |||
Firebird::PathName att_working_directory; // Current working direct ory is cached | Firebird::PathName att_working_directory; // Current working direct ory is cached | |||
Firebird::PathName att_filename; // alias used to attach the database | Firebird::PathName att_filename; // alias used to attach the database | |||
const Firebird::TimeStamp att_timestamp; // Connection date and ti me | const Firebird::TimeStamp att_timestamp; // Connection date and ti me | |||
Firebird::StringMap att_context_vars; // Context variables for the conn ection | Firebird::StringMap att_context_vars; // Context variables for the conn ection | |||
Firebird::Stack<DdlTriggerContext> ddlTriggersContext; // Context variab les for DDL trigger event | Firebird::Stack<DdlTriggerContext> ddlTriggersContext; // Context variab les for DDL trigger event | |||
Firebird::string att_network_protocol; // Network protocol used by clien t for connection | Firebird::string att_network_protocol; // Network protocol used by clien t for connection | |||
Firebird::string att_remote_address; // Protocol-specific address of r emote client | Firebird::string att_remote_address; // Protocol-specific address of r emote client | |||
SLONG att_remote_pid; // Process id of remote client | SLONG att_remote_pid; // Process id of remote client | |||
ULONG att_remote_flags; // Flags specific for server/client link | ||||
Firebird::PathName att_remote_process; // Process name of remote client | Firebird::PathName att_remote_process; // Process name of remote client | |||
Firebird::string att_client_version; // Version of the client library | Firebird::string att_client_version; // Version of the client library | |||
Firebird::string att_remote_protocol; // Details about the remote proto col | Firebird::string att_remote_protocol; // Details about the remote proto col | |||
Firebird::string att_remote_host; // Host name of remote cl ient | Firebird::string att_remote_host; // Host name of remote cl ient | |||
Firebird::string att_remote_os_user; // OS user name of remote client | Firebird::string att_remote_os_user; // OS user name of remote client | |||
RandomGenerator att_random_generator; // Random bytes generator | RandomGenerator att_random_generator; // Random bytes generator | |||
Lock* att_temp_pg_lock; // temporary page space ID lock | Lock* att_temp_pg_lock; // temporary page space ID lock | |||
DSqlCache att_dsql_cache; // DSQL cache locks | DSqlCache att_dsql_cache; // DSQL cache locks | |||
Firebird::SortedArray<void*> att_udf_pointers; | Firebird::SortedArray<void*> att_udf_pointers; | |||
dsql_dbb* att_dsql_instance; | dsql_dbb* att_dsql_instance; | |||
skipping to change at line 519 | skipping to change at line 520 | |||
~AttachmentsRefHolder() | ~AttachmentsRefHolder() | |||
{ | { | |||
while (m_attachments.hasData()) | while (m_attachments.hasData()) | |||
{ | { | |||
debugHelper(FB_FUNCTION); | debugHelper(FB_FUNCTION); | |||
m_attachments.pop()->release(); | m_attachments.pop()->release(); | |||
} | } | |||
} | } | |||
bool isEmpty() const | ||||
{ | ||||
return m_attachments.isEmpty(); | ||||
} | ||||
bool hasData() const | ||||
{ | ||||
return m_attachments.hasData(); | ||||
} | ||||
void add(StableAttachmentPart* jAtt) | void add(StableAttachmentPart* jAtt) | |||
{ | { | |||
if (jAtt) | if (jAtt) | |||
{ | { | |||
jAtt->addRef(); | jAtt->addRef(); | |||
m_attachments.add(jAtt); | m_attachments.add(jAtt); | |||
} | } | |||
} | } | |||
void remove(Iterator& iter) | void remove(Iterator& iter) | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added |