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

When we asked for attachment's properties we should use attachment's properties, not something else.

This commit is contained in:
hvlad 2010-05-06 17:53:11 +00:00
parent c06b972bd8
commit 2645818346

View File

@ -980,7 +980,7 @@ bool DatabaseSnapshot::putAttachment(thread_db* tdbb, const Jrd::Attachment* att
// remote process name // remote process name
record.storeString(f_mon_att_remote_process, attachment->att_remote_process); record.storeString(f_mon_att_remote_process, attachment->att_remote_process);
// charset // charset
record.storeInteger(f_mon_att_charset_id, tdbb->getCharSet()); record.storeInteger(f_mon_att_charset_id, attachment->att_charset);
// timestamp // timestamp
record.storeTimestamp(f_mon_att_timestamp, attachment->att_timestamp); record.storeTimestamp(f_mon_att_timestamp, attachment->att_timestamp);
// garbage collection flag // garbage collection flag